/* components/modal.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 8px;
    width: 90%;
    max-width: 80%;
    max-height: 90%;
    overflow-y: auto;
}

.close {
    float: right;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}

/* Aktionszeile am unteren Ende eines Modal-Formulars */
.modal-form-actions {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

/* Bestätigungsdialog (confirmModal aus modal.js) */
.confirm-modal-message {
    white-space: pre-wrap;
    margin: 1rem 0;
    color: var(--color-text);
}

.confirm-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        /* margin: 10% auto; */
    }
}