/* /shared/_components/Modal/Modal.css */
#modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(29, 41, 57, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    opacity: 1;
    transition: opacity 0.3s ease;
}

#modal-overlay.modal-hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%;
    max-width: 500px;
    transform: scale(1);
    transition: transform 0.3s ease;
    overflow: hidden; /* To contain header/footer */
}

#modal-overlay.modal-hidden .modal-content {
    transform: scale(0.95);
}

.modal-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: var(--text-dark);
}
.modal-close-btn {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 30px;
}
.modal-body p {
    color: #7f8c8d;
    line-height: 1.6;
    margin: 0;
}

.modal-footer {
    padding: 15px 30px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}
.modal-footer .btn-close {
    width: auto;
    padding: 10px 30px;
    background: #7f8c8d;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: background-color 0.2s ease;
    font-weight: 500;
}
.modal-footer .btn-close:hover {
    background: #95a5a6;
}