/**
 * Modal Styles
 * CSS for modal dialogs and overlays
 */

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

.modal-overlay.show {
    display: block;
}

/* Modal container */
.modal-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

/* Modal content */
.modal-content {
    margin: auto;
    position: relative;
    z-index: 10;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 32rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Hidden by default */
.hidden {
    display: none !important;
}

/* Confirmation modal specific styles */
.confirm-delete-modal .modal-overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

/* Animation classes */
.fade-out {
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: scale(0.95);
}
