:root { --primary: #3b82f6; --primary-dark: #2563eb; --primary-light: #60a5fa; --primary-lighter: #93c5fd; --primary-lightest: #dbeafe; --primary-bg: #eff6ff; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: "Poppins", sans-serif; background: #f1f5f9; overflow-x: hidden; } #sidebar-wrap { position: fixed; top: 0; left: 0; height: 100vh; z-index: 50; width: 78px; transition: width .35s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border-right: 1px solid #e2e8f0; } #sidebar-wrap.open { width: 270px; } #sidebar-header { flex-shrink: 0; } #sidebar-footer { flex-shrink: 0; } #sidebar-nav-wrap { flex: 1; min-height: 0; position: relative; overflow: hidden; } #sidebar-nav { height: 100%; overflow-y: auto; overflow-x: hidden; scrollbar-width: none; } #sidebar-wrap.open #sidebar-nav .mi { margin-right: 20px; } #sidebar-nav::-webkit-scrollbar { width: 0; height: 0; display: none; } #sb-track { position: absolute; top: 0; right: 0; height: 100%; width: 16px; z-index: 60; pointer-events: none; opacity: 0; transition: opacity .3s; } #sidebar-nav-wrap:hover #sb-track { opacity: 1; } #sb-track.show { opacity: 1; } #sb-thumb { position: absolute; right: 4px; width: 7px; background: rgba(148,163,184,.3); border-radius: 999px; cursor: pointer !important; pointer-events: auto; transition: background .2s; min-height: 24px; } #sb-thumb:hover { background: rgba(148,163,184,.5); } #main { margin-left: 78px; transition: margin-left .35s cubic-bezier(.4,0,.2,1); min-height: 100vh; } #main.shift { margin-left: 270px; } @media (max-width: 768px) { #sidebar-wrap { transform: translateX(-100%); width: 260px !important; } #sidebar-wrap.open { transform: translateX(0); } #main { margin-left: 0 !important; } #main.shift { margin-left: 0 !important; } } .section-label { padding: 16px 20px 4px; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; white-space: nowrap; transition: opacity .2s ease; } .mi { position: relative; display: flex; align-items: center; gap: 12px; padding: 9px 16px; margin: 1px 10px; border-radius: 8px; color: #64748b; cursor: pointer; transition: all .2s ease; white-space: nowrap; text-decoration: none; font-size: 14px; font-weight: 450; } .mi::before { content: ''; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 3px; height: 0; border-radius: 0 3px 3px 0; background: #94a3b8; transition: height .25s ease; } .mi:hover { background: rgba(0,0,0,.04); color: #334155; } .mi:hover::before { height: 18px; } .mi.active { background: rgba(0,0,0,.04); color: #334155; font-weight: 600; } .mi.active::before { height: 22px; background: #334155; } .mi.active .ico svg { stroke: #334155; } .mi .ico { width: 20px; height: 20px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; } .mi .ico svg { width: 18px; height: 18px; stroke-width: 1.8; } .mi .lbl { font-size: 14px; } #sidebar-wrap:not(.open) .mi .lbl { display: none; } #sidebar-wrap:not(.open) .mi { justify-content: center; padding: 11px 0; margin: 1px 12px; } #sidebar-wrap:not(.open) .mi .ico { width: 22px; height: 22px; } #sidebar-wrap:not(.open) .mi .ico svg { width: 20px; height: 20px; } #sidebar-wrap:not(.open) .mi::before { display: none; } #sidebar-wrap:not(.open) .subs { display: none; } #sidebar-wrap:not(.open) .arr { display: none; } .subs { overflow: hidden; transition: max-height .3s ease; } .subs.open { max-height: 300px; } .subs.closed { max-height: 0; } .subs .mi { padding-left: 42px; font-size: 13px; color: #94a3b8; } .subs .mi::before { display: none; } .subs .mi .ico { width: 4px; height: 4px; min-width: 4px; } .subs .mi .ico svg { width: 4px; height: 4px; } .subs .mi:hover { background: rgba(0,0,0,.04); color: #475569; } .subs .mi.active { background: rgba(0,0,0,.04); color: #334155; font-weight: 600; } .subs .mi.active .ico svg { stroke: #334155; } .arr { margin-left: auto; transition: transform .3s ease, opacity .2s; opacity: .35; } .arr.rot { transform: rotate(180deg); } .mi:hover .arr { opacity: .6; } .mi.active .arr { opacity: .6; } .dt { transition: opacity .2s ease; } #sidebar-wrap.open .dt { opacity: 1; transition-delay: .15s; } #sidebar-wrap:not(.open) .dt { opacity: 0; transition-delay: 0s; pointer-events: none; } .lt { transition: opacity .2s ease; } #sidebar-wrap.open .lt { opacity: 1; transition-delay: .38s; } #sidebar-wrap:not(.open) .lt { opacity: 0; transition-delay: 0s; pointer-events: none; } .chart-container { position: relative; width: 100%; } .progress-bar { height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; } .progress-bar .fill { height: 100%; border-radius: 999px; transition: width .8s ease; } .grid-table th { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #64748b; padding: 10px 12px; text-align: left; border-bottom: 1px solid #e2e8f0; } .grid-table td { padding: 10px 12px; font-size: 13px; color: #334155; border-bottom: 1px solid #f1f5f9; } .grid-table tr:hover td { background: #f8fafc; } .grid-table { width: 100%; border-collapse: collapse; } .grid-wrap { max-height: 340px; overflow-y: auto; scrollbar-width: thin; } .grid-wrap::-webkit-scrollbar { width: 4px; } .grid-wrap::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; } .badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; } .badge-blue { background: #dbeafe; color: #1e40af; } .badge-green { background: #d1fae5; color: #065f46; } .badge-amber { background: #fef3c7; color: #92400e; } .badge-red { background: #fee2e2; color: #991b1b; } .badge-gray { background: #f1f5f9; color: #475569; } .badge-indigo { background: #e0e7ff; color: #3730a3; } .badge-purple { background: #ede9fe; color: #5b21b6; } .badge-pink { background: #fce7f3; color: #9d174d; } .badge-cyan { background: #cffafe; color: #155e75; } .chip { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 600; color: #fff; } .chip-blue { background: #2563eb; } .chip-green { background: #10b981; } .chip-amber { background: #f59e0b; } .chip-red { background: #e11d48; } .chip-indigo { background: #6366f1; } .chip-purple { background: #8b5cf6; } .chip-pink { background: #ec4899; } .chip-cyan { background: #06b6d4; } .chip-orange { background: #f97316; } .chip-teal { background: #14b8a6; } .activity-feed { max-height: 320px; overflow-y: auto; scrollbar-width: thin; } .activity-feed::-webkit-scrollbar { width: 4px; } .activity-feed::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; } @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .anim-fade { animation: fadeInUp .5s ease forwards; } .anim-delay-1 { animation-delay: .1s; } .anim-delay-2 { animation-delay: .2s; } .anim-delay-3 { animation-delay: .3s; } .anim-delay-4 { animation-delay: .4s; } .anim-delay-5 { animation-delay: .5s; } .anim-delay-6 { animation-delay: .6s; } .card-bg { background: #eff6ff; border-color: #bfdbfe; } .kpi-badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 999px; font-size: 10px; font-weight: 600; } .kpi-card-sm { border-radius: 14px; padding: 18px; color: #fff; position: relative; overflow: hidden; min-height: 110px; display: flex; flex-direction: column; justify-content: space-between; } .kpi-card-sm::after { content: ''; position: absolute; top: -30%; right: -20%; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,.07); pointer-events: none; } .kpi-card-sm .kpi-label { font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; opacity: .75; } .kpi-card-sm .kpi-value { font-size: 20px; font-weight: 800; line-height: 1.1; margin-top: 2px; } .kpi-card-sm .kpi-delta { font-size: 10px; font-weight: 600; } .kpi-card-sm .kpi-icon { width: 32px; height: 32px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,.15); flex-shrink: 0; } .kpi-card-sm .kpi-icon svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2; } .kpi-b1 { background: #2563eb; } .kpi-b2 { background: #10b981; } .kpi-b3 { background: #ec4899; } .kpi-b4 { background: #8b5cf6; } .kpi-b5 { background: #f59e0b; } .kpi-b6 { background: #06b6d4; } .kpi-b7 { background: #f97316; } .kpi-b8 { background: #14b8a6; } .mm-cell { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 10px; transition: background .2s; } .mm-cell:hover { background: #f8fafc; } .mm-icon { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .mm-icon svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; } .mm-title { font-size: 12px; font-weight: 600; color: #334155; line-height: 1.2; } .mm-sub { font-size: 10px; color: #94a3b8; margin-top: 1px; } .mm-c1 { background: #2563eb; } .mm-c2 { background: #10b981; } .mm-c3 { background: #ec4899; } .mm-c4 { background: #8b5cf6; } .mm-c5 { background: #f59e0b; } .mm-c6 { background: #06b6d4; } .mm-c7 { background: #f97316; } .mm-c8 { background: #14b8a6; } .mm-c9 { background: #6366f1; } .mm-c10 { background: #e11d48; } .mm-c11 { background: #0891b2; } .mm-c12 { background: #7c3aed; } .mm-c13 { background: #059669; } .mm-c14 { background: #d97706; } .mm-c15 { background: #db2777; } .mm-c16 { background: #0284c7; } .mm-c17 { background: #65a30d; } .mm-c18 { background: #9333ea; } .mm-c19 { background: #ea580c; } .mm-c20 { background: #0d9488; } .gi { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .gi svg { width: 16px; height: 16px; stroke: #fff; stroke-width: 2; } .gc1 { background: #2563eb; } .gc2 { background: #10b981; } .gc3 { background: #ec4899; } .gc4 { background: #8b5cf6; } .gc5 { background: #f59e0b; } .gc6 { background: #06b6d4; } .gc7 { background: #f97316; } .gc8 { background: #14b8a6; } .gc9 { background: #6366f1; } .gc10 { background: #e11d48; } .gc11 { background: #0891b2; } /* Dashboard submenu - smooth collapse/expand (all nesting levels) */ .submenu-group { } .submenu-head { cursor: pointer; justify-content: space-between; user-select: none; } .submenu-head .chev { margin-left: auto; font-size: 10px; transition: transform .25s ease; } .submenu-group.open > .submenu-head .chev { transform: rotate(180deg); } .submenu-body { max-height: 0; padding-left: 20px; opacity: 0; overflow: hidden; transition: max-height .3s ease, opacity .25s ease; } .submenu-group.open > .submenu-body { max-height: 1200px; opacity: 1; } .submenu-body .mi.sub { padding: 7px 16px; font-size: 13px; }