/**
 * Premium Admin Redesign Layer
 * Design-only overrides for the admin area. No PHP logic, forms, routes or DB code changed.
 */

:root{
    --as-header-h:64px;
    --as-sidebar-w:270px;
    --as-sidebar-mini:82px;
    --as-bg:#eef3f8;
    --as-bg2:#f8fafc;
    --as-ink:#0f172a;
    --as-muted:#64748b;
    --as-line:#dbe5ef;
    --as-card:#fdfbf7;
    --as-primary:#f97316;
    --as-primary2:#f59e0b;
    --as-blue:#2563eb;
    --as-green:#10b981;
    --as-red:#ef4444;
    --as-purple:#7c3aed;
    --as-shadow:0 18px 50px rgba(15,23,42,.10);
    --as-soft-shadow:0 10px 30px rgba(15,23,42,.07);
}

html.admin-dark-mode,
html.admin-dark-mode body.admin-shell,
body.admin-shell.dark-mode{
    color-scheme:dark;
    --as-bg:#07111f;
    --as-bg2:#0b1628;
    --as-ink:#e5edf7;
    --as-muted:#9fb0c4;
    --as-line:#26364c;
    --as-card:#111c2e;
    --as-shadow:0 18px 50px rgba(0,0,0,.36);
    --as-soft-shadow:0 10px 30px rgba(0,0,0,.28);
}

html, body.admin-shell{
    background:
        radial-gradient(circle at 8% 0%, rgba(249,115,22,.14), transparent 30%),
        radial-gradient(circle at 100% 5%, rgba(37,99,235,.10), transparent 34%),
        linear-gradient(180deg,#f8fafc 0%, var(--as-bg) 100%) !important;
    color:var(--as-ink);
}

html.admin-dark-mode body.admin-shell,
body.admin-shell.dark-mode{
    background:
        linear-gradient(125deg, rgba(247,147,26,.09), transparent 30%),
        linear-gradient(240deg, rgba(37,99,235,.10), transparent 34%),
        linear-gradient(180deg,#050b14 0%, var(--as-bg) 100%) !important;
    color:var(--as-ink)!important;
}

html.admin-dark-mode body.admin-shell .wrapper.admin-shell-root .main-panel,
body.admin-shell.dark-mode .wrapper.admin-shell-root .main-panel,
html.admin-dark-mode body.admin-shell .wrapper.admin-shell-root .main-panel>.content,
body.admin-shell.dark-mode .wrapper.admin-shell-root .main-panel>.content,
html.admin-dark-mode body.admin-shell .page-inner,
body.admin-shell.dark-mode .page-inner{
    background:transparent!important;
    color:var(--as-ink)!important;
}

html.admin-dark-mode body.admin-shell .wrapper.admin-shell-root .main-panel>footer.footer,
body.admin-shell.dark-mode .wrapper.admin-shell-root .main-panel>footer.footer{
    background:rgba(8,15,27,.92)!important;
    border-top-color:rgba(148,163,184,.14)!important;
    color:#cbd5e1!important;
}

body.admin-shell .wrapper.admin-shell-root{min-height:100vh;height:auto!important;overflow-x:hidden;}
body.admin-shell .wrapper.admin-shell-root .main-panel{min-height:100vh;height:auto!important;display:flex!important;flex-direction:column!important;background:transparent!important;}
body.admin-shell .wrapper.admin-shell-root .main-panel>.content{flex:1 1 auto!important;margin-top:var(--as-header-h)!important;min-height:0!important;overflow:visible!important;padding:0!important;background:transparent!important;}
body.admin-shell .page-inner{padding:28px!important;}
body.admin-shell .wrapper.admin-shell-root .main-panel>footer.footer{flex-shrink:0!important;margin-top:auto!important;background:rgba(255,255,255,.80)!important;border-top:1px solid rgba(148,163,184,.25)!important;backdrop-filter:blur(18px);}

/* Header */
body.admin-shell .main-header{z-index:1050;box-shadow:0 12px 35px rgba(15,23,42,.13)!important;}
body.admin-shell .main-header .logo-header,
body.admin-shell .main-header .navbar-header{
    min-height:var(--as-header-h)!important;
    background:linear-gradient(135deg,#111827 0%,#1e293b 42%,#f97316 135%)!important;
    border:0!important;
}
body.admin-shell .logo-header{width:var(--as-sidebar-w)!important;max-width:100%;float:left!important;display:flex!important;align-items:center!important;gap:.55rem;padding:0 14px!important;}
body.admin-shell .logo-header .logo{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#fff!important;font-weight:800!important;letter-spacing:.01em;font-size:15px!important;text-transform:uppercase;}
body.admin-shell .logo-header .logo:before{content:"";display:inline-block;width:34px;height:34px;margin-right:9px;vertical-align:middle;border-radius:12px;background:linear-gradient(135deg,#f97316,#facc15);box-shadow:0 10px 25px rgba(249,115,22,.35);}
body.admin-shell .main-header nav.navbar.navbar-header{width:calc(100% - var(--as-sidebar-w))!important;float:right!important;}
body.admin-shell .topbar-nav .nav-link{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);display:flex!important;align-items:center;justify-content:center;transition:.2s ease;}
body.admin-shell .topbar-nav .nav-link:hover{background:rgba(255,255,255,.22);transform:translateY(-1px);}
body.admin-shell .dropdown-user{border:0!important;border-radius:18px!important;box-shadow:var(--as-shadow)!important;overflow:hidden;}
body.admin-shell .dropdown-user .dropdown-item{padding:10px 18px!important;font-weight:600;color:#334155!important;}
body.admin-shell .dropdown-user .dropdown-item:hover{background:#fff7ed!important;color:#ea580c!important;}

/* Toggle buttons */
body.admin-shell #adminShellBtnMobile.navbar-toggler.sidenav-toggler,
body.admin-shell #adminShellBtnDesktop.btn-toggle.toggle-sidebar{display:inline-flex;align-items:center;justify-content:center;border:0;background:rgba(255,255,255,.14)!important;color:#fff!important;border-radius:12px;padding:.38rem .58rem!important;line-height:1;cursor:pointer;flex-shrink:0;touch-action:manipulation;position:relative;z-index:30;font-size:1.32rem;}
body.admin-shell #adminShellBtnMobile:hover,
body.admin-shell #adminShellBtnDesktop.btn-toggle.toggle-sidebar:hover{background:rgba(255,255,255,.28)!important;transform:translateY(-1px);}
body.admin-shell #adminShellBtnMobile .admin-shell-burger-icons{display:inline-flex;align-items:center;justify-content:center;min-width:1.5em;}
body.admin-shell #adminShellBtnMobile .admin-shell-i-close{display:none!important;font-size:1.25em;line-height:1;}
html.nav_open body.admin-shell #adminShellBtnMobile .admin-shell-i-open{display:none!important;}
html.nav_open body.admin-shell #adminShellBtnMobile .admin-shell-i-close{display:inline!important;}
body.admin-shell .logo-header .nav-toggle{position:static!important;right:auto!important;top:auto!important;}

/* Sidebar */
body.admin-shell .sidebar.sidebar-style-2{background:linear-gradient(180deg,#111827 0%,#172033 45%,#0f172a 100%)!important;border-right:1px solid rgba(255,255,255,.08)!important;box-shadow:18px 0 45px rgba(15,23,42,.18)!important;}
body.admin-shell .sidebar .sidebar-wrapper{background:transparent!important;}
body.admin-shell .sidebar .user{margin:16px 14px 8px!important;padding:17px 14px!important;border:1px solid rgba(255,255,255,.12)!important;border-radius:20px!important;background:linear-gradient(135deg,rgba(255,255,255,.10),rgba(255,255,255,.04))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.08);}
body.admin-shell .sidebar .user:before{content:"";display:block;width:54px;height:54px;margin:0 auto 10px;border-radius:18px;background:linear-gradient(135deg,#f97316,#facc15);box-shadow:0 12px 28px rgba(249,115,22,.30);}
body.admin-shell .sidebar .user .info a>span,
body.admin-shell .sidebar .user .info span{color:#f8fafc!important;font-weight:800;}
body.admin-shell .sidebar .user-level{display:inline-block;margin-top:7px!important;color:#fed7aa!important;background:rgba(249,115,22,.16);border:1px solid rgba(251,146,60,.25);border-radius:999px;padding:4px 10px;font-size:11px;text-transform:uppercase;letter-spacing:.06em;}
body.admin-shell .sidebar .nav-primary{padding:0 8px 20px!important;}
body.admin-shell .sidebar .nav-primary .nav-item>a{display:flex;align-items:center;gap:.75rem;border-radius:15px;margin:5px 4px;padding:.72rem .86rem!important;color:#cbd5e1!important;transition:.18s ease!important;position:relative;overflow:hidden;}
body.admin-shell .sidebar .nav-primary .nav-item>a i{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;background:rgba(255,255,255,.08);font-size:14px!important;}
body.admin-shell .sidebar .nav-primary .nav-item>a p{margin:0;flex:1;font-size:.91rem;font-weight:700;letter-spacing:.01em;}
body.admin-shell .sidebar .nav-primary .nav-item>a:hover{background:rgba(255,255,255,.09)!important;color:#fff!important;transform:translateX(3px);}
body.admin-shell .sidebar .nav-primary .nav-item.active>a,
body.admin-shell .sidebar .nav-primary .nav-item>a[aria-expanded="true"]{background:linear-gradient(135deg,rgba(249,115,22,.95),rgba(245,158,11,.92))!important;color:#fff!important;box-shadow:0 14px 28px rgba(249,115,22,.25)!important;}
body.admin-shell .sidebar .nav-primary .nav-item.active>a i,
body.admin-shell .sidebar .nav-primary .nav-item>a[aria-expanded="true"] i{background:rgba(255,255,255,.18);color:#fff!important;}
body.admin-shell .sidebar .nav-collapse{margin:4px 8px 9px 44px!important;border-left:1px solid rgba(255,255,255,.10);}
body.admin-shell .sidebar .nav-collapse li a{padding:8px 12px!important;border-radius:10px;color:#94a3b8!important;}
body.admin-shell .sidebar .nav-collapse li a:hover{background:rgba(255,255,255,.07)!important;color:#fff!important;}
body.admin-shell .sidebar .nav-collapse .sub-item{color:inherit!important;font-weight:600;}

/* Main content typography */
body.admin-shell h1.title1,
body.admin-shell .title1,
body.admin-shell .page-title,
body.admin-shell h1,
body.admin-shell h2,
body.admin-shell h3{color:#0f172a!important;font-weight:900!important;letter-spacing:-.03em;}
body.admin-shell h1.title1,
body.admin-shell .title1{position:relative;margin-bottom:8px!important;}
body.admin-shell h1.title1:after,
body.admin-shell .title1:after{content:"";display:block;width:70px;height:5px;margin-top:10px;border-radius:99px;background:linear-gradient(90deg,#f97316,#facc15,#2563eb);}
body.admin-shell .page-inner>.mt-2.mb-4,
body.admin-shell .page-inner>.mb-4:first-child{background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(255,247,237,.88));border:1px solid rgba(251,146,60,.23);border-radius:24px;padding:22px 24px!important;box-shadow:var(--as-soft-shadow);}

/* Cards */
body.admin-shell .card{border:1px solid rgba(148,163,184,.22)!important;border-radius:22px!important;background:rgba(253,251,247,.95)!important;box-shadow:var(--as-soft-shadow)!important;overflow:hidden;}
body.admin-shell .card:hover{box-shadow:0 24px 60px rgba(15,23,42,.12)!important;}
body.admin-shell .card-header{background:linear-gradient(135deg,#fdfbf7 0%,#f9f5eb 100%)!important;border-bottom:1px solid rgba(148,163,184,.18)!important;padding:16px 20px!important;}
body.admin-shell .card-title,
body.admin-shell .card-header h1,
body.admin-shell .card-header h2,
body.admin-shell .card-header h3,
body.admin-shell .card-header h4,
body.admin-shell .card-header h5{font-weight:900!important;color:#111827!important;}
body.admin-shell .card-body,.card .card-inner{padding:22px!important;}
body.admin-shell .shadow.card,
body.admin-shell .card.shadow{box-shadow:var(--as-soft-shadow)!important;}

/* Tables and DataTables */
body.admin-shell .table-responsive{border-radius:18px!important;background:#fdfbf7!important;border:1px solid rgba(148,163,184,.18)!important;box-shadow:0 8px 24px rgba(15,23,42,.04);padding:2px;}
body.admin-shell table.table{margin-bottom:0!important;border-collapse:separate!important;border-spacing:0!important;color:#334155!important;}
body.admin-shell table.table thead th{background:linear-gradient(135deg,#111827,#1e293b)!important;color:#fff!important;border:0!important;font-size:11px!important;text-transform:uppercase;letter-spacing:.07em;padding:14px 15px!important;white-space:nowrap;}
body.admin-shell table.table tbody td{border-top:1px solid #eef2f7!important;padding:14px 15px!important;vertical-align:middle!important;font-weight:600;color:#334155;}
body.admin-shell table.table tbody tr{transition:.15s ease;}
body.admin-shell table.table tbody tr:hover{background:#fff7ed!important;transform:scale(1.002);}
body.admin-shell .dataTables_wrapper .dataTables_filter input,
body.admin-shell .dataTables_wrapper .dataTables_length select{border:1px solid #dbe5ef!important;border-radius:12px!important;padding:8px 12px!important;outline:0!important;background:#fff!important;box-shadow:0 6px 16px rgba(15,23,42,.04);}
body.admin-shell .dataTables_wrapper .dataTables_filter input:focus{border-color:#f97316!important;box-shadow:0 0 0 4px rgba(249,115,22,.12)!important;}
body.admin-shell .page-item .page-link{border:0!important;border-radius:10px!important;margin:0 3px;color:#334155!important;font-weight:700;}
body.admin-shell .page-item.active .page-link{background:linear-gradient(135deg,#f97316,#f59e0b)!important;color:#fff!important;box-shadow:0 8px 18px rgba(249,115,22,.25);}

/* Forms */
body.admin-shell .form-control,
body.admin-shell .custom-select,
body.admin-shell select.form-control,
body.admin-shell textarea.form-control{border:1px solid #e8e4d9!important;border-radius:14px!important;min-height:44px;background:#fdfbf7!important;color:#0f172a!important;box-shadow:0 5px 15px rgba(15,23,42,.035);transition:.18s ease;}
body.admin-shell .form-control:focus,
body.admin-shell select.form-control:focus,
body.admin-shell textarea.form-control:focus{border-color:#f97316!important;box-shadow:0 0 0 4px rgba(249,115,22,.12)!important;}
body.admin-shell label,
body.admin-shell h5{font-weight:800;color:#334155;}

/* Buttons */
body.admin-shell .btn{border-radius:13px!important;font-weight:800!important;letter-spacing:.01em;box-shadow:0 8px 18px rgba(15,23,42,.08);transition:transform .16s ease, box-shadow .16s ease, opacity .16s ease;}
body.admin-shell .btn:hover{transform:translateY(-1px);box-shadow:0 14px 28px rgba(15,23,42,.14);}
body.admin-shell .btn-primary,
body.admin-shell .btn-info{background:linear-gradient(135deg,#2563eb,#7c3aed)!important;border:0!important;color:#fff!important;}
body.admin-shell .btn-secondary{background:linear-gradient(135deg,#475569,#111827)!important;border:0!important;color:#fff!important;}
body.admin-shell .btn-success{background:linear-gradient(135deg,#10b981,#059669)!important;border:0!important;color:#fff!important;}
body.admin-shell .btn-warning{background:linear-gradient(135deg,#f59e0b,#f97316)!important;border:0!important;color:#fff!important;}
body.admin-shell .btn-danger{background:linear-gradient(135deg,#ef4444,#be123c)!important;border:0!important;color:#fff!important;}
body.admin-shell .dropdown-menu{border:0!important;border-radius:18px!important;box-shadow:var(--as-shadow)!important;padding:10px!important;}
body.admin-shell .dropdown-menu .btn{display:block;width:calc(100% - 8px);text-align:left;margin:4px!important;}

/* Alerts and badges */
body.admin-shell .alert{border:0!important;border-radius:18px!important;box-shadow:var(--as-soft-shadow)!important;font-weight:700;}
body.admin-shell .badge{border-radius:999px!important;padding:.42rem .7rem!important;font-weight:800;}

/* Modals */
body.admin-shell .modal-content{border:0!important;border-radius:24px!important;box-shadow:0 30px 80px rgba(15,23,42,.30)!important;overflow:hidden;}
body.admin-shell .modal-header{background:linear-gradient(135deg,#111827,#1e293b)!important;color:#fff!important;border:0!important;padding:18px 22px!important;}
body.admin-shell .modal-header .modal-title{color:#fff!important;font-weight:900!important;}
body.admin-shell .modal-header .close{color:#fff!important;opacity:1;text-shadow:none;background:rgba(255,255,255,.14);border-radius:12px;width:36px;height:36px;display:flex;align-items:center;justify-content:center;padding:0!important;margin:-4px -4px -4px auto!important;}
body.admin-shell .modal-body{padding:24px!important;background:#fff;}

/* Global admin dark mode */
html.admin-dark-mode body.admin-shell .card,
body.admin-shell.dark-mode .card,
html.admin-dark-mode body.admin-shell .settings-panel,
body.admin-shell.dark-mode .settings-panel,
html.admin-dark-mode body.admin-shell .payment-settings-card,
body.admin-shell.dark-mode .payment-settings-card,
html.admin-dark-mode body.admin-shell .email-form-card,
body.admin-shell.dark-mode .email-form-card,
html.admin-dark-mode body.admin-shell .shipment-card,
body.admin-shell.dark-mode .shipment-card,
html.admin-dark-mode body.admin-shell .edit-form-card,
body.admin-shell.dark-mode .edit-form-card,
html.admin-dark-mode body.admin-shell .modal-content,
body.admin-shell.dark-mode .modal-content,
html.admin-dark-mode body.admin-shell .table-responsive,
body.admin-shell.dark-mode .table-responsive{
    background:rgba(17,28,46,.96)!important;
    border-color:rgba(148,163,184,.16)!important;
    color:var(--as-ink)!important;
    box-shadow:var(--as-soft-shadow)!important;
}

html.admin-dark-mode body.admin-shell .card-header,
body.admin-shell.dark-mode .card-header,
html.admin-dark-mode body.admin-shell .settings-tabs,
body.admin-shell.dark-mode .settings-tabs,
html.admin-dark-mode body.admin-shell .modal-body,
body.admin-shell.dark-mode .modal-body{
    background:linear-gradient(135deg,#111c2e,#0b1628)!important;
    border-color:rgba(148,163,184,.14)!important;
    color:var(--as-ink)!important;
}

html.admin-dark-mode body.admin-shell h1,
html.admin-dark-mode body.admin-shell h2,
html.admin-dark-mode body.admin-shell h3,
html.admin-dark-mode body.admin-shell h4,
html.admin-dark-mode body.admin-shell h5,
html.admin-dark-mode body.admin-shell h6,
html.admin-dark-mode body.admin-shell .title1,
html.admin-dark-mode body.admin-shell .page-title,
html.admin-dark-mode body.admin-shell .card-title,
html.admin-dark-mode body.admin-shell label,
body.admin-shell.dark-mode h1,
body.admin-shell.dark-mode h2,
body.admin-shell.dark-mode h3,
body.admin-shell.dark-mode h4,
body.admin-shell.dark-mode h5,
body.admin-shell.dark-mode h6,
body.admin-shell.dark-mode .title1,
body.admin-shell.dark-mode .page-title,
body.admin-shell.dark-mode .card-title,
body.admin-shell.dark-mode label{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .text-muted,
html.admin-dark-mode body.admin-shell small,
html.admin-dark-mode body.admin-shell .settings-modern-page p,
body.admin-shell.dark-mode .text-muted,
body.admin-shell.dark-mode small,
body.admin-shell.dark-mode .settings-modern-page p{
    color:#9fb0c4!important;
}

html.admin-dark-mode body.admin-shell .form-control,
html.admin-dark-mode body.admin-shell .custom-select,
html.admin-dark-mode body.admin-shell select.form-control,
html.admin-dark-mode body.admin-shell textarea.form-control,
html.admin-dark-mode body.admin-shell .select2-container .select2-selection,
body.admin-shell.dark-mode .form-control,
body.admin-shell.dark-mode .custom-select,
body.admin-shell.dark-mode select.form-control,
body.admin-shell.dark-mode textarea.form-control,
body.admin-shell.dark-mode .select2-container .select2-selection{
    background:#0b1628!important;
    border-color:#26364c!important;
    color:#e5edf7!important;
    box-shadow:none!important;
}

html.admin-dark-mode body.admin-shell .form-control::placeholder,
html.admin-dark-mode body.admin-shell textarea.form-control::placeholder,
body.admin-shell.dark-mode .form-control::placeholder,
body.admin-shell.dark-mode textarea.form-control::placeholder{
    color:#74849a!important;
}

html.admin-dark-mode body.admin-shell .form-control:focus,
html.admin-dark-mode body.admin-shell select.form-control:focus,
html.admin-dark-mode body.admin-shell textarea.form-control:focus,
body.admin-shell.dark-mode .form-control:focus,
body.admin-shell.dark-mode select.form-control:focus,
body.admin-shell.dark-mode textarea.form-control:focus{
    border-color:var(--brand-primary,#f97316)!important;
    box-shadow:0 0 0 4px rgba(249,115,22,.16)!important;
}

html.admin-dark-mode body.admin-shell table.table,
body.admin-shell.dark-mode table.table{
    color:#dbe7f5!important;
}

html.admin-dark-mode body.admin-shell table.table tbody td,
body.admin-shell.dark-mode table.table tbody td{
    background:#111c2e!important;
    color:#dbe7f5!important;
    border-top-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell table.table tbody tr:hover,
body.admin-shell.dark-mode table.table tbody tr:hover{
    background:#17243a!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu,
body.admin-shell.dark-mode .dropdown-menu,
html.admin-dark-mode body.admin-shell .dropdown-user,
body.admin-shell.dark-mode .dropdown-user{
    background:#111c2e!important;
    border:1px solid rgba(148,163,184,.16)!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu .dropdown-item,
body.admin-shell.dark-mode .dropdown-menu .dropdown-item,
html.admin-dark-mode body.admin-shell .dropdown-user .dropdown-item,
body.admin-shell.dark-mode .dropdown-user .dropdown-item{
    color:#dbe7f5!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu .dropdown-item:hover,
body.admin-shell.dark-mode .dropdown-menu .dropdown-item:hover,
html.admin-dark-mode body.admin-shell .dropdown-user .dropdown-item:hover,
body.admin-shell.dark-mode .dropdown-user .dropdown-item:hover{
    background:#17243a!important;
    color:#fff!important;
}

html.admin-dark-mode body.admin-shell .settings-modern-page,
body.admin-shell.dark-mode .settings-modern-page,
html.admin-dark-mode body.admin-shell .admin-dashboard-light,
body.admin-shell.dark-mode .admin-dashboard-light,
html.admin-dark-mode body.admin-shell .shipments-page,
body.admin-shell.dark-mode .shipments-page,
html.admin-dark-mode body.admin-shell .payment-settings-page,
body.admin-shell.dark-mode .payment-settings-page,
html.admin-dark-mode body.admin-shell .email-service-page,
body.admin-shell.dark-mode .email-service-page,
html.admin-dark-mode body.admin-shell .edit-shipment-page,
body.admin-shell.dark-mode .edit-shipment-page{
    background:
        linear-gradient(125deg, rgba(247,147,26,.08), transparent 30%),
        linear-gradient(235deg, rgba(37,99,235,.10), transparent 32%),
        linear-gradient(180deg,#06101d,#0b1628)!important;
    color:var(--as-ink)!important;
}

html.admin-dark-mode body.admin-shell .brand-color-card,
body.admin-shell.dark-mode .brand-color-card,
html.admin-dark-mode body.admin-shell .brand-color-input input[type="text"],
body.admin-shell.dark-mode .brand-color-input input[type="text"],
html.admin-dark-mode body.admin-shell .settings-tabs .nav-link,
body.admin-shell.dark-mode .settings-tabs .nav-link,
html.admin-dark-mode body.admin-shell .list-group-item,
body.admin-shell.dark-mode .list-group-item{
    background:#0b1628!important;
    border-color:#26364c!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .brand-color-card small,
body.admin-shell.dark-mode .brand-color-card small{
    color:#9fb0c4!important;
}

html.admin-dark-mode body.admin-shell .alert,
body.admin-shell.dark-mode .alert{
    background:#111c2e!important;
    color:#e5edf7!important;
    border:1px solid rgba(148,163,184,.16)!important;
}

html.admin-dark-mode body.admin-shell .bg-light,
html.admin-dark-mode body.admin-shell .bg-white,
html.admin-dark-mode body.admin-shell .bg-default,
body.admin-shell.dark-mode .bg-light,
body.admin-shell.dark-mode .bg-white,
body.admin-shell.dark-mode .bg-default{
    background:#111c2e!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .text-dark,
html.admin-dark-mode body.admin-shell .text-body,
body.admin-shell.dark-mode .text-dark,
body.admin-shell.dark-mode .text-body{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .border,
html.admin-dark-mode body.admin-shell .border-top,
html.admin-dark-mode body.admin-shell .border-bottom,
html.admin-dark-mode body.admin-shell .border-left,
html.admin-dark-mode body.admin-shell .border-right,
body.admin-shell.dark-mode .border,
body.admin-shell.dark-mode .border-top,
body.admin-shell.dark-mode .border-bottom,
body.admin-shell.dark-mode .border-left,
body.admin-shell.dark-mode .border-right{
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .list-group,
html.admin-dark-mode body.admin-shell .list-group-item,
body.admin-shell.dark-mode .list-group,
body.admin-shell.dark-mode .list-group-item{
    background:#111c2e!important;
    color:#e5edf7!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .page-inner > .row,
body.admin-shell.dark-mode .page-inner > .row{
    color:#e5edf7!important;
}

/* Dark-mode coverage for modern admin feature pages */
html.admin-dark-mode body.admin-shell .create-shipment-page,
html.admin-dark-mode body.admin-shell .status-update-page,
html.admin-dark-mode body.admin-shell .shipment-details-page,
html.admin-dark-mode body.admin-shell .settings-modern-page,
html.admin-dark-mode body.admin-shell .fc-support-page,
html.admin-dark-mode body.admin-shell .fc-ls-pay,
body.admin-shell.dark-mode .create-shipment-page,
body.admin-shell.dark-mode .status-update-page,
body.admin-shell.dark-mode .shipment-details-page,
body.admin-shell.dark-mode .settings-modern-page,
body.admin-shell.dark-mode .fc-support-page,
body.admin-shell.dark-mode .fc-ls-pay{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .create-shipment-page,
body.admin-shell.dark-mode .create-shipment-page,
html.admin-dark-mode body.admin-shell .status-update-page,
body.admin-shell.dark-mode .status-update-page,
html.admin-dark-mode body.admin-shell .shipment-details-page,
body.admin-shell.dark-mode .shipment-details-page,
html.admin-dark-mode body.admin-shell .settings-modern-page,
body.admin-shell.dark-mode .settings-modern-page{
    background:
        radial-gradient(circle at 8% 6%,rgba(37,99,235,.16),transparent 24%),
        radial-gradient(circle at 90% 12%,rgba(249,115,22,.12),transparent 26%),
        linear-gradient(135deg,#050b14 0%,#07111f 48%,#0b1628 100%)!important;
}

html.admin-dark-mode body.admin-shell .shipment-form-card,
html.admin-dark-mode body.admin-shell .shipment-field,
html.admin-dark-mode body.admin-shell .form-section-title,
html.admin-dark-mode body.admin-shell .form-actions,
html.admin-dark-mode body.admin-shell .status-card,
html.admin-dark-mode body.admin-shell .status-card-head,
html.admin-dark-mode body.admin-shell .status-barcode,
html.admin-dark-mode body.admin-shell .status-info-row,
html.admin-dark-mode body.admin-shell .status-track-card,
html.admin-dark-mode body.admin-shell .status-notify,
html.admin-dark-mode body.admin-shell .sd-card,
html.admin-dark-mode body.admin-shell .sd-card-header,
html.admin-dark-mode body.admin-shell .barcode-wrap,
html.admin-dark-mode body.admin-shell .package-photo,
html.admin-dark-mode body.admin-shell .tracking-content,
html.admin-dark-mode body.admin-shell .empty-history,
html.admin-dark-mode body.admin-shell .settings-panel,
html.admin-dark-mode body.admin-shell .settings-body,
html.admin-dark-mode body.admin-shell .settings-tabs,
html.admin-dark-mode body.admin-shell .settings-modern-page .border,
html.admin-dark-mode body.admin-shell .fc-support-shell,
html.admin-dark-mode body.admin-shell .fc-support-avatar-card,
html.admin-dark-mode body.admin-shell .fc-support-stat,
html.admin-dark-mode body.admin-shell .fc-support-table-card,
html.admin-dark-mode body.admin-shell .fc-support-card-head,
html.admin-dark-mode body.admin-shell .fc-support-pagination,
html.admin-dark-mode body.admin-shell .fc-support-table tbody tr,
html.admin-dark-mode body.admin-shell .fc-ls-card,
body.admin-shell.dark-mode .shipment-form-card,
body.admin-shell.dark-mode .shipment-field,
body.admin-shell.dark-mode .form-section-title,
body.admin-shell.dark-mode .form-actions,
body.admin-shell.dark-mode .status-card,
body.admin-shell.dark-mode .status-card-head,
body.admin-shell.dark-mode .status-barcode,
body.admin-shell.dark-mode .status-info-row,
body.admin-shell.dark-mode .status-track-card,
body.admin-shell.dark-mode .status-notify,
body.admin-shell.dark-mode .sd-card,
body.admin-shell.dark-mode .sd-card-header,
body.admin-shell.dark-mode .barcode-wrap,
body.admin-shell.dark-mode .package-photo,
body.admin-shell.dark-mode .tracking-content,
body.admin-shell.dark-mode .empty-history,
body.admin-shell.dark-mode .settings-panel,
body.admin-shell.dark-mode .settings-body,
body.admin-shell.dark-mode .settings-tabs,
body.admin-shell.dark-mode .settings-modern-page .border,
body.admin-shell.dark-mode .fc-support-shell,
body.admin-shell.dark-mode .fc-support-avatar-card,
body.admin-shell.dark-mode .fc-support-stat,
body.admin-shell.dark-mode .fc-support-table-card,
body.admin-shell.dark-mode .fc-support-card-head,
body.admin-shell.dark-mode .fc-support-pagination,
body.admin-shell.dark-mode .fc-support-table tbody tr,
body.admin-shell.dark-mode .fc-ls-card{
    background:#111c2e!important;
    border-color:#26364c!important;
    color:#e5edf7!important;
    box-shadow:var(--as-soft-shadow)!important;
}

html.admin-dark-mode body.admin-shell .fc-ls-card.trial,
body.admin-shell.dark-mode .fc-ls-card.trial{
    background:linear-gradient(135deg,#0f2742,#155c9d)!important;
    color:#fff!important;
}

html.admin-dark-mode body.admin-shell .shipment-field:focus-within,
html.admin-dark-mode body.admin-shell .status-track-card,
html.admin-dark-mode body.admin-shell .tracking-content,
body.admin-shell.dark-mode .shipment-field:focus-within,
body.admin-shell.dark-mode .status-track-card,
body.admin-shell.dark-mode .tracking-content{
    background:#17243a!important;
}

html.admin-dark-mode body.admin-shell .shipment-field .form-control,
html.admin-dark-mode body.admin-shell .shipment-field .input-group-text,
html.admin-dark-mode body.admin-shell .status-field .form-control,
html.admin-dark-mode body.admin-shell .status-field .form-select,
html.admin-dark-mode body.admin-shell .settings-modern-page .form-control,
html.admin-dark-mode body.admin-shell .settings-modern-page .select2-container .select2-selection,
html.admin-dark-mode body.admin-shell .fc-ls-card .form-control,
html.admin-dark-mode body.admin-shell .fc-support-avatar-card input,
body.admin-shell.dark-mode .shipment-field .form-control,
body.admin-shell.dark-mode .shipment-field .input-group-text,
body.admin-shell.dark-mode .status-field .form-control,
body.admin-shell.dark-mode .status-field .form-select,
body.admin-shell.dark-mode .settings-modern-page .form-control,
body.admin-shell.dark-mode .settings-modern-page .select2-container .select2-selection,
body.admin-shell.dark-mode .fc-ls-card .form-control,
body.admin-shell.dark-mode .fc-support-avatar-card input{
    background:#0b1628!important;
    border-color:#26364c!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .shipment-field h6,
html.admin-dark-mode body.admin-shell .shipment-field small,
html.admin-dark-mode body.admin-shell .status-card-head h5,
html.admin-dark-mode body.admin-shell .status-info-row strong,
html.admin-dark-mode body.admin-shell .status-tracking,
html.admin-dark-mode body.admin-shell .status-track-card h6,
html.admin-dark-mode body.admin-shell .sd-card-header h5,
html.admin-dark-mode body.admin-shell .tracking-number,
html.admin-dark-mode body.admin-shell .info-table td,
html.admin-dark-mode body.admin-shell .tracking-status,
html.admin-dark-mode body.admin-shell .settings-modern-page h4,
html.admin-dark-mode body.admin-shell .settings-modern-page h5,
html.admin-dark-mode body.admin-shell .settings-modern-page h6,
html.admin-dark-mode body.admin-shell .fc-support-title,
html.admin-dark-mode body.admin-shell .fc-support-avatar-card strong,
html.admin-dark-mode body.admin-shell .fc-support-stat strong,
html.admin-dark-mode body.admin-shell .fc-support-card-head h5,
html.admin-dark-mode body.admin-shell .fc-support-ticket-id,
html.admin-dark-mode body.admin-shell .fc-support-source,
html.admin-dark-mode body.admin-shell .fc-support-identity,
html.admin-dark-mode body.admin-shell .fc-support-mobile-message-id,
html.admin-dark-mode body.admin-shell .fc-ls-title,
html.admin-dark-mode body.admin-shell .fc-ls-card h5,
html.admin-dark-mode body.admin-shell .fc-ls-config strong,
body.admin-shell.dark-mode .shipment-field h6,
body.admin-shell.dark-mode .shipment-field small,
body.admin-shell.dark-mode .status-card-head h5,
body.admin-shell.dark-mode .status-info-row strong,
body.admin-shell.dark-mode .status-tracking,
body.admin-shell.dark-mode .status-track-card h6,
body.admin-shell.dark-mode .sd-card-header h5,
body.admin-shell.dark-mode .tracking-number,
body.admin-shell.dark-mode .info-table td,
body.admin-shell.dark-mode .tracking-status,
body.admin-shell.dark-mode .settings-modern-page h4,
body.admin-shell.dark-mode .settings-modern-page h5,
body.admin-shell.dark-mode .settings-modern-page h6,
body.admin-shell.dark-mode .fc-support-title,
body.admin-shell.dark-mode .fc-support-avatar-card strong,
body.admin-shell.dark-mode .fc-support-stat strong,
body.admin-shell.dark-mode .fc-support-card-head h5,
body.admin-shell.dark-mode .fc-support-ticket-id,
body.admin-shell.dark-mode .fc-support-source,
body.admin-shell.dark-mode .fc-support-identity,
body.admin-shell.dark-mode .fc-support-mobile-message-id,
body.admin-shell.dark-mode .fc-ls-title,
body.admin-shell.dark-mode .fc-ls-card h5,
body.admin-shell.dark-mode .fc-ls-config strong{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .status-info-row span,
html.admin-dark-mode body.admin-shell .status-track-meta,
html.admin-dark-mode body.admin-shell .status-track-card p,
html.admin-dark-mode body.admin-shell .tracking-date,
html.admin-dark-mode body.admin-shell .tracking-text,
html.admin-dark-mode body.admin-shell .info-table th,
html.admin-dark-mode body.admin-shell .fc-support-sub,
html.admin-dark-mode body.admin-shell .fc-support-stat span,
html.admin-dark-mode body.admin-shell .fc-support-source-type,
html.admin-dark-mode body.admin-shell .fc-support-message,
html.admin-dark-mode body.admin-shell .fc-support-date,
html.admin-dark-mode body.admin-shell .fc-ls-sub,
html.admin-dark-mode body.admin-shell .fc-ls-card label,
body.admin-shell.dark-mode .status-info-row span,
body.admin-shell.dark-mode .status-track-meta,
body.admin-shell.dark-mode .status-track-card p,
body.admin-shell.dark-mode .tracking-date,
body.admin-shell.dark-mode .tracking-text,
body.admin-shell.dark-mode .info-table th,
body.admin-shell.dark-mode .fc-support-sub,
body.admin-shell.dark-mode .fc-support-stat span,
body.admin-shell.dark-mode .fc-support-source-type,
body.admin-shell.dark-mode .fc-support-message,
body.admin-shell.dark-mode .fc-support-date,
body.admin-shell.dark-mode .fc-ls-sub,
body.admin-shell.dark-mode .fc-ls-card label{
    color:#9fb0c4!important;
}

html.admin-dark-mode body.admin-shell .info-table tr:not(:last-child),
html.admin-dark-mode body.admin-shell .fc-ls-config li,
html.admin-dark-mode body.admin-shell .fc-support-table td,
body.admin-shell.dark-mode .info-table tr:not(:last-child),
body.admin-shell.dark-mode .fc-ls-config li,
body.admin-shell.dark-mode .fc-support-table td{
    border-color:#26364c!important;
}

/* Dashboard-specific polish */
body.admin-shell .admin-dashboard-light{background:transparent!important;margin:0!important;padding:0!important;}
body.admin-shell .admin-dashboard-light .ad-welcome{border:0!important;border-radius:28px!important;background:linear-gradient(135deg,#111827 0%,#1e293b 50%,#f97316 140%)!important;color:#fff!important;box-shadow:0 24px 70px rgba(15,23,42,.20)!important;position:relative;overflow:hidden;}
body.admin-shell .admin-dashboard-light .ad-welcome:after{content:"";position:absolute;right:-80px;top:-80px;width:230px;height:230px;border-radius:50%;background:rgba(255,255,255,.12);}
body.admin-shell .admin-dashboard-light .ad-welcome h2,
body.admin-shell .admin-dashboard-light .ad-welcome p{color:#fff!important;position:relative;z-index:1;}
body.admin-shell .admin-dashboard-light .ad-badge{background:rgba(255,255,255,.16)!important;color:#fed7aa!important;border:1px solid rgba(255,255,255,.20);}
body.admin-shell .admin-dashboard-light .btn-ad-primary{background:linear-gradient(135deg,#f97316,#facc15)!important;color:#111827!important;border:0!important;}
body.admin-shell .admin-dashboard-light .btn-ad-outline{background:rgba(255,255,255,.10)!important;color:#fff!important;border:1px solid rgba(255,255,255,.28)!important;}
body.admin-shell .admin-dashboard-light .ad-card{border:1px solid rgba(148,163,184,.20)!important;border-radius:24px!important;box-shadow:var(--as-soft-shadow)!important;}
body.admin-shell .admin-dashboard-light .ad-stat-icon{border-radius:18px!important;box-shadow:0 12px 28px rgba(15,23,42,.10);}

.admin-mobile-backdrop{display:none;position:fixed;inset:0;z-index:1035;background:rgba(15,23,42,.52);cursor:pointer;-webkit-tap-highlight-color:transparent;backdrop-filter:blur(4px);}
.admin-shell-drawer-header{display:none;}

@media (min-width:992px){
    html.nav_open body.admin-shell .admin-mobile-backdrop{display:none!important;pointer-events:none!important;}
    html.nav_open body.admin-shell .main-header,
    html.nav_open body.admin-shell .main-panel,
    html.nav_open body.admin-shell .wrapper.admin-shell-root{transform:none!important;}
    body.admin-shell #adminShellBtnMobile{display:none!important;}
    body.admin-shell .sidebar.sidebar-style-2{width:var(--as-sidebar-w)!important;margin-top:var(--as-header-h)!important;}
    body.admin-shell .main-header nav.navbar.navbar-header{width:calc(100% - var(--as-sidebar-w))!important;float:right!important;}
    body.admin-shell .wrapper.admin-shell-root .main-panel{width:auto!important;float:none!important;margin-left:var(--as-sidebar-w)!important;}
    body.admin-shell .wrapper.sidebar_minimize .sidebar.sidebar-style-2{width:var(--as-sidebar-mini)!important;}
    body.admin-shell .wrapper.admin-shell-root.sidebar_minimize .main-panel{width:auto!important;float:none!important;margin-left:var(--as-sidebar-mini)!important;}
    body.admin-shell .wrapper.admin-shell-root.sidebar_minimize .logo-header{width:var(--as-sidebar-mini)!important;}
    body.admin-shell .wrapper.admin-shell-root.sidebar_minimize .main-header nav.navbar.navbar-header{width:calc(100% - var(--as-sidebar-mini))!important;}
    body.admin-shell .wrapper.sidebar_minimize .logo-header .logo{font-size:0!important;}
    body.admin-shell .wrapper.sidebar_minimize .logo-header .logo:before{margin-right:0;}
}

@media (max-width:991px){
    body.admin-shell .page-inner{padding:18px!important;}
    body.admin-shell .logo-header{width:100%!important;float:none!important;position:relative;z-index:50;}
    body.admin-shell .main-header nav.navbar.navbar-header{width:100%!important;float:none!important;pointer-events:none;z-index:10;}
    html.topbar_open body.admin-shell .main-header nav.navbar.navbar-header{pointer-events:auto;z-index:80;}
    body.admin-shell #adminShellBtnDesktop{display:none!important;}
    body.admin-shell .logo-header .logo{z-index:1!important;max-width:min(250px,58vw);}
    body.admin-shell .logo-header .more{position:relative;z-index:60;}
    body.admin-shell #adminShellBtnMobile.navbar-toggler.sidenav-toggler{z-index:100;position:relative;}
    html:not(.nav_open) body.admin-shell .sidebar.sidebar-style-2{pointer-events:none;}
    html.nav_open body.admin-shell .sidebar.sidebar-style-2{pointer-events:auto;z-index:1048!important;}
    html.nav_open body.admin-shell .main-header,html.nav_open body.admin-shell .main-panel{transform:none!important;}
    html.nav_open body.admin-shell{overflow-x:hidden;}
    html.nav_open body.admin-shell .admin-mobile-backdrop{display:block;z-index:1036!important;}
    html.nav_open body.admin-shell .wrapper.admin-shell-root .main-panel{position:relative;z-index:1!important;}
    body.admin-shell .wrapper.admin-shell-root .main-panel{width:100%!important;float:none!important;}
    body.admin-shell .admin-shell-drawer-header{display:flex!important;align-items:center;justify-content:space-between;padding:14px 16px;margin:0 5px 10px;border-bottom:1px solid rgba(255,255,255,.12);flex-shrink:0;}
    .admin-shell-drawer-title{font-size:.85rem;font-weight:900;letter-spacing:.08em;color:#fed7aa;text-transform:uppercase;}
    body.admin-shell .admin-shell-drawer-dismiss{appearance:none;-webkit-appearance:none;border:0;background:rgba(255,255,255,.12);color:#f8fafc;width:40px;height:40px;border-radius:14px;font-size:1.5rem;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;touch-action:manipulation;padding:0;}
    body.admin-shell .table-responsive{padding:0;}
}

/* ============================================
   Update Shipment Status Page - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .status-update-page,
body.admin-shell.dark-mode .status-update-page{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .status-card,
body.admin-shell.dark-mode .status-card{
    background:#111c2e!important;
    border-color:#26364c!important;
    box-shadow:var(--as-soft-shadow)!important;
}

html.admin-dark-mode body.admin-shell .status-card-head,
body.admin-shell.dark-mode .status-card-head{
    background:linear-gradient(180deg,#17243a,#111c2e)!important;
    border-bottom-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .status-card-head h5,
body.admin-shell.dark-mode .status-card-head h5{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .status-card-head i,
body.admin-shell.dark-mode .status-card-head i{
    background:#1e3a5f!important;
    color:#60a5fa!important;
}

html.admin-dark-mode body.admin-shell .status-barcode,
body.admin-shell.dark-mode .status-barcode{
    background:#0b1628!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .status-info-row,
body.admin-shell.dark-mode .status-info-row{
    border-bottom-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .status-info-row strong,
body.admin-shell.dark-mode .status-info-row strong{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .status-track-card,
body.admin-shell.dark-mode .status-track-card{
    background:#0b1628!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .status-track-card h6,
body.admin-shell.dark-mode .status-track-card h6{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .status-empty,
body.admin-shell.dark-mode .status-empty{
    color:#9fb0c4!important;
    background:#0b1628!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .status-submit,
body.admin-shell.dark-mode .status-submit{
    background:linear-gradient(135deg,#f97316,#facc15)!important;
    color:#111827!important;
}

html.admin-dark-mode body.admin-shell .status-detail-btn,
body.admin-shell.dark-mode .status-detail-btn{
    background:linear-gradient(135deg,#2563eb,#7c3aed)!important;
    color:#fff!important;
}

/* ============================================
   View Shipment Page - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .shipment-details-page,
body.admin-shell.dark-mode .shipment-details-page{
    background:
        linear-gradient(125deg, rgba(247,147,26,.08), transparent 30%),
        linear-gradient(235deg, rgba(37,99,235,.10), transparent 32%),
        linear-gradient(180deg,#06101d,#0b1628)!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .sd-card,
body.admin-shell.dark-mode .sd-card{
    background:#111c2e!important;
    border-color:#26364c!important;
    box-shadow:var(--as-soft-shadow)!important;
}

html.admin-dark-mode body.admin-shell .sd-card-header,
body.admin-shell.dark-mode .sd-card-header{
    background:linear-gradient(135deg,#17243a,#111c2e)!important;
    border-bottom-color:#26364c!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .sd-card-header h5,
body.admin-shell.dark-mode .sd-card-header h5{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .tracking-box,
body.admin-shell.dark-mode .tracking-box{
    background:#0b1628!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .tracking-number,
body.admin-shell.dark-mode .tracking-number{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .info-table td,
body.admin-shell.dark-mode .info-table td{
    background:#111c2e!important;
    color:#dbe7f5!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .info-table th,
body.admin-shell.dark-mode .info-table th{
    color:#9fb0c4!important;
    background:#0b1628!important;
}

html.admin-dark-mode body.admin-shell .tracking-timeline,
body.admin-shell.dark-mode .tracking-timeline{
    background:#111c2e!important;
}

html.admin-dark-mode body.admin-shell .tracking-item,
body.admin-shell.dark-mode .tracking-item{
    background:#0b1628!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .tracking-item .tracking-status span,
body.admin-shell.dark-mode .tracking-item .tracking-status span{
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .empty-history,
body.admin-shell.dark-mode .empty-history{
    color:#9fb0c4!important;
    background:#0b1628!important;
}

html.admin-dark-mode body.admin-shell .shipment-action-btn,
body.admin-shell.dark-mode .shipment-action-btn{
    color:#e5edf7!important;
    border-color:#26364c!important;
    background:#111c2e!important;
}

html.admin-dark-mode body.admin-shell .shipment-action-btn:hover,
body.admin-shell.dark-mode .shipment-action-btn:hover{
    background:#1e3a5f!important;
    color:#fff!important;
}

html.admin-dark-mode body.admin-shell .total-cost-row td,
body.admin-shell.dark-mode .total-cost-row td{
    background:#1e3a5f!important;
    color:#fff!important;
    font-weight:800!important;
}

html.admin-dark-mode body.admin-shell .package-photo,
body.admin-shell.dark-mode .package-photo{
    border-color:#26364c!important;
    background:#0b1628!important;
}

/* ============================================
   Support Page - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .support-card,
body.admin-shell.dark-mode .support-card{
    background:#111c2e!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .support-card h5,
body.admin-shell.dark-mode .support-card h5{
    color:#e5edf7!important;
}

/* ============================================
   Profile Page - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .profile-card,
body.admin-shell.dark-mode .profile-card{
    background:#111c2e!important;
    border-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell .profile-card h5,
body.admin-shell.dark-mode .profile-card h5{
    color:#e5edf7!important;
}

/* ============================================
   Modal Fixes - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .modal-body,
body.admin-shell.dark-mode .modal-body{
    background:#111c2e!important;
}

html.admin-dark-mode body.admin-shell .modal-body .form-control,
html.admin-dark-mode body.admin-shell .modal-body select.form-control,
html.admin-dark-mode body.admin-shell .modal-body textarea.form-control,
body.admin-shell.dark-mode .modal-body .form-control,
body.admin-shell.dark-mode .modal-body select.form-control,
body.admin-shell.dark-mode .modal-body textarea.form-control{
    background:#0b1628!important;
    border-color:#26364c!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell .modal-body label,
body.admin-shell.dark-mode .modal-body label{
    color:#e5edf7!important;
}

/* ============================================
   Dropdown Visibility Fixes - Dark Mode
   ============================================ */
html.admin-dark-mode body.admin-shell .dropdown-menu,
body.admin-shell.dark-mode .dropdown-menu{
    background:#111c2e!important;
    border:1px solid #26364c!important;
    box-shadow:0 10px 40px rgba(0,0,0,.4)!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu .dropdown-item,
body.admin-shell.dark-mode .dropdown-menu .dropdown-item{
    color:#e5edf7!important;
    padding:10px 16px!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu .dropdown-item:hover,
body.admin-shell.dark-mode .dropdown-menu .dropdown-item:hover{
    background:#1e3a5f!important;
    color:#fff!important;
}

html.admin-dark-mode body.admin-shell .dropdown-menu .dropdown-divider,
body.admin-shell.dark-mode .dropdown-menu .dropdown-divider{
    border-top-color:#26364c!important;
}

html.admin-dark-mode body.admin-shell select.form-control option,
html.admin-dark-mode body.admin-shell .form-select option,
body.admin-shell.dark-mode select.form-control option,
body.admin-shell.dark-mode .form-select option{
    background:#111c2e!important;
    color:#e5edf7!important;
}

html.admin-dark-mode body.admin-shell select.form-control option:checked,
body.admin-shell.dark-mode select.form-control option:checked{
    background:#1e3a5f!important;
    color:#fff!important;
}

/* ============================================
   Light Mode Cream Backgrounds
   ============================================ */
body.admin-shell .bg-white,
body.admin-shell .bg-light{
    background:#fdfbf7!important;
}

body.admin-shell .modal-body{
    background:#fdfbf7!important;
}

body.admin-shell .dropdown-menu{
    background:#fdfbf7!important;
    border:1px solid rgba(148,163,184,.2)!important;
}

body.admin-shell .dropdown-menu .dropdown-item{
    color:#334155!important;
}

body.admin-shell .dropdown-menu .dropdown-item:hover{
    background:#f9f5eb!important;
    color:#ea580c!important;
}

body.admin-shell select.form-control option{
    background:#fdfbf7!important;
    color:#0f172a!important;
}
