
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100001;
}

.modal-overlay.hidden {
    display: none !important;
}

.modal-container {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

/* Notifications Dialog Specific Styles */
.notifications-dialog {
    background: var(--bg-secondary, #292942);
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--border-primary, #3a3a5c);
    color: #fff;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
    from { transform: translate(-50%, calc(-50% + 20px)); opacity: 0; }
    to { transform: translate(-50%, -50%); opacity: 1; }
}

.notification-tab:hover {
    background: rgba(255,255,255,0.05) !important;
}

.notification-item:hover {
    background: var(--bg-quaternary, #3a3a5c) !important;
}

.history-filter-btn:hover {
    border-color: var(--accent-primary, #5865f2) !important;
}

/* Scrollbar for Notifications */
.notifications-list::-webkit-scrollbar,
.notifications-detail::-webkit-scrollbar {
    width: 8px;
}

.notifications-list::-webkit-scrollbar-track,
.notifications-detail::-webkit-scrollbar-track {
    background: transparent;
}

.notifications-list::-webkit-scrollbar-thumb,
.notifications-detail::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
}

.notifications-list::-webkit-scrollbar-thumb:hover,
.notifications-detail::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.2);
}
