/* Notifications Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg, #ffffff);
    color: var(--text, #1f2328);
    width: 90%;
    max-width: 400px;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-message {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-soft, #57606a);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Modal Buttons */
.modal-btn {
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}

.modal-btn-confirm {
    background: #DFAF2B;
    color: #fff;
}

.modal-btn-confirm:hover {
    background: #c99d25;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(223, 175, 43, 0.3);
}

.modal-btn-cancel {
    background: #f1f2f4;
    color: #57606a;
}

.modal-btn-cancel:hover {
    background: #e8eaed;
    color: #1f2328;
}

/* Dark Mode Overrides (if not handled by vars) */
body.dark-mode .modal-container {
    background: #1c2128;
    color: #adbac7;
    border-color: #444c56;
}

body.dark-mode .modal-message {
    color: #768390;
}

body.dark-mode .modal-btn-cancel {
    background: #2d333b;
    color: #adbac7;
}

body.dark-mode .modal-btn-cancel:hover {
    background: #373e47;
    color: #cdd9e5;
}

/* Glassmorphism for extra premium feel */
@supports (backdrop-filter: blur(10px)) {
    .modal-container {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(10px);
    }
    
    body.dark-mode .modal-container {
        background: rgba(28, 33, 40, 0.85);
    }
}
