/* =========================================================
   BasmkAlkrem dashboard shell
   ========================================================= */

:root {
    --sidebar-width: 224px;
    --topbar-height: 66px;
    --page-bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --sidebar-bg-1: #10233f;
    --sidebar-bg-2: #0c1d35;
    --sidebar-text: #eef5ff;
    --sidebar-muted: #cbd7e8;
    --primary: #1967df;
    --primary-soft: rgba(25, 103, 223, .18);
    --text: #14213a;
    --muted: #7b879c;
    --line: #e5eaf1;
    --shadow: 0 8px 24px rgba(15, 36, 70, .08);
    --danger: #ef4444;
}

html,
body {
    width: 100%;
    height: 100%;
    min-height: 100%;
}

    body.app-shell {
        margin: 0;
        background: var(--page-bg);
        color: var(--text);
        font-family: "Segoe UI", Tahoma, Arial, sans-serif;
        overflow: hidden;
    }

.app-frame {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    display: flex;
    direction: ltr;
    overflow: hidden;
}

/* Sidebar */
.app-sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: var(--sidebar-width);
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    z-index: 1045;
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    background: radial-gradient(circle at 25% 10%, rgba(34, 117, 255, .14), transparent 24%), linear-gradient(180deg, var(--sidebar-bg-1), var(--sidebar-bg-2));
    box-shadow: -12px 0 40px rgba(3, 17, 36, .10);
    transition: transform .25s ease, width .25s ease;
}

.sidebar-brand {
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    padding: 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
}

.brand-mark {
    width: 34px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #ffffff;
    font-size: 34px;
    transition: color .22s ease, text-shadow .22s ease, filter .22s ease, transform .22s ease;
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 18px 22px;
    overflow-y: auto;
    direction: rtl;
}

.sidebar-nav-main {
    display: grid;
    gap: 8px;
}

.sidebar-nav-bottom {
    display: grid;
    gap: 8px;
}

.sidebar-link {
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 16px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-align: right;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

    .sidebar-link span {
        color: #ffffff;
    }

    .sidebar-link i,
    .sidebar-link svg {
        width: 22px;
        min-width: 22px;
        font-size: 20px;
        text-align: center;
        color: inherit;
        fill: currentColor;
        transition: color .20s ease, text-shadow .20s ease, filter .20s ease, transform .20s ease;
    }

    .sidebar-link:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, .09);
        transform: translateX(-2px);
    }

    .sidebar-link.active {
        color: #ffffff;
        background: linear-gradient( 90deg, rgba(38, 116, 224, .30), rgba(38, 116, 224, .16) );
        box-shadow: inset -3px 0 0 currentColor, 0 8px 18px rgba(0, 229, 255, .08);
    }

.sidebar-divider {
    height: 1px;
    margin: auto 0 18px;
    background: rgba(255, 255, 255, .13);
}

.sidebar-logout-form {
    margin: 0;
}

.sidebar-logout {
    color: #ffffff;
}


/* =========================================================
   SIDEBAR ICON COLORS BY THEME
   Light mode  : glowing neon white
   Dark mode   : glowing light neon blue
   ========================================================= */

/* الوضع الصباحي: أبيض واضح مع توهج خفيف جداً */
body:not(.dark-mode) .app-sidebar .brand-link,
body:not(.dark-mode) .app-sidebar .brand-text,
body:not(.dark-mode) .app-sidebar .sidebar-link,
body:not(.dark-mode) .app-sidebar .sidebar-link span {
    color: #ffffff !important;
}

    body:not(.dark-mode) .app-sidebar .brand-mark,
    body:not(.dark-mode) .app-sidebar .brand-mark i,
    body:not(.dark-mode) .app-sidebar .brand-mark svg,
    body:not(.dark-mode) .app-sidebar .sidebar-link i,
    body:not(.dark-mode) .app-sidebar .sidebar-link svg {
        color: #ffffff !important;
        fill: currentColor !important;
        text-shadow: 0 0 2px rgba(255, 255, 255, .55);
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, .35));
    }

    body:not(.dark-mode) .app-sidebar .sidebar-link:hover i,
    body:not(.dark-mode) .app-sidebar .sidebar-link:hover svg,
    body:not(.dark-mode) .app-sidebar .sidebar-link.active i,
    body:not(.dark-mode) .app-sidebar .sidebar-link.active svg {
        color: #ffffff !important;
        text-shadow: 0 0 3px rgba(255, 255, 255, .70);
        filter: drop-shadow(0 0 3px rgba(255, 255, 255, .45));
        transform: none;
    }

    body:not(.dark-mode) .app-sidebar .sidebar-link.active {
        box-shadow: inset -3px 0 0 #ffffff, 0 4px 12px rgba(255, 255, 255, .03);
    }

/* الوضع الليلي: أزرق نيوني فاتح مع توهج خفيف */
body.dark-mode .app-sidebar .brand-link,
body.dark-mode .app-sidebar .brand-text,
body.dark-mode .app-sidebar .sidebar-link,
body.dark-mode .app-sidebar .sidebar-link span {
    color: #ffffff !important;
}

    body.dark-mode .app-sidebar .brand-mark,
    body.dark-mode .app-sidebar .brand-mark i,
    body.dark-mode .app-sidebar .brand-mark svg,
    body.dark-mode .app-sidebar .sidebar-link i,
    body.dark-mode .app-sidebar .sidebar-link svg {
        color: #36dfff !important;
        fill: currentColor !important;
        text-shadow: 0 0 2px rgba(54, 223, 255, .65);
        filter: drop-shadow(0 0 2px rgba(54, 223, 255, .40));
    }

    body.dark-mode .app-sidebar .sidebar-link:hover i,
    body.dark-mode .app-sidebar .sidebar-link:hover svg,
    body.dark-mode .app-sidebar .sidebar-link.active i,
    body.dark-mode .app-sidebar .sidebar-link.active svg {
        color: #6eeaff !important;
        text-shadow: 0 0 3px rgba(54, 223, 255, .78);
        filter: drop-shadow(0 0 3px rgba(54, 223, 255, .50));
        transform: none;
    }

    body.dark-mode .app-sidebar .sidebar-link.active {
        box-shadow: inset -3px 0 0 #36dfff, 0 4px 12px rgba(54, 223, 255, .04);
    }

/* ضمان ظهور بصمة Bootstrap Icons وعدم تأثرها بأي ستايل خارجي */
.app-sidebar .brand-mark .bi-fingerprint::before {
    color: inherit !important;
    opacity: 1 !important;
}

/* Workspace */
.app-workspace {
    width: calc(100% - var(--sidebar-width));
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    margin-right: var(--sidebar-width);
    display: grid;
    grid-template-rows: var(--topbar-height) minmax(0, 1fr) auto;
    direction: rtl;
    overflow: hidden;
    transition: width .25s ease, margin-right .25s ease;
}

.app-topbar {
    position: relative;
    z-index: 1030;
    height: var(--topbar-height);
    min-height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 clamp(14px, 1.5vw, 28px);
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 2px 12px rgba(13, 31, 58, .04);
    backdrop-filter: blur(12px);
    direction: rtl !important;
}

.topbar-start,
.topbar-end {
    display: flex;
    align-items: center;
}

.topbar-end {
    gap: 10px;
    direction: ltr;
}

.topbar-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #8a98ab;
    text-decoration: none;
    font-size: 20px;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease;
}

    .topbar-icon-btn:hover {
        color: var(--primary);
        background: #f3f6fb;
    }

.sidebar-toggle {
    font-size: 27px;
}

.notification-button .notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    display: grid;
    place-items: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
}

.app-content {
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: clamp(12px, 1.5vw, 24px) clamp(12px, 1.8vw, 28px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    background: radial-gradient( circle at 75% 5%, rgba(41, 121, 255, .035), transparent 32% ), var(--page-bg);
}

.app-footer {
    position: relative;
    z-index: 1020;
    width: 100%;
    min-height: 54px;
    padding: 7px clamp(12px, 1.6vw, 24px);
    color: #7f8da3;
    background: linear-gradient( 90deg, rgba(25, 103, 223, .035), transparent 36%, rgba(0, 209, 255, .025) ), var(--surface);
    border-top: 1px solid var(--line);
    box-shadow: 0 -4px 18px rgba(15, 36, 70, .035);
    overflow: hidden;
}

.app-footer-inner {
    width: min(100%, 1800px);
    min-height: 40px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border: 1px solid rgba(25, 103, 223, .14);
    border-radius: 10px;
    color: #1967df;
    background: rgba(25, 103, 223, .07);
    font-size: 19px;
}

.footer-brand-copy {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

    .footer-brand-copy strong {
        color: var(--text);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .2px;
    }

    .footer-brand-copy > span {
        overflow: hidden;
        color: var(--muted);
        font-size: 10px;
        text-overflow: ellipsis;
    }

.footer-separator {
    margin-inline: 4px;
    color: #c1cad7;
}

.footer-live-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex: 0 0 auto;
}

.footer-info-chip {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid var(--line);
    border-radius: 9px;
    color: var(--muted);
    background: var(--surface-soft);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

    .footer-info-chip i {
        color: #1967df;
        font-size: 13px;
    }

.footer-time-chip {
    direction: ltr;
    font-variant-numeric: tabular-nums;
}

/* User menu */
.user-dropdown {
    margin-left: 6px;
}

.user-menu-button {
    height: 46px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 4px 0 8px;
    border: 0;
    background: transparent;
    color: #2a3548;
    direction: ltr;
    cursor: pointer;
}

.user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e9edf4;
    box-shadow: 0 2px 8px rgba(16, 35, 63, .12);
}

.user-menu-name {
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
}

.user-menu-chevron {
    color: #8290a3;
    font-size: 11px;
}

.user-dropdown-menu {
    min-width: 245px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(16, 35, 63, .14);
}

.user-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.user-dropdown-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.user-dropdown-header div {
    min-width: 0;
    display: grid;
}

.user-dropdown-header strong,
.user-dropdown-header small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-dropdown-header small {
    color: var(--muted);
    font-size: 11px;
}

.user-dropdown-menu .dropdown-item {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 9px;
    font-weight: 600;
    font-size: 13px;
}

.login-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border-radius: 9px;
    color: #fff;
    background: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

/* Collapsed desktop state */
body.sidebar-collapsed .app-sidebar {
    transform: translateX(100%);
}

body.sidebar-collapsed .app-workspace {
    width: 100%;
    margin-right: 0;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: none;
    background: rgba(8, 20, 38, .48);
    backdrop-filter: blur(2px);
}

/* Guest */
.guest-page {
    min-height: 100vh;
}

/* Dark mode */
body.dark-mode {
    --page-bg: #0f1724;
    --surface: #162132;
    --surface-soft: #192638;
    --text: #edf2f8;
    --muted: #9daabc;
    --line: rgba(255, 255, 255, .08);
}

    body.dark-mode .app-topbar,
    body.dark-mode .app-footer {
        background: rgba(22, 33, 50, .96);
    }

    body.dark-mode .topbar-icon-btn {
        color: #b3bfd0;
    }

        body.dark-mode .topbar-icon-btn:hover {
            background: #1b2a3e;
        }

    body.dark-mode .user-menu-button {
        color: #edf2f8;
    }

    body.dark-mode .user-dropdown-menu {
        color: #edf2f8;
        background: #172336;
    }

    body.dark-mode .dropdown-item {
        color: #edf2f8;
    }

        body.dark-mode .dropdown-item:hover {
            background: #22324a;
        }

/* Responsive */
@media (max-width: 991.98px) {
    .app-sidebar {
        transform: translateX(100%);
    }

    .app-workspace {
        width: 100%;
        margin-right: 0;
    }

    body.sidebar-mobile-open .app-sidebar {
        transform: translateX(0);
    }

    body.sidebar-mobile-open .sidebar-overlay {
        display: block;
    }

    .app-topbar {
        padding-inline: 16px;
    }

    .app-content {
        padding: 18px 14px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --sidebar-width: 260px;
    }

    .user-menu-name {
        display: none;
    }

    .user-menu-chevron {
        display: none;
    }

    .topbar-end {
        gap: 3px;
    }

    .app-footer {
        font-size: 11px;
    }
}


/* Footer dark mode */
body.dark-mode .app-footer {
    background: linear-gradient( 90deg, rgba(54, 223, 255, .035), transparent 38%, rgba(25, 103, 223, .025) ), #131e2e;
}

body.dark-mode .footer-brand-icon {
    color: #36dfff;
    border-color: rgba(54, 223, 255, .15);
    background: rgba(54, 223, 255, .07);
}

body.dark-mode .footer-info-chip {
    background: #172438;
}

    body.dark-mode .footer-info-chip i {
        color: #36dfff;
    }

/* Large and ultra-wide displays */
@media (min-width: 1920px) {
    :root {
        --sidebar-width: clamp(224px, 12vw, 290px);
        --topbar-height: clamp(66px, 3.8vw, 84px);
    }

    .sidebar-link {
        min-height: clamp(48px, 2.7vw, 62px);
        font-size: clamp(14px, .8vw, 18px);
    }

        .sidebar-link i,
        .sidebar-link svg {
            font-size: clamp(20px, 1.1vw, 26px);
        }

    .app-footer {
        min-height: clamp(54px, 3vw, 68px);
    }

    .app-footer-inner {
        width: min(94%, 2400px);
    }
}

/* Tablet */
@media (max-width: 991.98px) {
    .app-footer-inner {
        gap: 10px;
    }

    .footer-brand-copy > span {
        max-width: 310px;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .app-footer {
        min-height: 72px;
        padding-block: 6px;
    }

    .app-footer-inner {
        min-height: 58px;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .footer-brand {
        width: 100%;
        justify-content: center;
    }

    .footer-brand-icon {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        border-radius: 8px;
        font-size: 16px;
    }

    .footer-brand-copy {
        gap: 5px;
    }

        .footer-brand-copy > span {
            max-width: 230px;
            font-size: 9px;
        }

    .footer-live-info {
        width: 100%;
        justify-content: center;
        gap: 6px;
    }

    .footer-info-chip {
        min-height: 25px;
        padding-inline: 8px;
        border-radius: 7px;
        font-size: 8px;
    }

        .footer-info-chip i {
            font-size: 10px;
        }
}

/* Very small phones */
@media (max-width: 390px) {
    .footer-brand-copy > span {
        max-width: 175px;
    }

    .footer-separator {
        display: none;
    }

    .footer-info-chip {
        padding-inline: 6px;
    }
}

@media print {
    .app-sidebar,
    .app-topbar,
    .app-footer,
    .sidebar-overlay {
        display: none !important;
    }

    .app-workspace {
        width: 100% !important;
        margin: 0 !important;
    }

    .app-content {
        padding: 0 !important;
        background: #fff !important;
    }
}
/* =========================================================
   IDENTITY ACCOUNT MANAGE
   ========================================================= */

.account-manage-page {
    width: 100%;
    max-width: 1460px;
    margin: 0 auto;
    direction: rtl;
}

.account-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: #8b96a8;
    font-size: 12px;
    font-weight: 600;
}

    .account-breadcrumb a {
        color: #1967df;
        text-decoration: none;
    }

        .account-breadcrumb a:hover {
            text-decoration: underline;
        }

    .account-breadcrumb i {
        font-size: 10px;
        color: #aeb7c5;
    }

.account-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.account-page-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.account-title-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #1967df;
    background: #eaf2ff;
    font-size: 23px;
}

.account-page-title h1 {
    margin: 0;
    color: var(--text);
    font-size: 27px;
    font-weight: 800;
}

.account-page-title p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.account-layout {
    display: grid;
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.account-sidebar,
.account-content-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--surface);
    box-shadow: var(--shadow);
}

.account-sidebar {
    overflow: hidden;
}

.account-sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    border-bottom: 1px solid var(--line);
}

.account-sidebar-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 42px;
    border-radius: 11px;
    color: #1967df;
    background: #eaf2ff;
    font-size: 20px;
}

.account-sidebar-header > div:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.account-sidebar-header strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

.account-sidebar-header span {
    color: var(--muted);
    font-size: 11px;
}

.account-navigation {
    padding: 12px;
}

    .account-navigation .nav {
        display: grid;
        gap: 5px;
    }

    .account-navigation .nav-item {
        width: 100%;
    }

    .account-navigation .nav-link {
        width: 100%;
        min-height: 44px;
        display: flex;
        align-items: center;
        padding: 0 14px;
        border-radius: 8px;
        color: #536176;
        font-size: 13px;
        font-weight: 700;
        text-align: right;
        transition: color .18s ease, background-color .18s ease;
    }

        .account-navigation .nav-link:hover {
            color: #1967df;
            background: #f3f7fd;
        }

        .account-navigation .nav-link.active {
            color: #1967df;
            background: #eaf2ff;
        }

.account-content-card {
    min-width: 0;
    overflow: hidden;
}

.account-content-header {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--line);
}

    .account-content-header h2 {
        margin: 0;
        color: var(--text);
        font-size: 18px;
        font-weight: 800;
    }

    .account-content-header p {
        margin: 5px 0 0;
        color: var(--muted);
        font-size: 12px;
    }

.account-security-icon {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;
    flex: 0 0 43px;
    border-radius: 12px;
    color: #22b983;
    background: #e9faf4;
    font-size: 21px;
}

.account-content-body {
    padding: 25px;
}

    /* Identity Forms */

    .account-content-body .form-control {
        min-height: 44px;
        border: 1px solid #dfe5ed;
        border-radius: 8px;
        box-shadow: none;
        font-size: 13px;
    }

        .account-content-body .form-control:focus {
            border-color: #4389eb;
            box-shadow: 0 0 0 3px rgba(25, 103, 223, .10);
        }

    .account-content-body .form-label,
    .account-content-body label {
        margin-bottom: 7px;
        color: #344157;
        font-size: 12px;
        font-weight: 700;
    }

    .account-content-body .btn-primary {
        min-height: 42px;
        padding: 0 22px;
        border: 0;
        border-radius: 8px;
        background: #1967df;
        font-size: 13px;
        font-weight: 700;
        box-shadow: 0 5px 12px rgba(25, 103, 223, .18);
    }

        .account-content-body .btn-primary:hover {
            background: #115ac8;
        }

    .account-content-body .btn-danger {
        border-radius: 8px;
    }

/* Dark mode */

body.dark-mode .account-title-icon {
    color: #68a5ff;
    background: rgba(25, 103, 223, .15);
}

body.dark-mode .account-sidebar-icon {
    color: #68a5ff;
    background: rgba(25, 103, 223, .15);
}

body.dark-mode .account-navigation .nav-link {
    color: #b8c3d2;
}

    body.dark-mode .account-navigation .nav-link:hover,
    body.dark-mode .account-navigation .nav-link.active {
        color: #72adff;
        background: rgba(25, 103, 223, .14);
    }

body.dark-mode .account-content-body .form-control {
    color: #edf2f8;
    background: #1b293c;
    border-color: rgba(255, 255, 255, .09);
}

body.dark-mode .account-content-body label {
    color: #d7dfeb;
}

/* Responsive */

@media (max-width: 991.98px) {

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-navigation .nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {

    .account-page-title h1 {
        font-size: 21px;
    }

    .account-title-icon {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

    .account-navigation .nav {
        grid-template-columns: 1fr;
    }

    .account-content-header {
        padding: 16px;
    }

    .account-content-body {
        padding: 17px;
    }
}
/* =========================================================
   SYSTEM NOTIFICATIONS
   ========================================================= */

.system-notification-wrapper {
    position: relative;
}

.notification-button {
    overflow: visible;
}

    .notification-button #systemBellIcon {
        color: #8794a7;
        transition: color .18s ease, transform .18s ease;
    }

    .notification-button:hover #systemBellIcon {
        color: #1967df;
    }

    .notification-button.has-notifications #systemBellIcon {
        color: #ef4444;
        animation: systemBellRing 1.3s ease-in-out infinite;
    }

.system-notification-dot {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 9px;
    height: 9px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: -5px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    background: #ef4444;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 3px 8px rgba(239, 68, 68, .28);
}

.system-notification-dropdown {
    width: 390px;
    max-width: calc(100vw - 24px);
    margin-top: 12px !important;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e4e9f1;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 20px 50px rgba(15, 35, 63, .16);
    direction: rtl;
}

.system-notification-header {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 13px 15px;
    color: #ffffff;
    background: radial-gradient( circle at 10% 10%, rgba(255, 255, 255, .15), transparent 30% ), linear-gradient(135deg, #10233f, #1967df);
}

.system-notification-header-title {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.system-notification-header-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 11px;
    background: rgba(255, 255, 255, .12);
    font-size: 18px;
}

.system-notification-header h6 {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
}

.system-notification-header small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, .78);
    font-size: 10px;
}

.system-notification-refresh {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    border: 1px solid rgba(255, 255, 255, .20);
    border-radius: 9px;
    color: #ffffff;
    background: rgba(255, 255, 255, .10);
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

    .system-notification-refresh:hover {
        background: rgba(255, 255, 255, .20);
        transform: rotate(30deg);
    }

.system-notification-list {
    max-height: 385px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.system-notification-loading {
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #768397;
    font-size: 12px;
}

.system-notification-empty {
    min-height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: #98a3b3;
    font-size: 12px;
}

    .system-notification-empty i {
        font-size: 32px;
        color: #c1c9d5;
    }

.system-notification-item {
    position: relative;
    display: flex;
    gap: 11px;
    padding: 14px 15px;
    border-bottom: 1px solid #edf0f5;
    cursor: pointer;
    transition: background-color .18s ease, transform .18s ease;
}

    .system-notification-item:last-child {
        border-bottom: 0;
    }

    .system-notification-item:hover {
        background: #f7f9fc;
    }

    .system-notification-item.is-unread {
        background: #f1f6ff;
    }

        .system-notification-item.is-unread::before {
            content: "";
            position: absolute;
            top: 14px;
            right: 0;
            bottom: 14px;
            width: 3px;
            border-radius: 4px 0 0 4px;
            background: #1967df;
        }

        .system-notification-item.is-unread:hover {
            background: #eaf2ff;
        }

.system-notification-item-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    flex: 0 0 39px;
    border-radius: 11px;
    color: #1967df;
    background: #e8f1ff;
    font-size: 17px;
}

.system-notification-item.is-viewed
.system-notification-item-icon {
    color: #8491a4;
    background: #eef1f5;
}

.system-notification-item-content {
    min-width: 0;
    flex: 1;
}

.system-notification-item-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 9px;
}

.system-notification-item-title {
    margin: 0;
    overflow: hidden;
    color: #17233b;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.system-notification-unread-label {
    flex: 0 0 auto;
    padding: 3px 7px;
    border-radius: 999px;
    color: #1967df;
    background: #dceaff;
    font-size: 8px;
    font-weight: 800;
}

.system-notification-item-text {
    display: -webkit-box;
    margin: 5px 0 0;
    overflow: hidden;
    color: #667389;
    font-size: 11px;
    line-height: 1.7;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.system-notification-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin-top: 8px;
    color: #9aa4b3;
    font-size: 9px;
}

    .system-notification-item-meta span {
        display: inline-flex;
        align-items: center;
        gap: 4px;
    }

.system-notification-footer {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 12px;
    border-top: 1px solid #e8edf3;
    background: #fafbfd;
}

.system-notification-view-all,
.system-notification-read-all {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 11px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.system-notification-view-all {
    border: 1px solid #dbe7fa;
    color: #1967df;
    background: #edf4ff;
}

    .system-notification-view-all:hover {
        color: #115ac8;
        background: #e1edff;
    }

.system-notification-read-all {
    border: 1px solid #dfe5ed;
    color: #59667a;
    background: #ffffff;
    cursor: pointer;
}

    .system-notification-read-all:hover {
        color: #17233b;
        background: #f2f5f9;
    }

    .system-notification-read-all:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

@keyframes systemBellRing {
    0%, 100% {
        transform: rotate(0);
    }

    20% {
        transform: rotate(12deg);
    }

    40% {
        transform: rotate(-10deg);
    }

    60% {
        transform: rotate(7deg);
    }

    80% {
        transform: rotate(-4deg);
    }
}

/* Dark mode */

body.dark-mode .system-notification-dropdown {
    border-color: rgba(255, 255, 255, .08);
    background: #162132;
}

body.dark-mode .system-notification-item {
    border-bottom-color: rgba(255, 255, 255, .07);
}

    body.dark-mode .system-notification-item:hover {
        background: #1b2a3e;
    }

    body.dark-mode .system-notification-item.is-unread {
        background: rgba(25, 103, 223, .12);
    }

        body.dark-mode .system-notification-item.is-unread:hover {
            background: rgba(25, 103, 223, .19);
        }

body.dark-mode .system-notification-item-title {
    color: #edf2f8;
}

body.dark-mode .system-notification-item-text {
    color: #b2bdcd;
}

body.dark-mode .system-notification-footer {
    border-top-color: rgba(255, 255, 255, .07);
    background: #131e2e;
}

body.dark-mode .system-notification-read-all {
    border-color: rgba(255, 255, 255, .10);
    color: #c2ccda;
    background: #1b293c;
}

body.dark-mode .system-notification-dot,
body.dark-mode .notification-badge {
    border-color: #162132;
}

@media (max-width: 575.98px) {

    .system-notification-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 8px !important;
        left: 8px !important;
        width: auto;
        max-width: none;
        transform: none !important;
    }

    .system-notification-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .system-notification-view-all,
    .system-notification-read-all {
        width: 100%;
    }
}


/* ضبط حجم ووضوح شعار البصمة */
.app-sidebar .brand-mark,
.app-sidebar .brand-mark i,
.app-sidebar .brand-mark .bi-fingerprint::before {
    font-size: 30px !important;
    line-height: 1 !important;
    opacity: 1 !important;
    transform: none !important;
}
/* =========================================================
   نقل زر السايد بار إلى اليمين
   ونقل أدوات الحساب والإشعارات إلى اليسار
   ========================================================= */

.app-topbar {
    direction: rtl !important;
}

.topbar-start {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
}

.topbar-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    direction: rtl !important;
}

/* زر فتح السايد بار جهة اليمين */
.sidebar-toggle {
    margin-right: 0 !important;
    margin-left: auto;
}

/* قائمة المستخدم والإشعارات جهة اليسار */
.user-dropdown {
    margin-left: 0;
    margin-right: 6px;
}

/* صفحات تسجيل الدخول خارج هيكل التطبيق */
body.app-shell:has(.guest-page) {
    overflow: auto;
}

.guest-page {
    min-height: 100dvh;
}


/* =========================================================
   FINAL VIEWPORT / FOOTER FIX
   يمنع نزول الفوتر خلف الصفحة أو خارج الشاشة
   ========================================================= */

:root {
    --app-footer-height: 58px;
}

html,
body {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

    body.app-shell {
        width: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

.app-frame {
    position: relative !important;
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.app-sidebar {
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    overflow: hidden !important;
}

.sidebar-nav {
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

.app-workspace {
    position: relative !important;
    width: calc(100% - var(--sidebar-width)) !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    margin-right: var(--sidebar-width) !important;
    display: grid !important;
    grid-template-rows: var(--topbar-height) minmax(0, 1fr) var(--app-footer-height) !important;
    overflow: hidden !important;
}

.app-topbar {
    grid-row: 1 !important;
    position: relative !important;
    top: auto !important;
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    max-height: var(--topbar-height) !important;
    overflow: visible !important;
}

.app-content {
    grid-row: 2 !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
}

    /*
   بعض الصفحات الداخلية تستخدم 100vh أو min-height:100vh،
   وهذا يدفع الفوتر أسفل الشاشة. هذه القاعدة تلغي ذلك
   داخل محتوى اللايوت فقط.
*/
    .app-content > main,
    .app-content > section,
    .app-content > article,
    .app-content > .container,
    .app-content > .container-fluid,
    .app-content > .page,
    .app-content > .dashboard,
    .app-content > .dashboard-page,
    .app-content > .home-page {
        min-height: 0 !important;
        max-height: 100% !important;
    }

.app-footer {
    grid-row: 3 !important;
    position: relative !important;
    inset: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: var(--app-footer-height) !important;
    min-height: var(--app-footer-height) !important;
    max-height: var(--app-footer-height) !important;
    margin: 0 !important;
    padding: 6px 18px !important;
    overflow: hidden !important;
    z-index: 1035 !important;
}

.app-footer-inner {
    height: 100% !important;
    min-height: 0 !important;
}

/* عند إغلاق السايد بار */
body.sidebar-collapsed .app-workspace {
    width: 100% !important;
    margin-right: 0 !important;
}

/* التابلت والهاتف */
@media (max-width: 991.98px) {
    .app-workspace {
        width: 100% !important;
        margin-right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --app-footer-height: 76px;
    }

    .app-footer {
        padding: 5px 8px !important;
    }
}

/* صفحات الضيف مثل تسجيل الدخول */
body.app-shell:has(.guest-page) {
    height: auto !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    overflow-y: auto !important;
}


/* =========================================================
   FINAL SHELL OVERRIDES
   - إزالة أي شريط سفلي خلف الفوتر
   - إبقاء الفوتر دائماً في الواجهة وأسفل الشاشة
   - توحيد الناف بار العلوي مع السايد بار
   ========================================================= */

:root {
    --app-footer-height: 58px;
    --shell-dark-1: #10233f;
    --shell-dark-2: #0c1d35;
    --shell-cyan: #36dfff;
    --shell-white: #ffffff;
}

/* منع أي مساحة أو شريط إضافي أسفل الصفحة */
html,
body,
body.app-shell,
.app-frame {
    width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 0 !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--shell-dark-2) !important;
}

.app-frame {
    position: fixed !important;
    inset: 0 !important;
}

/* مساحة العمل مقسمة بدقة: ناف بار + محتوى + فوتر */
.app-workspace {
    position: fixed !important;
    top: 0 !important;
    right: var(--sidebar-width) !important;
    bottom: 0 !important;
    left: 0 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    display: grid !important;
    grid-template-rows: var(--topbar-height) minmax(0, 1fr) var(--app-footer-height) !important;
    overflow: hidden !important;
    background: var(--page-bg) !important;
}

body.sidebar-collapsed .app-workspace {
    right: 0 !important;
    width: auto !important;
    margin: 0 !important;
}

/* منطقة المحتوى هي الوحيدة التي تتحرك */
.app-content {
    grid-row: 2 !important;
    position: relative !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    background: radial-gradient( circle at 75% 5%, rgba(41, 121, 255, .035), transparent 32% ), var(--page-bg) !important;
}

/* الناف بار العلوي بنفس تصميم السايد بار */
.app-topbar {
    grid-row: 1 !important;
    position: relative !important;
    z-index: 2000 !important;
    width: 100% !important;
    height: var(--topbar-height) !important;
    min-height: var(--topbar-height) !important;
    max-height: var(--topbar-height) !important;
    margin: 0 !important;
    padding: 0 clamp(14px, 1.5vw, 28px) !important;
    overflow: visible !important;
    color: var(--shell-white) !important;
    background: radial-gradient( circle at 20% 0%, rgba(34, 117, 255, .14), transparent 28% ), linear-gradient( 180deg, var(--shell-dark-1), var(--shell-dark-2) ) !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: 0 8px 28px rgba(3, 17, 36, .18) !important;
    backdrop-filter: none !important;
}

/* أيقونات الناف بار - الوضع الصباحي */
body:not(.dark-mode) .app-topbar .topbar-icon-btn,
body:not(.dark-mode) .app-topbar .topbar-icon-btn i,
body:not(.dark-mode) .app-topbar .topbar-icon-btn svg,
body:not(.dark-mode) .app-topbar .user-menu-button,
body:not(.dark-mode) .app-topbar .user-menu-name,
body:not(.dark-mode) .app-topbar .user-menu-chevron {
    color: #ffffff !important;
}

    body:not(.dark-mode) .app-topbar .topbar-icon-btn i,
    body:not(.dark-mode) .app-topbar .topbar-icon-btn svg {
        text-shadow: 0 0 2px rgba(255, 255, 255, .55);
        filter: drop-shadow(0 0 2px rgba(255, 255, 255, .35));
    }

/* أيقونات الناف بار - الوضع الليلي */
body.dark-mode .app-topbar .topbar-icon-btn,
body.dark-mode .app-topbar .topbar-icon-btn i,
body.dark-mode .app-topbar .topbar-icon-btn svg,
body.dark-mode .app-topbar .user-menu-chevron {
    color: var(--shell-cyan) !important;
}

body.dark-mode .app-topbar .user-menu-button,
body.dark-mode .app-topbar .user-menu-name {
    color: #ffffff !important;
}

body.dark-mode .app-topbar .topbar-icon-btn i,
body.dark-mode .app-topbar .topbar-icon-btn svg {
    text-shadow: 0 0 2px rgba(54, 223, 255, .65);
    filter: drop-shadow(0 0 2px rgba(54, 223, 255, .40));
}

/* Hover للناف بار */
.app-topbar .topbar-icon-btn:hover {
    background: rgba(255, 255, 255, .08) !important;
    color: var(--shell-cyan) !important;
}

    .app-topbar .topbar-icon-btn:hover i,
    .app-topbar .topbar-icon-btn:hover svg {
        color: var(--shell-cyan) !important;
        text-shadow: 0 0 3px rgba(54, 223, 255, .75);
        filter: drop-shadow(0 0 3px rgba(54, 223, 255, .45));
    }

.app-topbar .user-avatar {
    border-color: rgba(255, 255, 255, .70) !important;
    box-shadow: 0 0 0 2px rgba(54, 223, 255, .10), 0 3px 10px rgba(0, 0, 0, .22) !important;
}

/* الفوتر دائماً في الأمام وأسفل الشاشة */
.app-footer {
    grid-row: 3 !important;
    position: relative !important;
    z-index: 3000 !important;
    inset: auto !important;
    width: 100% !important;
    height: var(--app-footer-height) !important;
    min-height: var(--app-footer-height) !important;
    max-height: var(--app-footer-height) !important;
    margin: 0 !important;
    padding: 6px clamp(12px, 1.4vw, 20px) !important;
    overflow: hidden !important;
    color: #dce6f3 !important;
    background: radial-gradient( circle at 15% 0%, rgba(34, 117, 255, .10), transparent 30% ), linear-gradient( 180deg, var(--shell-dark-1), var(--shell-dark-2) ) !important;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .08) !important;
    box-shadow: 0 -8px 28px rgba(3, 17, 36, .22) !important;
}

/* إخفاء أي فوتر أو شريط قديم من site.css */
body.app-shell > footer,
body.app-shell .footer-spacer,
body.app-shell .footer:not(.app-footer) {
    display: none !important;
}

/* منع ظهور الخلفية تحت الفوتر */
.app-footer::after {
    content: "";
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    z-index: 2999;
    background: var(--shell-dark-2);
    pointer-events: none;
}

.app-footer-inner {
    width: min(100%, 2200px) !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 auto !important;
}

.footer-brand-copy strong {
    color: #ffffff !important;
}

.footer-brand-copy > span,
.footer-info-chip {
    color: #c7d3e4 !important;
}

.footer-brand-icon,
.footer-info-chip {
    border-color: rgba(255, 255, 255, .10) !important;
    background: rgba(255, 255, 255, .05) !important;
}

    .footer-brand-icon,
    .footer-info-chip i {
        color: var(--shell-cyan) !important;
    }

/* دعم التابلت والهاتف */
@media (max-width: 991.98px) {
    .app-workspace {
        right: 0 !important;
    }
}

@media (max-width: 575.98px) {
    :root {
        --app-footer-height: 76px;
    }

    .app-topbar {
        padding-inline: 10px !important;
    }

    .app-footer {
        padding: 5px 8px !important;
    }
}

/* صفحات الضيف تبقى قابلة للتمرير */
body.app-shell:has(.guest-page) {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
    background: var(--page-bg) !important;
}
/* =========================================================
   FOOTER FINGERPRINT - SOFT GLOW
   ========================================================= */

/* الوضع الصباحي: أبيض بتوهج خفيف جداً */
body:not(.dark-mode) .app-footer .footer-brand-icon,
body:not(.dark-mode) .app-footer .footer-brand-icon i,
body:not(.dark-mode) .app-footer .footer-brand-icon svg,
body:not(.dark-mode) .app-footer .footer-brand-icon .bi-fingerprint::before {
    color: #ffffff !important;
    fill: currentColor !important;
    opacity: 1 !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, .25) !important;
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, .18)) !important;
}

/* الوضع الليلي: سماوي بتوهج خفيف جداً */
body.dark-mode .app-footer .footer-brand-icon,
body.dark-mode .app-footer .footer-brand-icon i,
body.dark-mode .app-footer .footer-brand-icon svg,
body.dark-mode .app-footer .footer-brand-icon .bi-fingerprint::before {
    color: #36dfff !important;
    fill: currentColor !important;
    opacity: 1 !important;
    text-shadow: 0 0 1px rgba(54, 223, 255, .30) !important;
    filter: drop-shadow(0 0 1px rgba(54, 223, 255, .20)) !important;
}
/* =========================================================
   SYSTEM NOTIFICATION ICONS BY THEME
   ========================================================= */

/* =========================================================
   LIGHT MODE
   أيقونات الإشعارات بيضاء
   ========================================================= */

body:not(.dark-mode) .app-topbar .system-notification-wrapper
#systemNotificationBell,
body:not(.dark-mode) .app-topbar .system-notification-wrapper
#systemNotificationBell i,
body:not(.dark-mode) .app-topbar .system-notification-wrapper
#systemBellIcon,
body:not(.dark-mode) .app-topbar .system-notification-wrapper
#systemBellIcon::before {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 0 1px rgba(255, 255, 255, .25) !important;
    filter: drop-shadow( 0 0 1px rgba(255, 255, 255, .18) ) !important;
}


    /* Hover */

    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover i,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover #systemBellIcon,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover #systemBellIcon::before {
        color: #ffffff !important;
        text-shadow: 0 0 2px rgba(255, 255, 255, .35) !important;
        filter: drop-shadow( 0 0 2px rgba(255, 255, 255, .22) ) !important;
    }


    /* عند فتح القائمة */

    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell[aria-expanded="true"],
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell[aria-expanded="true"] i,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell[aria-expanded="true"] #systemBellIcon,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell[aria-expanded="true"] #systemBellIcon::before {
        color: #ffffff !important;
    }


    /* عند وجود إشعارات جديدة */

    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell.has-notifications,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell.has-notifications i,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell.has-notifications #systemBellIcon,
    body:not(.dark-mode) .app-topbar .system-notification-wrapper
    #systemNotificationBell.has-notifications #systemBellIcon::before {
        color: #ffffff !important;
        text-shadow: 0 0 2px rgba(255, 255, 255, .40) !important;
        filter: drop-shadow( 0 0 2px rgba(255, 255, 255, .25) ) !important;
    }


/* =========================================================
   DARK MODE
   أيقونة الإشعارات سماوية
   ========================================================= */

body.dark-mode .app-topbar .system-notification-wrapper
#systemNotificationBell,
body.dark-mode .app-topbar .system-notification-wrapper
#systemNotificationBell i,
body.dark-mode .app-topbar .system-notification-wrapper
#systemBellIcon,
body.dark-mode .app-topbar .system-notification-wrapper
#systemBellIcon::before {
    color: #36dfff !important;
    opacity: 1 !important;
    text-shadow: 0 0 1px rgba(54, 223, 255, .30) !important;
    filter: drop-shadow( 0 0 1px rgba(54, 223, 255, .20) ) !important;
}


    /* Dark Hover */

    body.dark-mode .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover,
    body.dark-mode .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover i,
    body.dark-mode .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover #systemBellIcon,
    body.dark-mode .app-topbar .system-notification-wrapper
    #systemNotificationBell:hover #systemBellIcon::before {
        color: #6eeaff !important;
        text-shadow: 0 0 2px rgba(54, 223, 255, .45) !important;
        filter: drop-shadow( 0 0 2px rgba(54, 223, 255, .30) ) !important;
    }

/* أيقونات قائمة الإشعارات المنسدلة - الوضع الصباحي */
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-header-icon,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-header-icon i,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-header-icon i::before,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-refresh i,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-refresh i::before,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-empty i,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-empty i::before,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-view-all i,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-view-all i::before,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-read-all i,
body:not(.dark-mode)
.system-notification-dropdown
.system-notification-read-all i::before {
    color: #ffffff !important;
    opacity: 1 !important;
}