/* Modal Hintergrund */
.mymodal {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Ausgegrauter Hintergrund */
    padding: 20px;
    box-sizing: border-box;
}

/* Inhalt des Modals - wird zentral auf der Seite positioniert */
.modal-content {
    background-color: white;
    margin: auto;
    padding: 20px;
    border-radius: 5px;
    width: 300px;  /* Du kannst die Größe nach Bedarf anpassen */
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
    position: relative; /* Für den Schließen-Button */
}

/* Schließen-Button */
.close-btn {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
}

/* Schließen-Button beim Hover */
.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Buttons */
button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 10px 5px;
    cursor: pointer;
    border-radius: 5px;
}

/* Abbrechen-Button */
#modal-cancel-btn {
    background-color: #f44336;
}

/* Bestätigungs-Button */
#modal-confirm-btn {
    background-color: #4CAF50;
}

button:hover {
    opacity: 0.8;
}
