﻿.dashboard-page{background:#eef2f7}.app-shell{min-height:100vh;display:flex}.sidebar{width:282px;background:#0f172a;color:#e5e7eb;display:flex;flex-direction:column;position:sticky;top:0;height:100vh;transition:.25s ease;z-index:20}.sidebar.collapsed{width:88px}.sidebar-brand{height:76px;display:flex;align-items:center;gap:12px;padding:18px;border-bottom:1px solid rgba(255,255,255,.08)}.sidebar-brand img{width:42px;height:42px}.sidebar-brand strong{display:block;font-size:17px}.sidebar-brand span{display:block;font-size:12px;color:#94a3b8}.sidebar.collapsed .sidebar-brand div,.sidebar.collapsed .nav-link span:last-child{display:none}.sidebar-nav{padding:14px;display:grid;gap:6px;overflow:auto}.nav-link{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#cbd5e1;border-radius:12px;padding:12px 13px;text-align:left;font-weight:700;transition:.2s ease}.nav-link:hover{background:rgba(255,255,255,.08);color:#fff}.nav-link.active{background:#2563eb;color:#fff}.nav-icon{width:28px;height:28px;border-radius:9px;background:rgba(255,255,255,.10);display:flex;align-items:center;justify-content:center;font-size:10px;font-weight:900;flex:0 0 auto}.nav-button{font:inherit}.main-area{flex:1;min-width:0}.top-header{height:76px;background:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 24px;position:sticky;top:0;z-index:10}.header-left,.header-right,.header-title,.profile-button{display:flex;align-items:center}.header-left{gap:18px}.header-title{gap:12px}.header-title img{width:42px;height:42px}.header-title h1{margin:0;font-size:20px}.header-title p{margin:3px 0 0;color:var(--muted);font-size:12px}.header-right{gap:14px}.header-icon,.notification-button,.profile-button{border:1px solid var(--border);background:#fff;border-radius:12px;color:#334155;font-weight:800}.header-icon{padding:10px 12px}.notification-button{height:42px;min-width:64px;display:flex;gap:7px;align-items:center;justify-content:center}.notification-button b{background:#ef4444;color:#fff;border-radius:999px;font-size:10px;padding:2px 6px}.profile-menu{position:relative}.profile-button{gap:9px;padding:6px 10px}.profile-button img{width:34px;height:34px;border-radius:999px}.profile-dropdown{position:absolute;right:0;top:52px;width:190px;background:#fff;border:1px solid var(--border);border-radius:14px;box-shadow:var(--shadow);padding:8px}.profile-dropdown button{display:block;width:100%;background:#fff;border:0;text-align:left;padding:10px 12px;border-radius:10px;color:#334155;font-weight:700}.profile-dropdown button:hover{background:#f1f5f9}.dashboard-main{padding:26px;max-width:1500px;margin:0 auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.eyebrow{margin:0 0 6px;color:var(--primary);font-weight:900;text-transform:uppercase;font-size:12px;letter-spacing:.08em}.page-heading h2{margin:0;font-size:30px}.date-chip{background:#fff;border:1px solid var(--border);border-radius:12px;padding:10px 14px;color:#475569;font-weight:800}.stat-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.stat-card{background:#fff;border:1px solid var(--border);border-radius:18px;padding:20px;box-shadow:0 12px 30px rgba(15,23,42,.06);border-left:5px solid var(--primary)}.stat-card span{display:block;color:#64748b;font-size:13px;font-weight:800}.stat-card strong{display:block;font-size:30px;margin:10px 0;color:#0f172a}.stat-card p{margin:0;color:#64748b;font-size:13px}.stat-card.green{border-left-color:#16a34a}.stat-card.orange{border-left-color:#f59e0b}.stat-card.purple{border-left-color:#7c3aed}.stat-card.slate{border-left-color:#475569}.dashboard-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-top:20px}.panel{background:#fff;border:1px solid var(--border);border-radius:18px;box-shadow:0 12px 30px rgba(15,23,42,.06);overflow:hidden}.panel-header{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border);background:#f8fafc}.panel-header h3{margin:0;font-size:17px}.panel-header span{color:#64748b;font-size:12px;font-weight:800}.recent-activity{grid-row:span 2}.activity-list,.table-list{padding:14px;display:grid;gap:10px}.activity-item,.empty-state,.row-item{border:1px solid #e5eaf3;border-radius:12px;padding:12px 14px;background:#fff}.activity-item strong,.row-item strong{display:block;color:#0f172a}.activity-item span,.row-item span,.empty-state{color:#64748b;font-size:13px}.empty-state{text-align:center;padding:34px 14px;background:#f8fafc}
@media (max-width:1180px){.stat-grid{grid-template-columns:repeat(3,1fr)}.dashboard-grid{grid-template-columns:1fr}.sidebar{position:fixed;left:0;transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}.sidebar.collapsed{width:282px}.main-area{width:100%}}
@media (max-width:760px){.app-shell{display:block}.top-header{padding:0 14px;height:auto;min-height:72px;gap:10px;flex-wrap:wrap}.header-left{gap:10px;min-width:0}.header-title{min-width:0}.header-title img{width:34px;height:34px}.header-title h1{font-size:16px;line-height:1.15}.header-title p,.profile-button span{display:none}.header-right{gap:8px}.notification-button,.profile-button,.header-icon{min-height:40px}.dashboard-main{padding:14px}.page-heading{align-items:flex-start;gap:12px;flex-direction:column}.stat-grid{grid-template-columns:1fr}.page-heading h2{font-size:24px}.sidebar{width:min(84vw,280px)}.sidebar.open{box-shadow:18px 0 40px rgba(15,23,42,.28)}.sidebar-nav{max-height:calc(100vh - 76px);padding-bottom:18px}.dashboard-grid{gap:12px}.panel-header,.list-toolbar,.card-title{padding:12px!important}}

/* Modern dashboard shell refresh */
.sidebar{background:linear-gradient(180deg,#111b2f 0%,#0b1323 100%);box-shadow:12px 0 34px rgba(15,23,42,.12)}.sidebar-brand{height:86px}.sidebar-brand img,.header-title img{border-radius:14px;box-shadow:0 12px 26px rgba(37,99,235,.20)}.nav-link{border-radius:16px;margin:2px 0;color:#cbd6e5}.nav-link.active{background:linear-gradient(135deg,#2f66f2,#2458e6);box-shadow:0 14px 30px rgba(47,102,242,.28)}.nav-icon{background:rgba(255,255,255,.10);border-radius:12px}.top-header{height:86px;background:rgba(255,255,255,.92);backdrop-filter:blur(12px);box-shadow:0 10px 30px rgba(15,23,42,.05)}.header-icon,.notification-button,.profile-button{border-radius:16px;min-height:48px}.dashboard-main{padding:30px}.page-heading h2{font-size:34px;letter-spacing:0}.stat-card,.panel,.customer-card,.user-card{border-radius:22px!important;box-shadow:0 18px 45px rgba(15,23,42,.08)!important}.stat-card{padding:24px}.stat-card strong{font-size:36px}.panel-header,.card-title,.list-toolbar{background:linear-gradient(180deg,#fbfdff,#f4f7fb)!important}

/* Final prototype icon polish */
.nav-icon svg,.bell-icon svg,.header-icon svg{width:18px;height:18px;display:block;fill:currentColor}.nav-icon{color:inherit}.nav-link.active .nav-icon{background:rgba(255,255,255,.18)}.icon-label{display:inline-flex;align-items:center;gap:8px}.notification-button{color:#334155}.notification-button .bell-icon{display:grid;place-items:center}.sidebar{border-right:1px solid rgba(255,255,255,.06)}.sidebar-nav{gap:8px}.nav-link{font-size:15px;letter-spacing:.01em}.profile-button{box-shadow:0 10px 24px rgba(15,23,42,.06)}.date-chip{box-shadow:0 12px 30px rgba(15,23,42,.06)}.dashboard-main{animation:pageIn .25s ease}.stat-card,.panel{transition:transform .18s ease,box-shadow .18s ease}.stat-card:hover,.panel:hover{transform:translateY(-2px);box-shadow:0 22px 52px rgba(15,23,42,.10)!important}@keyframes pageIn{from{opacity:.7;transform:translateY(6px)}to{opacity:1;transform:none}}
/* Compact Professional Redesign - final override */
.sidebar{width:238px!important;background:#101827!important}
.sidebar.collapsed{width:70px!important}
.sidebar-brand{height:60px!important;padding:10px 13px!important;gap:9px!important}
.sidebar-brand img{width:32px!important;height:32px!important;border-radius:10px!important}
.sidebar-brand strong{font-size:14px!important;line-height:1.1!important}
.sidebar-brand span{font-size:10.5px!important}
.sidebar-nav{padding:9px!important;gap:3px!important}
.nav-link{padding:8px 9px!important;border-radius:10px!important;font-size:12.5px!important;gap:9px!important;margin:1px 0!important;font-weight:700!important}
.nav-icon{width:26px!important;height:26px!important;border-radius:8px!important}
.nav-icon svg,.bell-icon svg,.header-icon svg{width:14px!important;height:14px!important}
.top-header{height:60px!important;padding:0 16px!important;background:#fff!important;box-shadow:0 6px 18px rgba(15,23,42,.05)!important}
.header-left{gap:10px!important}.header-right{gap:8px!important}.header-title{gap:9px!important}
.header-title img{width:32px!important;height:32px!important;border-radius:10px!important}
.header-title h1{font-size:16px!important;line-height:1.1!important}.header-title p{font-size:10.5px!important;margin-top:2px!important}
.header-icon,.notification-button,.profile-button{min-height:34px!important;border-radius:10px!important;font-size:12px!important;padding:6px 9px!important}
.notification-button{min-width:52px!important}.notification-button b{font-size:9px!important;padding:1px 5px!important}.profile-button img{width:26px!important;height:26px!important}
.dashboard-main{padding:16px!important;max-width:1360px!important}.page-heading{margin-bottom:12px!important}.eyebrow{font-size:10.5px!important;margin-bottom:3px!important}.page-heading h2{font-size:22px!important;line-height:1.15!important}.date-chip{padding:7px 10px!important;border-radius:9px!important;font-size:11.5px!important}
.stat-grid{gap:10px!important}.stat-card{padding:12px 14px!important;border-radius:12px!important;border-left-width:4px!important}.stat-card span{font-size:11.5px!important}.stat-card strong{font-size:22px!important;margin:4px 0!important}.stat-card p{font-size:11.5px!important}
.dashboard-grid{gap:12px!important;margin-top:12px!important}.panel{border-radius:12px!important}.panel-header{padding:10px 12px!important}.panel-header h3{font-size:14px!important}.panel-header span{font-size:11px!important}.activity-list,.table-list{padding:10px!important;gap:7px!important}.activity-item,.row-item,.empty-state{padding:9px 10px!important;border-radius:9px!important}.activity-item span,.row-item span,.empty-state{font-size:12px!important}
/* Field + Icon Polish - compact final pass */
html{font-size:12.5px!important}
body{font-size:12.5px!important}
input,select,textarea,.ts-control,.tom-select,.choices__inner{min-height:34px!important;font-size:12px!important;line-height:1.25!important;padding:7px 9px!important;border-radius:8px!important}
select{background-size:14px!important;background-position:right 9px center!important;padding-right:30px!important}
input::placeholder,textarea::placeholder{font-size:11.5px!important;color:#9aa4b2!important}
.form-group label,.input-label,label{font-size:11px!important;line-height:1.2!important;margin-bottom:4px!important}
.field-error,.error-message,.invalid-feedback{font-size:10px!important;line-height:1.25!important;margin-top:3px!important}
button,.btn,.primary-button,.primary-action,.secondary-action{min-height:34px!important;font-size:11.5px!important;line-height:1.2!important;padding:7px 10px!important;border-radius:8px!important}
svg,.nav-icon svg,.cms-nav-icon svg,.header-icon svg,.cms-header-icon svg,.bell-icon svg,.btn svg,button svg{width:13px!important;height:13px!important;stroke-width:2!important}
.nav-icon,.cms-nav-icon{width:24px!important;height:24px!important;border-radius:7px!important}
.card,.panel,.customer-card,.user-card,.stat-card{border-radius:11px!important}
.card-header,.card-title,.list-toolbar,.panel-header{padding:9px 11px!important}
.table-wrap th,.table-wrap td,th,td{font-size:11.5px!important;padding:7px 8px!important}
.status-pill,.role-pill,.badge,.tag{font-size:10px!important;padding:3px 6px!important;border-radius:999px!important}
/* Premium Scrollbar Polish */
*{scrollbar-width:thin;scrollbar-color:#9aa7bb transparent}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:transparent;border-radius:999px}
::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#a8b3c5,#7d8899);border-radius:999px;border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#7c8aa0,#5f6b7c);border:2px solid transparent;background-clip:padding-box}
::-webkit-scrollbar-corner{background:transparent}
.sidebar-nav,.cms-sidebar-nav{scrollbar-color:rgba(148,163,184,.55) transparent}
.sidebar-nav::-webkit-scrollbar,.cms-sidebar-nav::-webkit-scrollbar{width:6px}
.sidebar-nav::-webkit-scrollbar-thumb,.cms-sidebar-nav::-webkit-scrollbar-thumb{background:rgba(148,163,184,.42);border:1px solid rgba(15,23,42,.35);border-radius:999px}
.sidebar-nav::-webkit-scrollbar-thumb:hover,.cms-sidebar-nav::-webkit-scrollbar-thumb:hover{background:rgba(203,213,225,.65)}
.customer-modal,.user-modal,.quick-customer-modal,.modal{scrollbar-gutter:stable;overscroll-behavior:contain}
.customer-modal::-webkit-scrollbar,.user-modal::-webkit-scrollbar,.quick-customer-modal::-webkit-scrollbar,.modal::-webkit-scrollbar{width:7px}
.customer-modal::-webkit-scrollbar-track,.user-modal::-webkit-scrollbar-track,.quick-customer-modal::-webkit-scrollbar-track,.modal::-webkit-scrollbar-track{background:rgba(15,23,42,.08);border-radius:999px;margin:12px 0}
.customer-modal::-webkit-scrollbar-thumb,.user-modal::-webkit-scrollbar-thumb,.quick-customer-modal::-webkit-scrollbar-thumb,.modal::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#2563eb,#14b8a6);border-radius:999px;border:2px solid rgba(255,255,255,.75);background-clip:padding-box}
.customer-modal-dialog,.user-modal-dialog,.quick-customer-dialog{max-height:calc(100vh - 36px)!important;overflow:hidden!important;display:flex!important;flex-direction:column!important}
.customer-modal-dialog form,.user-modal-dialog form,.quick-customer-dialog form{overflow:auto!important;padding-right:12px!important;scrollbar-gutter:stable}
.customer-modal-dialog form::-webkit-scrollbar,.user-modal-dialog form::-webkit-scrollbar,.quick-customer-dialog form::-webkit-scrollbar{width:7px}
.customer-modal-dialog form::-webkit-scrollbar-track,.user-modal-dialog form::-webkit-scrollbar-track,.quick-customer-dialog form::-webkit-scrollbar-track{background:#eef3f9;border-radius:999px;margin:8px 0}
.customer-modal-dialog form::-webkit-scrollbar-thumb,.user-modal-dialog form::-webkit-scrollbar-thumb,.quick-customer-dialog form::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#2f66f2,#0ea66b);border-radius:999px;border:2px solid #eef3f9;background-clip:padding-box}
.table-wrap,.list-card{scrollbar-width:thin;scrollbar-color:#94a3b8 transparent}
.table-wrap::-webkit-scrollbar{height:7px;width:7px}.table-wrap::-webkit-scrollbar-thumb{background:#94a3b8;border-radius:999px}.table-wrap::-webkit-scrollbar-track{background:#eef2f7;border-radius:999px}
/* Sidebar dropdown navigation */
.nav-group{position:relative;display:grid;gap:2px}
.nav-group>.nav-link{cursor:pointer;text-decoration:none}
.nav-group .nav-caret{margin-left:auto;font-size:10px;font-weight:900;transition:transform .16s ease}
.nav-submenu{display:none;margin:2px 0 4px 34px;padding:5px;border-left:2px solid rgba(10,132,255,.18)}
.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu,
.nav-group.active .nav-submenu{display:grid;gap:4px}
.nav-group:hover .nav-caret,
.nav-group:focus-within .nav-caret,
.nav-group.active .nav-caret{transform:rotate(90deg)}
.nav-sublink{display:flex;align-items:center;gap:8px;text-decoration:none;color:#64748b!important;border-radius:9px;padding:7px 9px;font-size:11.5px;font-weight:850;transition:.16s ease}
.nav-sublink:hover,.nav-sublink.active{background:#eef6ff!important;color:#0a66d6!important}
.nav-sublink::before{content:"";width:6px;height:6px;border-radius:999px;background:#93c5fd;flex:0 0 auto}
