/**
 * Everyday Enterprise Suite — Universal Full-Screen Notification Center Design System
 * High-Contrast Dark Glassmorphic Executive Command Center
 */

/* Notification Bell & Topbar Button */
.everyday-notif-btn,
#notifBellBtn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0;
    text-decoration: none;
    flex-shrink: 0;
}

.everyday-notif-btn:hover,
#notifBellBtn:hover {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.4);
    color: #f59e0b;
    transform: translateY(-1px);
}

.everyday-notif-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 10px;
    border: 1.5px solid #090e17;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    animation: pulseNotif 2s infinite;
}

.everyday-notif-badge.d-none {
    display: none !important;
}

@keyframes pulseNotif {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* =========================================================================
   Executive Full-Screen Notification Modal Center Overlay
   ========================================================================= */
.everyday-notif-modal-backdrop {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(2, 6, 15, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    z-index: 100099 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    animation: notifBackdropFade 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.everyday-notif-modal-backdrop.open {
    display: flex !important;
}

@keyframes notifBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.everyday-notif-modal-dialog {
    width: 95vw !important;
    max-width: 1160px !important;
    height: 88vh !important;
    max-height: 840px !important;
    background: #080e1b !important;
    border: 1px solid rgba(56, 189, 248, 0.35) !important;
    border-radius: 24px !important;
    box-shadow: 0 35px 120px rgba(0, 0, 0, 0.95), 0 0 40px rgba(56, 189, 248, 0.12) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    animation: notifScaleUp 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes notifScaleUp {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Modal Header */
.everyday-notif-modal-header {
    padding: 18px 26px !important;
    background: #060b16 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

.everyday-notif-header-title {
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

.everyday-notif-search-box {
    position: relative !important;
    width: 280px !important;
    max-width: 100% !important;
}

.everyday-notif-search-box input {
    background: #0d1527 !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 7px 12px 7px 36px !important;
    font-size: 0.82rem !important;
    width: 100% !important;
    outline: none !important;
    transition: all 0.15s ease !important;
}

.everyday-notif-search-box input:focus {
    border-color: #38bdf8 !important;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.3) !important;
}

.everyday-notif-search-box i {
    position: absolute !important;
    left: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #64748b !important;
    font-size: 0.85rem !important;
    pointer-events: none !important;
}

/* Mobile Channel Dropdown & Filter Bar (hidden by default on desktop & tablet) */
.everyday-notif-mobile-filter-bar {
    display: none !important;
}

.everyday-notif-channel-dropdown {
    display: none !important;
}

/* Modal 2-Column Body Layout */
.everyday-notif-modal-body {
    display: flex !important;
    flex: 1 !important;
    min-height: 0 !important;
    background: #080e1b !important;
}

/* Left Sidebar Filter Column */
.everyday-notif-sidebar {
    width: 280px !important;
    flex-shrink: 0 !important;
    background: #050812 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 20px 14px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    scrollbar-width: thin !important;
}

.everyday-notif-sidebar-label {
    font-size: 0.68rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    color: #64748b !important;
    margin-bottom: 8px !important;
    padding: 0 8px !important;
}

.everyday-notif-category-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    color: #94a3b8 !important;
    background: transparent !important;
    border: none !important;
    font-size: 0.84rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin-bottom: 3px !important;
    text-align: left !important;
}

.everyday-notif-category-btn:hover {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #f8fafc !important;
}

.everyday-notif-category-btn.active {
    background: rgba(56, 189, 248, 0.14) !important;
    color: #38bdf8 !important;
    font-weight: 700 !important;
    border: 1px solid rgba(56, 189, 248, 0.3) !important;
}

.everyday-notif-category-btn.active .tab-badge {
    background: #38bdf8 !important;
    color: #000 !important;
}

.tab-badge {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    font-size: 0.68rem !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-family: monospace !important;
    font-weight: 700 !important;
}

/* Right Main Feed Area */
.everyday-notif-main-feed {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
    background: #080e1b !important;
    overflow: hidden !important;
}

/* AI Catch Me Up Executive Banner */
.everyday-ai-catchup-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%) !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
    padding: 14px 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-shrink: 0 !important;
}

.btn-ai-catchup {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000 !important;
    font-weight: 800 !important;
    font-size: 0.8rem !important;
    padding: 8px 16px !important;
    border-radius: 10px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.3) !important;
    transition: all 0.15s ease !important;
    white-space: nowrap !important;
}

.btn-ai-catchup:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45) !important;
}

/* Notifications Scrollable List */
.everyday-notif-list {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px 24px !important;
    margin: 0 !important;
    scrollbar-width: thin !important;
}

/* App Group Section Headers */
.everyday-notif-section-header {
    padding: 10px 14px !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.06em !important;
    color: #94a3b8 !important;
    background: rgba(15, 23, 42, 0.95) !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.everyday-notif-section-header.current-app {
    background: linear-gradient(90deg, rgba(245, 158, 11, 0.2), rgba(15, 23, 42, 0.95)) !important;
    color: #fbbf24 !important;
    border-left: 3px solid #f59e0b !important;
}

/* Individual Notification Card */
.everyday-notif-card {
    padding: 16px 20px !important;
    background: #0d1527 !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-radius: 16px !important;
    margin-bottom: 10px !important;
    display: flex !important;
    gap: 16px !important;
    cursor: pointer !important;
    transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
    position: relative !important;
}

.everyday-notif-card:hover {
    background: #111b32 !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

.everyday-notif-card.unread {
    background: rgba(15, 27, 49, 0.95) !important;
    border-color: rgba(245, 158, 11, 0.35) !important;
    border-left: 4px solid #f59e0b !important;
}

.everyday-notif-card.urgent {
    border-left-color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    background: rgba(35, 15, 22, 0.7) !important;
}

.everyday-notif-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.15rem !important;
    flex-shrink: 0 !important;
}

.everyday-notif-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
}

.everyday-notif-message {
    color: #94a3b8 !important;
    font-size: 0.83rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

.everyday-notif-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    align-items: center !important;
}

.notif-action-btn {
    padding: 6px 14px !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    transition: all 0.15s ease !important;
}

.notif-action-btn.primary {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #000000 !important;
}

.notif-action-btn.primary:hover {
    background: #fbbf24 !important;
    color: #000 !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3) !important;
}

.notif-action-btn.outline {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #cbd5e1 !important;
}

.notif-action-btn.outline:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

/* Modal Footer Bar */
.everyday-notif-modal-footer {
    padding: 14px 26px !important;
    background: #050812 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 0.76rem !important;
    color: #64748b !important;
    flex-shrink: 0 !important;
}

/* Floating Real-Time Toast Alerts */
.everyday-toast-container {
    position: fixed !important;
    bottom: 24px !important;
    right: 24px !important;
    z-index: 99999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    pointer-events: none !important;
}

.everyday-toast {
    width: 360px !important;
    max-width: 90vw !important;
    background: #0c1424 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 14px !important;
    padding: 14px 16px !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85) !important;
    display: flex !important;
    gap: 12px !important;
    pointer-events: auto !important;
    animation: toastPop 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    transition: all 0.2s ease !important;
}

@keyframes toastPop {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* AI Digest Modal */
.everyday-ai-digest-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(4, 8, 16, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    z-index: 100199 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.everyday-ai-digest-backdrop.open {
    display: flex !important;
}

.everyday-ai-digest-dialog {
    background: #0b1329 !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
    border-radius: 20px !important;
    width: 760px !important;
    max-width: 95vw !important;
    max-height: 90vh !important;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(245, 158, 11, 0.12) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    animation: digestPop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

#aiDigestContent {
    overflow-y: auto !important;
    max-height: calc(90vh - 130px) !important;
    padding: 22px 24px !important;
}

#aiDigestContent::-webkit-scrollbar {
    width: 6px;
}
#aiDigestContent::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 4px;
}

/* Executive Hero Banner */
.everyday-ai-briefing-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(2, 132, 199, 0.08) 100%) !important;
    border: 1px solid rgba(245, 158, 11, 0.3) !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
}

.everyday-ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fbbf24;
}

.btn-briefing-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-briefing-action:hover {
    background: rgba(245, 158, 11, 0.3);
    border-color: #f59e0b;
    color: #ffffff;
}

.btn-briefing-action.outline {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
}

.btn-briefing-action.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.btn-briefing-action.btn-playing-audio {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
    animation: audioPulse 1.5s infinite;
}

@keyframes audioPulse {
    0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
    50% { box-shadow: 0 0 14px rgba(239, 68, 68, 0.4); }
}

.everyday-briefing-metrics-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
}

.metric-badge.urgent {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.metric-badge.email {
    background: rgba(2, 132, 199, 0.15);
    border-color: rgba(2, 132, 199, 0.35);
    color: #7dd3fc;
}

.metric-badge.ops {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.metric-badge.billing {
    background: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.35);
    color: #fde68a;
}

/* Categorized Section & Cards */
.everyday-briefing-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.everyday-briefing-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.15s ease;
    cursor: pointer;
}

.everyday-briefing-item-card:hover {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

.everyday-briefing-item-card .item-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-briefing-item-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fef08a;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-briefing-item-cta:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #0f172a;
    text-decoration: none;
}

@keyframes digestPop {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* Tablet Responsive Optimization (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .everyday-notif-modal-dialog {
        width: 94vw !important;
        max-width: 880px !important;
        height: 84vh !important;
        max-height: 840px !important;
        border-radius: 18px !important;
    }
    .everyday-notif-sidebar {
        width: 230px !important;
        padding: 16px 10px !important;
        display: flex !important;
    }
    .everyday-notif-mobile-filter-bar {
        display: none !important;
    }
    .everyday-notif-channel-dropdown {
        display: none !important;
    }
}

/* Mobile Responsive Optimization (<= 768px) */
@media (max-width: 768px) {
    .everyday-notif-modal-backdrop {
        padding: 0 !important;
    }
    .everyday-notif-modal-dialog {
        width: 100vw !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        border: none !important;
        margin: 0 !important;
    }
    .everyday-notif-modal-header {
        position: relative !important;
        padding: 12px 16px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .everyday-notif-modal-header > .d-flex:first-child {
        display: flex !important;
        align-items: center !important;
        padding-right: 64px !important;
        width: 100% !important;
    }
    .everyday-notif-modal-header > .d-flex:last-child {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        width: 100% !important;
    }
    .everyday-notif-modal-header > .d-flex:last-child > button:last-child {
        /* Close button: positioned at top-right corner of header */
        position: absolute !important;
        top: 14px !important;
        right: 14px !important;
        margin-left: 0 !important;
        z-index: 10 !important;
        width: 44px !important;
        height: 40px !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .everyday-notif-modal-header > .d-flex:last-child > button:last-child .badge {
        display: none !important;
    }
    .everyday-notif-search-box {
        display: flex !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        width: 100% !important;
        order: 1 !important;
    }
    .everyday-notif-search-box input {
        width: 100% !important;
        font-size: 16px !important;
    }
    .everyday-notif-modal-header > .d-flex:last-child > button:not(:last-child) {
        order: 2 !important;
    }
    .everyday-notif-modal-body {
        flex-direction: column !important;
        flex: 1 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }
    .everyday-notif-sidebar {
        display: none !important;
    }
    .everyday-notif-mobile-filter-bar {
        display: block !important;
        position: relative !important;
        padding: 10px 14px !important;
        background: rgba(15, 23, 42, 0.98) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        z-index: 50 !important;
    }
    .everyday-notif-channel-btn {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(255, 255, 255, 0.06) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 12px !important;
        padding: 10px 14px !important;
        color: #f8fafc !important;
        font-size: 0.88rem !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
    }
    .everyday-notif-channel-btn:hover,
    .everyday-notif-channel-btn:active {
        background: rgba(56, 189, 248, 0.12) !important;
        border-color: rgba(56, 189, 248, 0.4) !important;
    }
    .everyday-notif-channel-dropdown {
        display: none !important;
        position: absolute !important;
        top: calc(100% + 4px) !important;
        left: 14px !important;
        right: 14px !important;
        background: #0b1329 !important;
        border: 1px solid rgba(56, 189, 248, 0.35) !important;
        border-radius: 14px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 0 0 24px rgba(56, 189, 248, 0.2) !important;
        padding: 8px !important;
        max-height: 320px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
        z-index: 100 !important;
        backdrop-filter: blur(20px) !important;
    }
    .everyday-notif-channel-dropdown.open {
        display: block !important;
        animation: notifDropdownSlide 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    @keyframes notifDropdownSlide {
        from { opacity: 0; transform: translateY(-8px); }
        to { opacity: 1; transform: translateY(0); }
    }
    .notif-dropdown-section-title {
        font-size: 0.68rem !important;
        font-weight: 800 !important;
        letter-spacing: 0.08em !important;
        color: #64748b !important;
        padding: 6px 10px 4px !important;
        text-transform: uppercase !important;
    }
    .everyday-notif-dropdown-item {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: transparent !important;
        border: 1px solid transparent !important;
        border-radius: 8px !important;
        padding: 9px 12px !important;
        color: #cbd5e1 !important;
        font-size: 0.84rem !important;
        font-weight: 600 !important;
        cursor: pointer !important;
        text-align: left !important;
        transition: all 0.15s ease !important;
        margin-bottom: 2px !important;
    }
    .everyday-notif-dropdown-item:hover,
    .everyday-notif-dropdown-item:active {
        background: rgba(255, 255, 255, 0.07) !important;
        color: #ffffff !important;
    }
    .everyday-notif-dropdown-item.active {
        background: rgba(56, 189, 248, 0.18) !important;
        border-color: rgba(56, 189, 248, 0.45) !important;
        color: #38bdf8 !important;
    }
    .everyday-notif-dropdown-item .tab-badge {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #94a3b8 !important;
        font-size: 0.72rem !important;
        padding: 2px 8px !important;
        border-radius: 9999px !important;
        font-weight: 700 !important;
    }
    .everyday-notif-dropdown-item.active .tab-badge {
        background: rgba(56, 189, 248, 0.25) !important;
        color: #38bdf8 !important;
    }
    .everyday-notif-content {
        flex: 1 !important;
        min-height: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .everyday-ai-banner {
        padding: 12px 14px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    .everyday-ai-banner .btn-ai-catchup {
        width: 100% !important;
        justify-content: center !important;
        padding: 8px 14px !important;
    }
    .everyday-notif-modal-footer {
        padding: 10px 16px !important;
        flex-direction: column !important;
        gap: 6px !important;
        text-align: center !important;
    }
    .everyday-notif-modal-footer > div:first-child {
        display: none !important; /* Hide physical keyboard shortcuts on mobile */
    }
}

/* ==========================================================================
   Everyday AI™ Executive Briefing Modal & Component Styles
   ========================================================================== */
.everyday-ai-digest-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000005;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.everyday-ai-digest-backdrop.open {
    display: flex;
    animation: everydayFadeIn 0.2s ease-out;
}

.everyday-ai-digest-dialog {
    background: #0c1322;
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 16px;
    width: 100%;
    max-width: 760px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px -10px rgba(245, 158, 11, 0.2);
    overflow: hidden;
    animation: everydayZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

#aiDigestContent {
    overflow-y: auto;
    max-height: calc(88vh - 130px);
    padding-right: 12px;
}

#aiDigestContent::-webkit-scrollbar {
    width: 6px;
}
#aiDigestContent::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}
#aiDigestContent::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.3);
    border-radius: 9999px;
}

.everyday-ai-briefing-hero {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(2, 132, 199, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    padding: 18px 20px;
}

.everyday-ai-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 9999px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    font-size: 0.72rem;
    font-weight: 700;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-briefing-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-briefing-action:hover {
    background: rgba(245, 158, 11, 0.35);
    color: #fef08a;
    transform: translateY(-1px);
}

.btn-briefing-action.outline {
    background: rgba(255, 255, 255, 0.05);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-briefing-action.outline:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-briefing-action.speaking {
    background: #ef4444 !important;
    color: #fff !important;
    border-color: #f87171 !important;
    animation: everydayAudioPulse 1.2s infinite;
}

.everyday-briefing-metrics-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.metric-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
}

.metric-badge.urgent {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.metric-badge.email {
    background: rgba(2, 132, 199, 0.18);
    border-color: rgba(2, 132, 199, 0.4);
    color: #38bdf8;
}

.metric-badge.ops {
    background: rgba(16, 185, 129, 0.18);
    border-color: rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.metric-badge.billing {
    background: rgba(168, 85, 247, 0.18);
    border-color: rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.everyday-briefing-section {
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 16px;
}

.everyday-briefing-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.everyday-briefing-item-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: all 0.2s ease;
    cursor: pointer;
}

.everyday-briefing-item-card:hover {
    background: rgba(30, 41, 59, 0.75);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateX(2px);
}

.item-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.btn-briefing-item-cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.3);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-briefing-item-cta:hover {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}

@keyframes everydayFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes everydayZoomIn {
    from { opacity: 0; transform: scale(0.96) translateY(12px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes everydayAudioPulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

/* =========================================================================
   LIGHT MODE DESIGN SYSTEM & EXECUTIVE STYLING OVERRIDES
   Supports body.light-mode, html[data-theme="light"], #everydayNotifModal.light-mode
   ========================================================================= */

/* Backdrop */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-backdrop,
.everyday-notif-modal-backdrop.light-mode,
.everyday-notif-modal-backdrop[data-theme="light"] {
    background: rgba(15, 23, 42, 0.45) !important;
}

/* Modal Dialog */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-dialog,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-modal-dialog,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-modal-dialog {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18), 0 0 35px rgba(2, 132, 199, 0.08) !important;
    color: #0f172a !important;
}

/* Header */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-header,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-modal-header,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-modal-header {
    background: #f8fafc !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-header-title,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-header-title,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-header-title {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-subtitle,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-header .text-white-50,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-subtitle,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-modal-header .text-white-50,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-subtitle,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-modal-header .text-white-50 {
    color: #64748b !important;
}

/* Search Box */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-search-box input,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-search-box input,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-search-box input {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-search-box input::placeholder,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-search-box input::placeholder,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-search-box input::placeholder {
    color: #94a3b8 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-search-box input:focus,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-search-box input:focus,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-search-box input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-search-box i,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-search-box i,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-search-box i {
    color: #64748b !important;
}

/* Header Buttons */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-control-btn,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #notifSoundToggleBtn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-control-btn,
.everyday-notif-modal-backdrop.light-mode #notifSoundToggleBtn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-control-btn,
.everyday-notif-modal-backdrop[data-theme="light"] #notifSoundToggleBtn {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-control-btn:hover,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #notifSoundToggleBtn:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-control-btn:hover,
.everyday-notif-modal-backdrop.light-mode #notifSoundToggleBtn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-control-btn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] #notifSoundToggleBtn:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-mark-read-btn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-mark-read-btn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-mark-read-btn {
    background: #f0f9ff !important;
    border: 1px solid #bae6fd !important;
    color: #0284c7 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-mark-read-btn:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-mark-read-btn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-mark-read-btn:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    border-color: #0284c7 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-close-btn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-close-btn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-close-btn {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-close-btn:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-close-btn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-close-btn:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-esc-badge,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-esc-badge,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-esc-badge {
    background: #e2e8f0 !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
}

/* 2-Column Body & Sidebar */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-body,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-modal-body,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-modal-body {
    background: #f8fafc !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-sidebar,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-sidebar,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-sidebar-label,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-sidebar-label,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-sidebar-label {
    color: #64748b !important;
    font-weight: 800 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-category-btn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-category-btn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-category-btn {
    color: #475569 !important;
    background: transparent !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-category-btn:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-category-btn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-category-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-category-btn.active,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-category-btn.active,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-category-btn.active {
    background: #e0f2fe !important;
    color: #0369a1 !important;
    border: 1px solid #7dd3fc !important;
    font-weight: 700 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-sidebar .tab-badge,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-sidebar .tab-badge,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-sidebar .tab-badge {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-category-btn.active .tab-badge,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-category-btn.active .tab-badge,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-category-btn.active .tab-badge {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* Mobile Filter Bar & Dropdowns */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-mobile-filter-bar,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-mobile-filter-bar,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-mobile-filter-bar {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-channel-btn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-channel-btn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-channel-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-channel-dropdown,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-channel-dropdown,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-channel-dropdown {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.1) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-dropdown-item,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-dropdown-item,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-dropdown-item {
    color: #475569 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-dropdown-item:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-dropdown-item:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-dropdown-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-dropdown-item.active,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-dropdown-item.active,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-dropdown-item.active {
    background: #e0f2fe !important;
    color: #0369a1 !important;
}

/* Main Feed */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-main-feed,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-main-feed,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-main-feed {
    background: #f8fafc !important;
}

/* AI Catch Up Banner */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-catchup-card,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-catchup-card,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-catchup-card {
    background: linear-gradient(135deg, #fffbeb 0%, #f0fdf4 100%) !important;
    border-bottom: 1px solid #fde68a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-title,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-catchup-card .text-white,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-title,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-catchup-card .text-white,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-title,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-catchup-card .text-white {
    color: #92400e !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-subtitle,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-catchup-card .text-white-50,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-subtitle,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-catchup-card .text-white-50,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-subtitle,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-catchup-card .text-white-50 {
    color: #78350f !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-icon-circle,
.everyday-notif-modal-backdrop.light-mode .everyday-ai-icon-circle,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-ai-icon-circle {
    background: rgba(245, 158, 11, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid #fcd34d !important;
}

/* Notification Cards */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card:hover {
    background: #f8fafc !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-2px) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card.unread,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card.unread,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card.unread {
    background: #ffffff !important;
    border: 1px solid #fed7aa !important;
    border-left: 4px solid #f59e0b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card.unread:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card.unread:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card.unread:hover {
    background: #fffdfa !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card.urgent,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card.urgent,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card.urgent {
    background: #fff5f5 !important;
    border: 1px solid #fecaca !important;
    border-left: 4px solid #ef4444 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-title,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-title,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-title {
    color: #0f172a !important;
    font-weight: 700 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-message,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-message,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-message {
    color: #475569 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card-sub,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card-time,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card .text-white-50,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card-sub,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card-time,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card .text-white-50,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card-sub,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card-time,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card .text-white-50 {
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card .badge.bg-danger,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card .badge.bg-danger,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card .badge.bg-danger {
    background: #fee2e2 !important;
    color: #dc2626 !important;
    border: 1px solid #fca5a5 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card .badge.bg-warning,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-card .badge.bg-warning,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-card .badge.bg-warning {
    background: #fef3c7 !important;
    color: #b45309 !important;
    border: 1px solid #fde68a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .notif-action-btn.outline,
.everyday-notif-modal-backdrop.light-mode .notif-action-btn.outline,
.everyday-notif-modal-backdrop[data-theme="light"] .notif-action-btn.outline {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .notif-action-btn.outline:hover,
.everyday-notif-modal-backdrop.light-mode .notif-action-btn.outline:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .notif-action-btn.outline:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-dismiss-btn,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-dismiss-btn,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-dismiss-btn {
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-dismiss-btn:hover,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-dismiss-btn:hover,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-dismiss-btn:hover {
    color: #dc2626 !important;
}

/* Modal Footer */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-modal-footer,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-modal-footer,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-modal-footer {
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-kbd,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-kbd,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-kbd {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-zerotrust,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-zerotrust,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-zerotrust {
    color: #0284c7 !important;
}

/* Empty State */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-list .text-white,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-list .text-white,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-list .text-white {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-list .text-white-50,
.everyday-notif-modal-backdrop.light-mode .everyday-notif-list .text-white-50,
.everyday-notif-modal-backdrop[data-theme="light"] .everyday-notif-list .text-white-50 {
    color: #64748b !important;
}

/* AI Digest Modal in Light Mode */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-digest-backdrop,
.everyday-ai-digest-backdrop.light-mode,
.everyday-ai-digest-backdrop[data-theme="light"] {
    background: rgba(15, 23, 42, 0.45) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-digest-dialog,
.everyday-ai-digest-backdrop.light-mode .everyday-ai-digest-dialog,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-ai-digest-dialog {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 25px 70px rgba(15, 23, 42, 0.18) !important;
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-digest-dialog > div:first-child,
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-digest-dialog > div:last-child,
.everyday-ai-digest-backdrop.light-mode .everyday-ai-digest-dialog > div:first-child,
.everyday-ai-digest-backdrop.light-mode .everyday-ai-digest-dialog > div:last-child,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-ai-digest-dialog > div:first-child,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-ai-digest-dialog > div:last-child {
    background: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #aiDigestTitle,
.everyday-ai-digest-backdrop.light-mode #aiDigestTitle,
.everyday-ai-digest-backdrop[data-theme="light"] #aiDigestTitle {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-digest-dialog .btn-close,
.everyday-ai-digest-backdrop.light-mode .everyday-ai-digest-dialog .btn-close,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-ai-digest-dialog .btn-close {
    filter: none !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #aiDigestContent,
.everyday-ai-digest-backdrop.light-mode #aiDigestContent,
.everyday-ai-digest-backdrop[data-theme="light"] #aiDigestContent {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #aiDigestContent .text-white,
.everyday-ai-digest-backdrop.light-mode #aiDigestContent .text-white,
.everyday-ai-digest-backdrop[data-theme="light"] #aiDigestContent .text-white {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) #aiDigestContent .text-white-50,
.everyday-ai-digest-backdrop.light-mode #aiDigestContent .text-white-50,
.everyday-ai-digest-backdrop[data-theme="light"] #aiDigestContent .text-white-50 {
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-ai-briefing-hero,
.everyday-ai-digest-backdrop.light-mode .everyday-ai-briefing-hero,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-ai-briefing-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #fef3c7 100%) !important;
    border: 1px solid #bae6fd !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-briefing-item-card,
.everyday-ai-digest-backdrop.light-mode .everyday-briefing-item-card,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-briefing-item-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-briefing-item-card:hover,
.everyday-ai-digest-backdrop.light-mode .everyday-briefing-item-card:hover,
.everyday-ai-digest-backdrop[data-theme="light"] .everyday-briefing-item-card:hover {
    background: #f8fafc !important;
    border-color: #38bdf8 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .btn-briefing-action,
.everyday-ai-digest-backdrop.light-mode .btn-briefing-action,
.everyday-ai-digest-backdrop[data-theme="light"] .btn-briefing-action {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .btn-briefing-action:hover,
.everyday-ai-digest-backdrop.light-mode .btn-briefing-action:hover,
.everyday-ai-digest-backdrop[data-theme="light"] .btn-briefing-action:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Toast Notifications in Light Mode */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-toast,
.everyday-toast-container.light-mode .everyday-toast {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-toast .text-white,
.everyday-toast-container.light-mode .everyday-toast .text-white {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-toast .text-white-50,
.everyday-toast-container.light-mode .everyday-toast .text-white-50 {
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-toast .btn-close,
.everyday-toast-container.light-mode .everyday-toast .btn-close {
    filter: none !important;
}

/* =========================================================================
   Sovereign Per-App Notification Settings Panel
   ========================================================================= */
.everyday-notif-settings-panel {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
    padding: 24px;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.04), transparent 60%), #070d19;
    box-sizing: border-box;
    animation: notifSettingsFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.everyday-notif-settings-panel.active {
    display: flex;
}

@keyframes notifSettingsFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.everyday-notif-settings-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.everyday-notif-settings-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.everyday-notif-settings-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 4px;
}

.everyday-notif-settings-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.everyday-notif-category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 14px;
    margin-bottom: 18px;
    scrollbar-width: none;
}
.everyday-notif-category-pills::-webkit-scrollbar { display: none; }

.everyday-notif-cat-pill {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.76rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.everyday-notif-cat-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.everyday-notif-cat-pill.active {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.15);
}

.everyday-notif-apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 16px;
    padding-bottom: 30px;
}

@media (max-width: 768px) {
    .everyday-notif-apps-grid {
        grid-template-columns: 1fr;
    }
}

.everyday-notif-app-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.everyday-notif-app-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--app-color, #38bdf8);
    opacity: 0.85;
}

.everyday-notif-app-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.85);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.everyday-notif-app-card.muted {
    opacity: 0.55;
    filter: grayscale(0.5);
}

.everyday-notif-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.everyday-notif-card-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.everyday-notif-card-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.everyday-notif-card-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
}

.everyday-notif-card-category {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.everyday-notif-card-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
    margin: 0;
}

/* iOS Style Master Switch */
.everyday-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
    cursor: pointer;
}

.everyday-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.everyday-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.15);
    transition: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.everyday-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #ffffff;
    transition: 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

input:checked + .everyday-slider {
    background-color: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

input:checked + .everyday-slider:before {
    transform: translateX(20px);
}

/* Cross-Platform Channel Matrix Pills */
.everyday-notif-channels-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-top: 4px;
}

.everyday-notif-channel-pill {
    padding: 5px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    transition: all 0.18s ease;
}

.everyday-notif-channel-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.everyday-notif-channel-pill.active {
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
    color: #38bdf8;
}

.everyday-notif-channel-pill.active.sound {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.35);
    color: #f59e0b;
}

.everyday-notif-channel-pill.active.mobile {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.everyday-notif-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.everyday-notif-urgency-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.5);
}

.everyday-notif-urgency-select {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 8px;
    padding: 4px 8px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s;
}

.everyday-notif-urgency-select:focus {
    border-color: #38bdf8;
}

/* Light Mode Overrides for Settings Panel */
:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-settings-panel,
.everyday-notif-modal-dialog.light-mode .everyday-notif-settings-panel {
    background: #f8fafc !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-settings-title,
.everyday-notif-modal-dialog.light-mode .everyday-notif-settings-title {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-settings-desc,
.everyday-notif-modal-dialog.light-mode .everyday-notif-settings-desc {
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-app-card,
.everyday-notif-modal-dialog.light-mode .everyday-notif-app-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-app-card:hover,
.everyday-notif-modal-dialog.light-mode .everyday-notif-app-card:hover {
    border-color: #38bdf8 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08) !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card-name,
.everyday-notif-modal-dialog.light-mode .everyday-notif-card-name {
    color: #0f172a !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-card-desc,
.everyday-notif-modal-dialog.light-mode .everyday-notif-card-desc {
    color: #475569 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-channel-pill,
.everyday-notif-modal-dialog.light-mode .everyday-notif-channel-pill {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #64748b !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-channel-pill.active,
.everyday-notif-modal-dialog.light-mode .everyday-notif-channel-pill.active {
    background: #e0f2fe !important;
    border-color: #38bdf8 !important;
    color: #0284c7 !important;
}

:is(body.light-mode, html[data-theme="light"], html[data-rmm-theme="light"], body.light-theme, :root.light-mode) .everyday-notif-urgency-select,
.everyday-notif-modal-dialog.light-mode .everyday-notif-urgency-select {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}



