:root{--orange:#f36b21;--orange2:#ff8a2b;--navy:#082c54;--ink:#172033;--soft:#f7f8fa;--line:#e5e7eb;--green:#198754;--red:#dc3545}*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--ink);background:#fff}.container{width:min(1180px,94%);margin:auto}.site-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid #eee;box-shadow:0 2px 12px #0000000d}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand img{width:190px;height:auto;display:block}.nav nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap}.nav a{text-decoration:none;color:var(--navy);font-weight:600}.nav a:hover{color:var(--orange)}.page{padding:34px 0 70px}.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;padding:40px 0 55px}.hero h1{font-size:clamp(34px,5vw,58px);line-height:1.02;margin:0 0 16px;color:var(--navy)}.hero h1 span{color:var(--orange)}.hero p{font-size:18px;line-height:1.7;color:#586174}.hero-art{border-radius:26px;background:linear-gradient(135deg,#fff7f0,#eef5ff);padding:28px;min-height:310px;display:grid;place-items:center;overflow:hidden}.hero-art img{max-width:100%;height:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;background:linear-gradient(135deg,var(--orange),#ff9c3d);color:#fff;padding:12px 22px;border-radius:8px;text-decoration:none;font-weight:700;cursor:pointer;box-shadow:0 8px 18px #f36b2133}.btn:hover{filter:brightness(.96);color:#fff}.btn-sm{padding:8px 14px}.btn.secondary{background:var(--navy)}.btn.green{background:var(--green)}.btn.danger{background:var(--red)}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.feature,.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 24px #13213a0b;padding:24px}.feature i{font-size:28px;color:var(--orange);margin-bottom:12px}.feature h3{margin:6px 0}.section-title{text-align:center;margin:35px 0 22px}.section-title h2{color:var(--navy);font-size:32px;margin-bottom:8px}.section-title p{color:#6b7280}.card.narrow{max-width:620px;margin:20px auto}.card h1,.card h2{color:var(--navy)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field label{display:block;font-weight:700;margin-bottom:7px}.field.full{grid-column:1/-1}input,select,textarea{width:100%;padding:12px 13px;border:1px solid #cfd5df;border-radius:8px;font:inherit;background:#fff}textarea{min-height:90px;resize:vertical}.actions{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.steps{display:flex;gap:7px;margin:0 0 24px;overflow:auto}.step{white-space:nowrap;padding:9px 14px;border-radius:20px;background:#eef1f5;color:#5d6573;font-weight:700}.step.active{background:#fff0e6;color:var(--orange)}.order-summary{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;background:#fff8f3;border:1px solid #ffd9bd;border-radius:12px;padding:16px;margin-bottom:22px}.summary-item small{display:block;color:#7b8493}.summary-item strong{display:block;margin-top:3px}.alert{padding:13px 15px;border-radius:8px;margin:12px 0}.alert.success{background:#e9f8ef;color:#176b39}.alert.danger{background:#fdecec;color:#8c2020}.alert.info{background:#edf5ff;color:#164d8a}.muted{color:#6b7280}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse}.table th,.table td{padding:12px 10px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.table th{background:#f8fafc;color:var(--navy)}.badge{display:inline-block;padding:5px 9px;border-radius:20px;font-size:12px;font-weight:800;background:#eef1f5}.badge.orange{background:#fff0e6;color:#c65113}.badge.green{background:#e9f8ef;color:#176b39}.badge.red{background:#fdecec;color:#8c2020}.badge.blue{background:#eaf3ff;color:#1857a0}.dashboard-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.metric{padding:18px;border-radius:12px;background:linear-gradient(135deg,#fff,#f7f9fc);border:1px solid var(--line)}.metric small{color:#6b7280}.metric b{display:block;font-size:28px;color:var(--navy);margin-top:6px}.admin-shell{display:grid;grid-template-columns:235px 1fr;min-height:calc(100vh - 78px)}.sidebar{background:#0d2744;padding:20px 12px}.sidebar a{display:block;padding:12px 14px;color:#dbe7f4;text-decoration:none;border-radius:8px;margin:3px 0}.sidebar a:hover,.sidebar a.active{background:var(--orange);color:#fff}.admin-main{padding:28px;background:#f6f7f9}.topbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.check-row{display:grid;grid-template-columns:1.2fr .5fr 1.5fr;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #eee}.radio{display:flex;gap:15px}.radio label{font-weight:400}.doc-link{font-weight:700;color:var(--navy)}.footer-space{height:20px}.site-footer{background:var(--navy);color:#dce8f6;padding:22px 0}.site-footer span{float:right}.timeline{border-left:3px solid #ffd2b5;margin:15px 0 0 8px;padding-left:20px}.timeline div{margin:0 0 18px}.timeline b{color:var(--navy)}@media(max-width:900px){.hero{grid-template-columns:1fr}.grid3{grid-template-columns:1fr 1fr}.dashboard-cards{grid-template-columns:1fr 1fr}.admin-shell{grid-template-columns:1fr}.sidebar{display:flex;overflow:auto;gap:5px}.sidebar a{white-space:nowrap}.order-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:620px){.nav{align-items:flex-start;padding:12px 0;flex-direction:column}.nav nav{gap:10px 15px}.brand img{width:155px}.form-grid,.grid3,.dashboard-cards{grid-template-columns:1fr}.field.full{grid-column:auto}.order-summary{grid-template-columns:1fr}.check-row{grid-template-columns:1fr}.site-footer span{float:none;display:block;margin-top:7px}.page{padding-top:20px}.hero{padding-top:20px}}

/* ===== Aries Forex Responsive UX Enhancement ===== */
html{scroll-behavior:smooth}
body{overflow-x:hidden;-webkit-text-size-adjust:100%}
button,input,select,textarea{touch-action:manipulation}
a,.btn,.step{ -webkit-tap-highlight-color: transparent }
@media (max-width: 900px){
  .container{width:min(100% - 28px,1180px)}
  .page{padding:24px 0 56px}
  .hero{gap:24px;padding:24px 0 40px}
  .hero p{font-size:16px}
  .grid3{grid-template-columns:repeat(2,1fr)}
  .dashboard-cards{grid-template-columns:repeat(2,1fr)}
  .admin-shell{grid-template-columns:1fr;min-height:auto}
  .sidebar{position:sticky;top:78px;z-index:15;display:flex;overflow-x:auto;overflow-y:hidden;gap:6px;padding:9px 10px;white-space:nowrap;scrollbar-width:none}
  .sidebar::-webkit-scrollbar{display:none}
  .sidebar a{flex:0 0 auto;margin:0;padding:11px 13px}
  .admin-main{padding:20px 16px 36px}
  .topbar{gap:14px;align-items:flex-start}
  .order-summary{grid-template-columns:repeat(2,1fr)}
  .table-wrap{-webkit-overflow-scrolling:touch}
}
@media (max-width: 620px){
  .container{width:calc(100% - 20px)}
  .site-header{position:sticky;top:0}
  .nav{min-height:0;padding:10px 0;gap:10px}
  .brand img{width:148px}
  .nav nav{width:100%;display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;padding-bottom:2px;scrollbar-width:none}
  .nav nav::-webkit-scrollbar{display:none}
  .nav nav a{flex:0 0 auto;padding:8px 10px;font-size:14px;border-radius:8px}
  .page{padding:16px 0 40px}
  .hero{grid-template-columns:1fr;padding:16px 0 28px}
  .hero h1{font-size:34px}
  .hero-art{min-height:220px;padding:18px;border-radius:18px}
  .grid3,.dashboard-cards,.form-grid{grid-template-columns:1fr!important}
  .feature,.card{padding:18px;border-radius:12px}
  .card h1{font-size:26px}
  .card h2{font-size:22px}
  .field.full{grid-column:auto}
  input,select,textarea{font-size:16px;min-height:46px}
  textarea{min-height:110px}
  .actions{flex-direction:column;align-items:stretch}
  .actions .btn,.actions button{width:100%;min-height:46px}
  .steps{margin-bottom:16px;padding-bottom:3px;gap:6px}
  .step{flex:0 0 auto;padding:9px 12px;font-size:13px}
  .order-summary{grid-template-columns:1fr!important;gap:8px;padding:13px}
  .summary-item{padding:3px 0}
  .topbar{flex-direction:column}
  .topbar .btn{width:100%}
  .table-wrap table{min-width:720px}
  .check-row{grid-template-columns:1fr!important;gap:9px}
  .radio{flex-wrap:wrap;gap:10px 18px}
  .site-footer{padding:18px 0}
  .site-footer span{float:none;display:block;margin-top:7px}
  .timeline{margin-left:4px;padding-left:15px}
  .timeline div{margin-bottom:16px}
  .admin-main{padding:14px 10px 28px}
  .admin-main .card{overflow:hidden}
  .sidebar{top:62px}
  .sidebar a{font-size:14px}
}
/* Mobile status timeline */
.timeline-modern{margin:18px 0 4px;position:relative}
.timeline-modern:before{content:"";position:absolute;left:16px;top:18px;bottom:18px;width:2px;background:#e8edf3}
.timeline-item{position:relative;display:grid;grid-template-columns:34px 1fr;gap:12px;padding-bottom:18px}
.timeline-dot{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#eef1f5;color:#7b8493;font-weight:900;z-index:1}
.timeline-item.reached .timeline-dot{background:#dff5e7;color:#15803d;border:2px solid #36a765}
.timeline-item.pending .timeline-dot{background:#f4f6f8;color:#9aa3af;border:2px solid #d8dee7}
.timeline-content{padding:8px 12px;border:1px solid #e7ebf0;border-radius:10px;background:#fff}
.timeline-item.reached .timeline-content{border-color:#d9efe1;background:#fbfefc}
.timeline-label{font-weight:800;color:var(--navy)}
.timeline-state{margin-top:3px;font-size:13px;color:#6b7280}
.timeline-time{margin-top:6px;font-size:12px;color:#15803d;font-weight:700}
.timeline-item.pending .timeline-content{background:#fafbfc}
.collection-path{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:800;background:#eaf3ff;color:#1857a0}
.mobile-menu-toggle{display:none}
@media(max-width:620px){.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid #d7dee8;background:#fff;color:var(--navy);border-radius:9px;cursor:pointer;flex:0 0 auto}.admin-header-row{display:flex;align-items:center;justify-content:space-between;width:100%}.admin-user{font-size:13px}.admin-user .admin-name{display:none}.admin-shell.admin-sidebar-collapsed .sidebar{display:none}.admin-shell.admin-sidebar-collapsed .admin-main{min-height:calc(100vh - 70px)}}

/* ===== Final admin / mobile UX fixes ===== */
html{scroll-behavior:smooth}
body{overflow-x:hidden;-webkit-text-size-adjust:100%}
button,input,select,textarea{touch-action:manipulation}

.admin-body{background:#f5f7fa}
.admin-header{position:sticky;top:0;z-index:100;background:#fff;border-bottom:1px solid #e5e7eb;box-shadow:0 2px 14px rgba(13,39,68,.08)}
.admin-header-inner{min-height:76px;display:flex;align-items:center;gap:18px;position:relative}
.admin-brand{display:block;flex:0 0 auto}
.admin-brand img{width:190px;height:auto;display:block}
.admin-menu-toggle{display:none;border:0;background:#0d2744;color:#fff;border-radius:9px;width:42px;height:42px;align-items:center;justify-content:center;cursor:pointer;font-size:18px}
.admin-user{margin-left:auto;display:flex;align-items:center;gap:8px;white-space:nowrap;color:#0d2744}
.admin-user a{color:#0d2744;text-decoration:none;font-weight:700}
.admin-user a:hover{color:#f36b21}
.admin-shell{display:grid;grid-template-columns:240px minmax(0,1fr);min-height:calc(100vh - 76px);position:relative}
.admin-shell .sidebar{background:#0d2744;padding:18px 12px;position:sticky;top:76px;height:calc(100vh - 76px);overflow-y:auto;z-index:90}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;color:#8fb1d4;padding:4px 10px 12px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.sidebar-close{display:none;background:transparent;border:0;color:#fff;font-size:18px}
.sidebar-link{display:flex!important;align-items:center;gap:11px;padding:12px 13px!important;color:#dbe7f4!important;text-decoration:none;border-radius:9px;margin:4px 0!important;min-height:44px;font-weight:600!important}
.sidebar-link i{width:18px;text-align:center;opacity:.9}
.sidebar-link:hover{background:rgba(255,255,255,.09)!important;color:#fff!important}
.sidebar-link.active{background:#f36b21!important;color:#fff!important;box-shadow:0 7px 18px rgba(243,107,33,.2)}
.admin-main{min-width:0;padding:28px clamp(16px,3vw,34px) 44px;background:#f5f7fa}
.admin-backdrop{display:none}
body.menu-open{overflow:hidden}

/* Admin content cards should never be pushed under the sidebar. */
.admin-main .card{width:100%;max-width:none}
.admin-main .topbar{gap:18px}

/* Order-processing step indicator */
.af-process-step{display:flex;gap:14px;align-items:flex-start;padding:14px 0}
.af-process-index{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#e9eef5;color:#0d2744;font-weight:800;flex:0 0 34px}
.af-process-step.current .af-process-index{background:#f36b21;color:#fff}
.af-process-step.done .af-process-index{background:#198754;color:#fff}
.af-process-step h3{margin:0 0 4px;color:#0d2744}
.af-process-step p{margin:0;color:#64748b}

/* Tracking timeline */
.timeline-modern{position:relative;margin:18px 0 0 6px;padding-left:38px}
.timeline-modern:before{content:"";position:absolute;left:14px;top:12px;bottom:12px;width:3px;background:#e7ebef;border-radius:99px}
.timeline-item{position:relative;display:flex;gap:14px;padding:0 0 26px;min-height:54px}
.timeline-dot{position:absolute;left:-38px;top:0;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:#e9edf2;color:#7b8493;font-weight:900;font-size:16px;z-index:1;border:3px solid #fff;box-shadow:0 0 0 1px #d7dde5}
.timeline-item.reached .timeline-dot{background:#198754;color:#fff;box-shadow:0 0 0 1px #198754}
.timeline-item.reached .timeline-label{color:#0d2744;font-weight:800}
.timeline-item.pending .timeline-label{color:#0d2744;font-weight:600}
.timeline-state{margin-top:3px;color:#7b8493}
.timeline-item.reached .timeline-state{color:#198754;font-weight:700}
.timeline-time{margin-top:5px;color:#64748b;font-size:13px}
.collection-path{display:inline-flex;align-items:center;gap:8px;padding:8px 11px;border-radius:20px;background:#eef5ff;color:#1857a0;font-weight:800}

/* Keep radios/checks sane with global input rules */
input[type=radio],input[type=checkbox]{width:auto;min-height:auto;padding:0}

@media(max-width:900px){
  .admin-header-inner{min-height:66px;padding-top:8px;padding-bottom:8px}
  .admin-menu-toggle{display:inline-flex}
  .admin-brand img{width:160px}
  .admin-user{font-size:14px}
  .admin-shell{display:block;min-height:calc(100vh - 66px)}
  .admin-shell .sidebar{position:fixed;top:66px;left:0;bottom:0;width:272px;height:auto;transform:translateX(-105%);transition:transform .22s ease;box-shadow:12px 0 30px rgba(0,0,0,.16);overflow-y:auto;padding:14px 12px}
  .admin-shell .sidebar.open{transform:translateX(0)}
  .sidebar-close{display:inline-flex}
  .admin-backdrop{position:fixed;inset:66px 0 0;background:rgba(2,12,24,.42);z-index:80;opacity:0;pointer-events:none;transition:opacity .2s}
  .admin-backdrop.show{display:block;opacity:1;pointer-events:auto}
  .admin-main{padding:20px 14px 36px}
  .admin-main .topbar{align-items:flex-start}
}
@media(max-width:620px){
  .admin-header-inner{gap:10px}
  .admin-brand img{width:145px}
  .admin-user{font-size:13px;gap:5px}
  .admin-user strong{max-width:115px;overflow:hidden;text-overflow:ellipsis}
  .admin-main{padding:16px 10px 30px}
  .admin-main .topbar{flex-direction:column}
  .admin-main .topbar .btn{width:100%}
  .check-row{grid-template-columns:1fr!important}
  .check-row .radio{justify-content:flex-start}
  .timeline-modern{padding-left:30px}
  .timeline-dot{left:-30px}
  .timeline-modern:before{left:14px}
}


/* ===== FINAL RESPONSIVE / ADMIN / CUSTOMER UX OVERRIDES ===== */
html{overflow-x:hidden}
body{min-width:0;overflow-x:hidden}

/* Admin shell: one stable layout on desktop/tablet, off-canvas only on narrow screens. */
.admin-body{background:#f5f7fa}
.admin-header{position:sticky;top:0;z-index:120;background:#fff;border-bottom:1px solid #e7ebf0;box-shadow:0 2px 12px rgba(8,44,84,.08)}
.admin-header-inner{width:min(1380px,96%);min-height:76px;margin:0 auto;display:flex;align-items:center;gap:16px;padding:10px 0}
.admin-menu-toggle{display:none!important;flex:0 0 42px}
.admin-brand{display:flex;align-items:center;flex:0 0 auto}
.admin-brand img{width:190px;max-width:100%;height:auto;display:block}
.admin-user{margin-left:auto;display:flex;align-items:center;gap:8px;white-space:nowrap;color:var(--navy);font-size:15px}
.admin-user a{color:var(--navy);font-weight:700;text-decoration:none}
.admin-user a:hover{color:var(--orange)}
.admin-shell{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:calc(100vh - 76px)!important;position:relative}
.admin-shell .sidebar{display:block!important;background:#0d2744!important;color:#fff;padding:18px 12px!important;position:sticky!important;top:76px!important;height:calc(100vh - 76px)!important;overflow-y:auto!important;z-index:90!important;transform:none!important;transition:none!important}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;color:#fff;padding:6px 10px 14px;font-size:14px}
.sidebar-close{display:none!important}
.sidebar-link,.admin-shell .sidebar a{display:flex!important;align-items:center!important;gap:12px!important;padding:12px 13px!important;color:#dbe7f4!important;text-decoration:none!important;border-radius:10px!important;margin:4px 0!important;white-space:nowrap!important;font-weight:600!important}
.sidebar-link i{width:20px;text-align:center;font-size:15px;flex:0 0 20px}
.sidebar-link:hover,.sidebar-link.active{background:var(--orange)!important;color:#fff!important;box-shadow:0 7px 18px rgba(243,107,33,.20)!important}
.admin-main{min-width:0!important;padding:28px clamp(16px,3vw,34px) 44px!important;background:#f5f7fa!important}
.admin-backdrop{display:none}
.admin-main .card{width:100%;max-width:none}

/* Better customer navigation on phones. */
.site-header .container.nav{min-width:0}

/* Customer dashboard mobile: app-like stacked cards and a readable order list. */
.customer-dashboard .topbar{align-items:center}
.customer-dashboard .dashboard-cards .metric{min-width:0}
.customer-dashboard .dashboard-actions{display:flex;gap:10px;flex-wrap:wrap}
.customer-dashboard .order-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:12px}
.customer-dashboard .order-table{min-width:720px}
@media(max-width:1100px){
  .admin-menu-toggle{display:inline-flex!important}
  .admin-header-inner{min-height:68px;padding:8px 12px}
  .admin-brand img{width:165px}
  .admin-shell{display:block!important;min-height:calc(100vh - 68px)!important}
  .admin-shell .sidebar{position:fixed!important;top:68px!important;left:0!important;bottom:0!important;width:280px!important;height:auto!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:14px 0 32px rgba(0,0,0,.18)!important;overflow-y:auto!important;z-index:110!important}
  .admin-shell .sidebar.open{transform:translateX(0)!important}
  .sidebar-close{display:inline-flex!important;align-items:center;justify-content:center;width:34px;height:34px;border:0;background:rgba(255,255,255,.10);color:#fff;border-radius:8px;cursor:pointer}
  .admin-backdrop{position:fixed!important;inset:68px 0 0!important;background:rgba(2,12,24,.45)!important;z-index:100!important;opacity:0;pointer-events:none;display:block!important;transition:opacity .2s ease}
  .admin-backdrop.show{opacity:1;pointer-events:auto}
  .admin-main{padding:20px 16px 36px!important}
  .admin-user{font-size:14px}
}
@media(max-width:620px){
  .admin-header-inner{width:100%;padding:8px 10px;gap:10px}
  .admin-menu-toggle{width:40px!important;height:40px!important;display:inline-flex!important;align-items:center;justify-content:center;border:1px solid #d7dee8;background:#fff;color:var(--navy);border-radius:9px;cursor:pointer}
  .admin-brand img{width:142px}
  .admin-user{font-size:12px;gap:5px}
  .admin-user strong{max-width:82px;overflow:hidden;text-overflow:ellipsis}
  .admin-main{padding:16px 10px 30px!important}
  .admin-main .topbar{gap:10px}
  .admin-main h1{font-size:28px;line-height:1.15}
  .admin-main .card{border-radius:12px;padding:16px}

  .customer-dashboard .topbar{display:flex;flex-direction:column;align-items:stretch;gap:10px}
  .customer-dashboard .topbar .btn{width:100%}
  .customer-dashboard .dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .customer-dashboard .metric{padding:14px;border-radius:12px}
  .customer-dashboard .metric b{font-size:24px}
  .customer-dashboard .order-summary{grid-template-columns:1fr 1fr}
  .customer-dashboard .order-history-head{display:flex;justify-content:space-between;align-items:center;gap:10px}

  .form-grid{grid-template-columns:1fr!important;gap:14px}
  .field.full{grid-column:auto!important}
  input,select,textarea{font-size:16px!important;min-height:48px}
  .actions{flex-direction:column;align-items:stretch}
  .actions .btn,.btn{width:100%}
  .order-summary{grid-template-columns:1fr!important}
  .steps{margin-bottom:16px;padding-bottom:3px}
  .step{font-size:13px;padding:8px 11px}

  /* Strong completed-state visibility in tracking. */
  .timeline-modern{padding-left:34px!important;margin-left:2px!important}
  .timeline-modern:before{left:12px!important;background:#dce3ea!important}
  .timeline-dot{left:-34px!important;width:30px!important;height:30px!important}
  .timeline-item.reached .timeline-dot{background:#198754!important;color:#fff!important;box-shadow:0 0 0 2px #198754,0 0 0 5px #fff!important}
  .timeline-item.reached .timeline-label{color:#0d5d36!important}
  .timeline-item.reached .timeline-state{color:#198754!important}
  .timeline-time{font-size:12px!important}
}

/* Searchable country/state selects (Tom Select). */
.af-search-select.ts-wrapper{width:100%}
.af-search-select .ts-control{min-height:48px!important;border:1px solid #cfd5df!important;border-radius:8px!important;padding:10px 13px!important;font-size:16px!important;box-shadow:none!important;background:#fff!important}
.af-search-select.focus .ts-control{border-color:#f36b21!important;box-shadow:0 0 0 3px rgba(243,107,33,.12)!important}
.af-search-select .ts-dropdown{border:1px solid #d8dee7!important;border-radius:10px!important;box-shadow:0 14px 28px rgba(16,24,40,.12)!important;z-index:2000!important}
.af-search-select .option,.af-search-select .selected{font-size:15px!important;padding:10px 12px!important}
.af-search-select .no-results{padding:10px 12px;color:#6b7280}

/* Tracking: IST timestamps and green completed checks. */
.timeline-item.reached .timeline-dot{background:#198754!important;color:#fff!important}
.timeline-item.reached .timeline-label{color:#0d5d36!important}
.timeline-item.reached .timeline-state{color:#198754!important}


/* ===== FINAL ADMIN LAYOUT OVERRIDE 2026-09-12 ===== */
html,body{min-width:0;overflow-x:hidden}
body.admin-body{background:#f5f7fa!important;color:#172033!important}
body.admin-body .admin-header{position:sticky!important;top:0!important;left:0!important;right:0!important;z-index:1200!important;background:#fff!important;border-bottom:1px solid #e7ebf0!important;box-shadow:0 2px 12px rgba(8,44,84,.08)!important}
body.admin-body .admin-header-inner{width:min(1400px,96%)!important;min-height:76px!important;margin:0 auto!important;display:flex!important;align-items:center!important;gap:16px!important;padding:10px 0!important}
body.admin-body .admin-menu-toggle{display:none!important;width:42px!important;height:42px!important;flex:0 0 42px!important;align-items:center!important;justify-content:center!important;border:1px solid #d7dee8!important;background:#fff!important;color:#0d2744!important;border-radius:9px!important;cursor:pointer!important}
body.admin-body .admin-brand{display:flex!important;align-items:center!important;flex:0 0 auto!important}
body.admin-body .admin-brand img{width:190px!important;height:auto!important;max-width:100%!important;display:block!important}
body.admin-body .admin-user{margin-left:auto!important;display:flex!important;align-items:center!important;gap:8px!important;white-space:nowrap!important;color:#0d2744!important;font-size:15px!important}
body.admin-body .admin-user a{color:#0d2744!important;text-decoration:none!important;font-weight:700!important}
body.admin-body .admin-user a:hover{color:#f36b21!important}
body.admin-body .admin-shell{display:grid!important;grid-template-columns:250px minmax(0,1fr)!important;min-height:calc(100vh - 76px)!important;position:relative!important}
body.admin-body .admin-shell .sidebar{display:block!important;background:#0d2744!important;color:#fff!important;padding:18px 12px!important;position:sticky!important;top:76px!important;height:calc(100vh - 76px)!important;overflow-y:auto!important;overflow-x:hidden!important;z-index:900!important;transform:none!important}
body.admin-body .sidebar-head{display:flex!important;align-items:center!important;justify-content:space-between!important;color:#fff!important;padding:6px 10px 14px!important;font-size:14px!important;font-weight:800!important}
body.admin-body .sidebar-close{display:none!important}
body.admin-body .sidebar-link{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;min-height:44px!important;padding:12px 13px!important;margin:4px 0!important;border-radius:10px!important;color:#dbe7f4!important;text-decoration:none!important;white-space:nowrap!important;font-weight:600!important}
body.admin-body .sidebar-link i{width:20px!important;min-width:20px!important;text-align:center!important;font-size:15px!important;flex:0 0 20px!important}
body.admin-body .sidebar-link:hover{background:rgba(255,255,255,.10)!important;color:#fff!important}
body.admin-body .sidebar-link.active{background:#f36b21!important;color:#fff!important;box-shadow:0 7px 18px rgba(243,107,33,.22)!important}
body.admin-body .admin-main{min-width:0!important;padding:28px clamp(16px,3vw,34px) 44px!important;background:#f5f7fa!important}
body.admin-body .admin-main .card{width:100%!important;max-width:none!important}
body.admin-body .admin-main h1{color:#082c54!important}
body.admin-body .table-wrap{width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
body.admin-body table.dataTable{width:100%!important}
body.admin-body .dataTables_wrapper{width:100%!important}
body.admin-body .dataTables_wrapper .dt-layout-row{margin:10px 0!important;gap:12px!important;align-items:center!important;flex-wrap:wrap!important}
body.admin-body .dataTables_wrapper .dt-search{margin-left:auto!important}
body.admin-body .dataTables_wrapper .dt-search input{min-width:240px!important;padding:9px 11px!important;border:1px solid #cfd5df!important;border-radius:8px!important;background:#fff!important}
body.admin-body .dataTables_wrapper .dt-length select{width:auto!important;display:inline-block!important;margin:0 5px!important;padding:7px 9px!important}
body.admin-body table.dataTable thead th{white-space:nowrap!important;background:#f8fafc!important;color:#0d2744!important}
@media(max-width:1100px){
 body.admin-body .admin-menu-toggle{display:inline-flex!important}
 body.admin-body .admin-header-inner{min-height:68px!important;padding:8px 14px!important;width:100%!important}
 body.admin-body .admin-brand img{width:165px!important}
 body.admin-body .admin-shell{display:block!important;min-height:calc(100vh - 68px)!important}
 body.admin-body .admin-shell .sidebar{position:fixed!important;top:68px!important;left:0!important;bottom:0!important;width:285px!important;height:auto!important;transform:translateX(-105%)!important;transition:transform .22s ease!important;box-shadow:14px 0 32px rgba(0,0,0,.18)!important;z-index:1100!important;padding:14px 12px!important}
 body.admin-body .admin-shell .sidebar.open{transform:translateX(0)!important}
 body.admin-body .sidebar-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;border:0!important;background:rgba(255,255,255,.10)!important;color:#fff!important;border-radius:8px!important;cursor:pointer!important}
 body.admin-body .admin-backdrop{position:fixed!important;inset:68px 0 0!important;background:rgba(2,12,24,.45)!important;z-index:1000!important;opacity:0!important;pointer-events:none!important;display:block!important;transition:opacity .2s ease!important}
 body.admin-body .admin-backdrop.show{opacity:1!important;pointer-events:auto!important}
 body.admin-body .admin-main{padding:20px 16px 36px!important}
}
@media(max-width:620px){
 body.admin-body .admin-header-inner{padding:8px 10px!important;gap:10px!important}
 body.admin-body .admin-brand img{width:145px!important}
 body.admin-body .admin-user{font-size:12px!important;gap:5px!important}
 body.admin-body .admin-user strong{max-width:90px!important;overflow:hidden!important;text-overflow:ellipsis!important}
 body.admin-body .admin-main{padding:16px 10px 30px!important}
 body.admin-body .admin-main h1{font-size:28px!important;line-height:1.15!important}
 body.admin-body .dataTables_wrapper .dt-layout-row{display:flex!important;flex-direction:column!important;align-items:stretch!important}
 body.admin-body .dataTables_wrapper .dt-search{margin-left:0!important}
 body.admin-body .dataTables_wrapper .dt-search input{width:100%!important;min-width:0!important}
}
