:root{--primary: #4f46e5;--primary-hover: #4338ca;--primary-light: #eef2ff;--primary-dark: #3730a3;--accent: #06b6d4;--success: #10b981;--success-bg: #ecfdf5;--warning: #f59e0b;--warning-bg: #fffbeb;--danger: #ef4444;--danger-bg: #fef2f2;--bg-main: #f8fafc;--bg-card: #ffffff;--bg-sidebar: #0f172a;--bg-sidebar-hover: #1e293b;--text-main: #0f172a;--text-muted: #64748b;--text-light: #94a3b8;--border: #e2e8f0;--border-focus: #818cf8;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 16px;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-glow: 0 0 20px rgba(79, 70, 229, .25);--font-sans: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-sans);background-color:var(--bg-main);color:var(--text-main);-webkit-font-smoothing:antialiased;line-height:1.5}button,input,select,textarea{font-family:inherit}.app-container{display:flex;height:100vh;max-height:100vh;width:100%;position:relative;overflow:hidden}.sidebar-backdrop{display:none}@media (max-width: 1024px){.app-container{height:auto;min-height:100vh;max-height:none;overflow:visible}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0f172aa6;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:998;opacity:0;pointer-events:none;transition:opacity .25s ease}.sidebar-backdrop.active{opacity:1;pointer-events:auto}}.sidebar{width:260px;height:100vh;max-height:100vh;background-color:var(--bg-sidebar);color:#f8fafc;display:flex;flex-direction:column;flex-shrink:0;position:sticky;top:0;bottom:0;left:0;overflow:hidden;z-index:40;transition:transform .28s cubic-bezier(.4,0,.2,1),width .25s ease}@media (max-width: 1024px){.sidebar{position:fixed;top:0;bottom:0;left:0;width:280px;max-width:86vw;height:100vh;max-height:100vh;z-index:1000;transform:translate(-100%);box-shadow:none}.sidebar.mobile-open{transform:translate(0);box-shadow:12px 0 35px #00000080}}.main-content{flex:1;display:flex;flex-direction:column;min-width:0;width:100%;height:100vh;max-height:100vh;overflow-y:auto;overflow-x:hidden;background-color:#f8fafc;scroll-behavior:smooth}@media (max-width: 1024px){.main-content{height:auto;min-height:100vh;max-height:none;overflow-y:visible}}.topbar{height:70px;background-color:#fff;border-bottom:1px solid var(--border);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:30;flex-shrink:0;transition:all .2s ease}@media (max-width: 1024px){.topbar{height:64px;padding:0 16px;gap:12px}}@media (max-width: 640px){.topbar{height:58px;padding:0 12px;gap:8px}}.sidebar-toggle-btn{display:none;align-items:center;justify-content:center;width:38px;height:38px;border-radius:10px;border:1px solid var(--border);background-color:#f8fafc;color:#1e293b;cursor:pointer;flex-shrink:0;transition:all .15s ease}.sidebar-toggle-btn:hover{background-color:#e2e8f0}@media (max-width: 1024px){.sidebar-toggle-btn{display:flex}}.sidebar-close-btn{display:none;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:1px solid rgba(255,255,255,.15);background-color:#ffffff14;color:#fff;cursor:pointer;flex-shrink:0;transition:all .15s ease}.sidebar-close-btn:hover{background-color:#fff3}@media (max-width: 1024px){.sidebar-close-btn{display:flex}}.page-body{padding:28px;flex:1;min-height:0}.main-content::-webkit-scrollbar,.sidebar div::-webkit-scrollbar{width:6px;height:6px}.main-content::-webkit-scrollbar-track,.sidebar div::-webkit-scrollbar-track{background:transparent}.main-content::-webkit-scrollbar-thumb{background:#64748b40;border-radius:10px}.main-content::-webkit-scrollbar-thumb:hover{background:#64748b73}.sidebar div::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:10px}.sidebar div::-webkit-scrollbar-thumb:hover{background:#ffffff4d}@media (max-width: 1024px){.page-body{padding:18px 16px}}@media (max-width: 640px){.page-body{padding:14px 10px}}h1,h2,h3,h4,h5{font-weight:700;color:var(--text-main);letter-spacing:-.02em}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 18px;font-size:.875rem;font-weight:600;border-radius:var(--radius-md);border:1px solid transparent;cursor:pointer;transition:all .2s ease;text-decoration:none}.btn-primary{background:linear-gradient(135deg,var(--primary) 0%,#6366f1 100%);color:#fff;box-shadow:0 2px 4px #4f46e533}.btn-primary:hover{background:linear-gradient(135deg,var(--primary-hover) 0%,#4f46e5 100%);box-shadow:0 4px 10px #4f46e559;transform:translateY(-1px)}.btn-secondary{background-color:#fff;color:var(--text-main);border-color:var(--border)}.btn-secondary:hover{background-color:#f1f5f9;border-color:#cbd5e1}.btn-sm{padding:6px 12px;font-size:.8125rem;border-radius:var(--radius-sm)}.btn-danger{background-color:var(--danger);color:#fff}.btn-danger:hover{background-color:#dc2626}.card{background-color:var(--bg-card);border-radius:var(--radius-lg);border:1px solid var(--border);box-shadow:var(--shadow-sm);padding:24px;transition:box-shadow .2s ease}.card:hover{box-shadow:var(--shadow-md)}.badge{display:inline-flex;align-items:center;gap:4px;padding:4px 10px;font-size:.75rem;font-weight:700;border-radius:9999px;text-transform:uppercase;letter-spacing:.05em}.badge-success{background-color:var(--success-bg);color:#065f46}.badge-warning{background-color:var(--warning-bg);color:#92400e}.badge-danger{background-color:var(--danger-bg);color:#b91c1c}.badge-primary{background-color:var(--primary-light);color:var(--primary)}.badge-info{background-color:#ecfeff;color:#155e75}.form-group{margin-bottom:18px}.form-label{display:block;font-size:.875rem;font-weight:600;margin-bottom:6px;color:#334155}.form-control,.form-input,.form-select,.form-textarea{width:100%;padding:9px 13px;font-size:.875rem;border:1px solid var(--border);border-radius:var(--radius-md);background-color:#fff;color:var(--text-main);transition:border-color .2s,box-shadow .2s}.form-control:focus,.form-input:focus,.form-select:focus,.form-textarea:focus{outline:none;border-color:var(--border-focus);box-shadow:0 0 0 3px #6366f126}.table{width:100%;border-collapse:collapse;text-align:left}.table th{padding:12px 14px;background-color:#f8fafc;color:#64748b;font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;border-bottom:1px solid var(--border)}.table td{padding:13px 14px;border-bottom:1px solid #f1f5f9;font-size:.85rem;color:#1e293b;vertical-align:middle}.table tbody tr:hover{background-color:#f8fafc}.modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0f172aa6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:50;padding:20px}.modal-card{background:#fff;border-radius:var(--radius-lg);max-width:540px;width:100%;box-shadow:0 25px 50px -12px #00000040;overflow:hidden;animation:modalIn .2s ease-out}@keyframes modalIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.dashboard-main-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px}.dashboard-kpi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.dashboard-metrics-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.table-responsive,div[style*="overflow-x: auto"],div[style*="overflowX: 'auto'"],div[style*="overflowX: auto"]{width:100%;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table-responsive table{min-width:600px}.tab-scroll-container{display:flex;gap:8px;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none;flex-wrap:nowrap}.tab-scroll-container button{white-space:nowrap;flex-shrink:0}.tab-scroll-container::-webkit-scrollbar{display:none}.modal-card{max-height:90vh;overflow-y:auto}@media (max-width: 1024px){.grid-4,.grid-3{grid-template-columns:repeat(2,1fr);gap:14px}.dashboard-main-grid{grid-template-columns:1fr;gap:16px}.dashboard-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.dashboard-metrics-grid{grid-template-columns:repeat(2,1fr);gap:12px}[style*="grid-template-columns: repeat(4, 1fr)"],[style*="grid-template-columns: repeat(5, 1fr)"],[style*="grid-template-columns: 1.2fr 2fr 1.5fr 1.5fr"]{grid-template-columns:repeat(2,1fr)!important}[style*="grid-template-columns: 260px 1fr"]{grid-template-columns:1fr!important}.login-page-container{flex-direction:column!important}.login-showcase-banner{padding:32px 24px!important}.login-card{width:100%!important;max-width:100%!important;padding:36px 24px!important;box-shadow:none!important}}@media (max-width: 768px){input[type=text],input[type=number],input[type=email],input[type=tel],input[type=password],input[type=search],select,textarea{font-size:16px!important}.login-showcase-banner{display:none!important}.login-card{min-height:100vh;padding:24px 16px!important}.grid-4,.grid-3,.grid-2{grid-template-columns:1fr;gap:12px}.dashboard-main-grid{grid-template-columns:1fr;gap:14px}.dashboard-kpi-grid{grid-template-columns:1fr;gap:12px}.dashboard-metrics-grid{grid-template-columns:repeat(2,1fr);gap:8px}[style*="grid-template-columns: repeat(4, 1fr)"],[style*="grid-template-columns: repeat(5, 1fr)"],[style*="grid-template-columns: repeat(3, 1fr)"],[style*="grid-template-columns: 1.2fr 2fr 1.5fr 1.5fr"],[style*="grid-template-columns: 1.5fr 1fr"],[style*="grid-template-columns: 1fr 1fr"],[style*="grid-template-columns: 260px 1fr"]{grid-template-columns:1fr!important}.modal-backdrop{padding:12px}.modal-card{width:100%;max-width:100%;border-radius:var(--radius-md)}}@media (max-width: 480px){.dashboard-metrics-grid{grid-template-columns:1fr;gap:8px}}.hide-desktop{display:none!important}@media (max-width: 1024px){.hide-tab{display:none!important}.hide-desktop{display:flex!important}}@media (max-width: 640px){.hide-mobile{display:none!important}}[data-theme=dark]{--primary: #6366f1;--primary-hover: #4f46e5;--primary-light: #1e1b4b;--primary-dark: #818cf8;--accent: #22d3ee;--bg-main: #0b0f19;--bg-card: #111827;--bg-sidebar: #070d1e;--bg-sidebar-hover: #1e293b;--text-main: #f8fafc;--text-muted: #cbd5e1;--text-light: #94a3b8;--border: #1f2937;--border-focus: #818cf8;--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / .5);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .6);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .7);color-scheme:dark}[data-theme=dark] body,[data-theme=dark] html,[data-theme=dark] #root,[data-theme=dark] .app-container,[data-theme=dark] .main-content,[data-theme=dark] .page-body{background-color:#0b0f19!important;color:#f8fafc!important}[data-theme=dark] .topbar{background-color:#111827!important;border-bottom-color:#1f2937!important;box-shadow:0 1px 4px #0006!important}[data-theme=dark] .sidebar{background-color:#070d1e!important;border-right:1px solid #1f2937!important}[data-theme=dark] .card,[data-theme=dark] .modal-card,[data-theme=dark] .login-card,[data-theme=dark] [style*="background-color: #ffffff"],[data-theme=dark] [style*="background-color: #fff"],[data-theme=dark] [style*="background-color: white"],[data-theme=dark] [style*="background-color: rgb(255, 255, 255)"],[data-theme=dark] [style*="background: #ffffff"],[data-theme=dark] [style*="background: #fff"],[data-theme=dark] [style*="background: white"],[data-theme=dark] [style*="background: rgb(255, 255, 255)"],[data-theme=dark] [style*="background-color: #f8fafc"],[data-theme=dark] [style*="background-color: rgb(248, 250, 252)"],[data-theme=dark] [style*="background: #f8fafc"],[data-theme=dark] [style*="background: rgb(248, 250, 252)"],[data-theme=dark] [style*="background-color: #f1f5f9"],[data-theme=dark] [style*="background-color: rgb(241, 245, 249)"],[data-theme=dark] [style*="background: #f1f5f9"],[data-theme=dark] [style*="background: rgb(241, 245, 249)"],[data-theme=dark] [style*="background-color: #f9fafb"],[data-theme=dark] [style*="background-color: rgb(249, 250, 251)"],[data-theme=dark] [style*="background: #f9fafb"],[data-theme=dark] [style*="background: rgb(249, 250, 251)"],[data-theme=dark] [style*="background-color: #f3f4f6"],[data-theme=dark] [style*="background-color: rgb(243, 244, 246)"],[data-theme=dark] [style*="background: #f3f4f6"],[data-theme=dark] [style*="background: rgb(243, 244, 246)"]{background-color:#111827!important;color:#f8fafc!important;border-color:#1f2937!important}[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] h5,[data-theme=dark] h6,[data-theme=dark] strong,[data-theme=dark] b,[data-theme=dark] [style*="color: #0f172a"],[data-theme=dark] [style*="color: #1e293b"],[data-theme=dark] [style*="color: #334155"],[data-theme=dark] [style*="color: #475569"],[data-theme=dark] [style*="color: #111827"],[data-theme=dark] [style*="color: #000000"],[data-theme=dark] [style*="color: #000"],[data-theme=dark] [style*="color: black"],[data-theme=dark] [style*="color: rgb(15, 23, 42)"],[data-theme=dark] [style*="color: rgb(30, 41, 59)"],[data-theme=dark] [style*="color: rgb(51, 65, 85)"],[data-theme=dark] [style*="color: rgb(71, 85, 105)"],[data-theme=dark] [style*="color: rgb(17, 24, 39)"],[data-theme=dark] [style*="color: rgb(0, 0, 0)"]{color:#f8fafc!important}[data-theme=dark] p,[data-theme=dark] label,[data-theme=dark] .form-label,[data-theme=dark] [style*="color: #64748b"],[data-theme=dark] [style*="color: #94a3b8"],[data-theme=dark] [style*="color: rgb(100, 116, 139)"],[data-theme=dark] [style*="color: rgb(148, 163, 184)"]{color:#cbd5e1!important}[data-theme=dark] [style*="border: 1px solid #e2e8f0"],[data-theme=dark] [style*="border: 1px solid #cbd5e1"],[data-theme=dark] [style*="border: 1px solid #e5e7eb"],[data-theme=dark] [style*="border: 1px solid rgb(226, 232, 240)"],[data-theme=dark] [style*="border: 1px solid rgb(203, 213, 225)"],[data-theme=dark] [style*="border: 1px solid rgb(229, 231, 235)"],[data-theme=dark] [style*="border-bottom: 1px solid #e2e8f0"],[data-theme=dark] [style*="border-bottom: 1px solid #f1f5f9"],[data-theme=dark] [style*="border-bottom: 1px solid #e5e7eb"],[data-theme=dark] [style*="border-bottom: 1px solid rgb(226, 232, 240)"],[data-theme=dark] [style*="border-bottom: 1px solid rgb(241, 245, 249)"],[data-theme=dark] [style*="border-top: 1px solid #e2e8f0"],[data-theme=dark] [style*="border-top: 1px solid #f1f5f9"],[data-theme=dark] [style*="border-top: 1px solid #e5e7eb"],[data-theme=dark] [style*="border-top: 1px solid rgb(226, 232, 240)"],[data-theme=dark] [style*="border-top: 1px solid rgb(241, 245, 249)"],[data-theme=dark] [style*="border-left: 1px solid #e2e8f0"],[data-theme=dark] [style*="border-right: 1px solid #e2e8f0"],[data-theme=dark] [style*="borderColor: '#e2e8f0'"],[data-theme=dark] [style*="border-color: #e2e8f0"]{border-color:#1f2937!important}[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .form-control,[data-theme=dark] .form-input,[data-theme=dark] .form-select,[data-theme=dark] .form-textarea{background-color:#1e293b!important;color:#f8fafc!important;border-color:#334155!important}[data-theme=dark] input:focus,[data-theme=dark] select:focus,[data-theme=dark] textarea:focus,[data-theme=dark] .form-control:focus,[data-theme=dark] .form-input:focus,[data-theme=dark] .form-select:focus,[data-theme=dark] .form-textarea:focus{border-color:#6366f1!important;box-shadow:0 0 0 3px #6366f140!important}[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{color:#64748b!important}[data-theme=dark] select option{background-color:#1e293b!important;color:#f8fafc!important}[data-theme=dark] .btn-secondary,[data-theme=dark] button[style*="background-color: #ffffff"],[data-theme=dark] button[style*="background: #ffffff"],[data-theme=dark] button[style*="background-color: rgb(255, 255, 255)"],[data-theme=dark] button[style*="background: rgb(255, 255, 255)"]{background-color:#1e293b!important;color:#f8fafc!important;border-color:#334155!important}[data-theme=dark] .btn-secondary:hover,[data-theme=dark] button[style*="background-color: #ffffff"]:hover,[data-theme=dark] button[style*="background: #ffffff"]:hover{background-color:#334155!important}[data-theme=dark] table,[data-theme=dark] .table{color:#f8fafc!important}[data-theme=dark] table th,[data-theme=dark] .table th,[data-theme=dark] tr[style*="background-color: #f8fafc"],[data-theme=dark] tr[style*="background: #f8fafc"],[data-theme=dark] tr[style*="background-color: rgb(248, 250, 252)"],[data-theme=dark] tr[style*="background: rgb(248, 250, 252)"],[data-theme=dark] tr[style*="background-color: #f1f5f9"],[data-theme=dark] tr[style*="background: #f1f5f9"],[data-theme=dark] tr[style*="background-color: rgb(241, 245, 249)"],[data-theme=dark] tr[style*="background: rgb(241, 245, 249)"]{background-color:#1e293b!important;color:#cbd5e1!important;border-bottom:1px solid #334155!important}[data-theme=dark] table td,[data-theme=dark] .table td,[data-theme=dark] tr[style*=border-bottom]{border-bottom-color:#1f2937!important;color:#e2e8f0!important}[data-theme=dark] table tbody tr:hover,[data-theme=dark] .table tbody tr:hover{background-color:#1e293b!important}[data-theme=dark] [style*="box-shadow: 0 10px 25px"],[data-theme=dark] [style*="box-shadow: 0 20px 30px"],[data-theme=dark] [style*="box-shadow: 0 25px 50px"],[data-theme=dark] [style*="box-shadow: 0 4px 20px"],[data-theme=dark] [style*="box-shadow: 0 10px 30px"]{background-color:#111827!important;border-color:#1f2937!important;color:#f8fafc!important}[data-theme=dark] [style*="background-color: #f0fdf4"],[data-theme=dark] [style*="background: #f0fdf4"],[data-theme=dark] [style*="background-color: rgb(240, 253, 244)"],[data-theme=dark] [style*="background: rgb(240, 253, 244)"],[data-theme=dark] [style*="background-color: #ecfdf5"],[data-theme=dark] [style*="background: #ecfdf5"]{background-color:#10b9811f!important;border-color:#10b98147!important}[data-theme=dark] [style*="background-color: #fef2f2"],[data-theme=dark] [style*="background: #fef2f2"],[data-theme=dark] [style*="background-color: rgb(254, 242, 242)"],[data-theme=dark] [style*="background: rgb(254, 242, 242)"],[data-theme=dark] [style*="background-color: #fff1f2"],[data-theme=dark] [style*="background: #fff1f2"]{background-color:#ef44441f!important;border-color:#ef444447!important}[data-theme=dark] [style*="background-color: #fffbeb"],[data-theme=dark] [style*="background: #fffbeb"],[data-theme=dark] [style*="background-color: rgb(255, 251, 235)"],[data-theme=dark] [style*="background: rgb(255, 251, 235)"],[data-theme=dark] [style*="background-color: #fff7ed"],[data-theme=dark] [style*="background: #fff7ed"]{background-color:#f59e0b1f!important;border-color:#f59e0b47!important}[data-theme=dark] [style*="background-color: #eff6ff"],[data-theme=dark] [style*="background: #eff6ff"],[data-theme=dark] [style*="background-color: rgb(239, 246, 255)"],[data-theme=dark] [style*="background: rgb(239, 246, 255)"],[data-theme=dark] [style*="background-color: #e0f2fe"],[data-theme=dark] [style*="background: #e0f2fe"]{background-color:#0ea5e91f!important;border-color:#0ea5e947!important}[data-theme=dark] [style*="background-color: #eef2ff"],[data-theme=dark] [style*="background: #eef2ff"],[data-theme=dark] [style*="background-color: rgb(238, 242, 255)"],[data-theme=dark] [style*="background: rgb(238, 242, 255)"],[data-theme=dark] [style*="background-color: #f5f3ff"],[data-theme=dark] [style*="background: #f5f3ff"]{background-color:#6366f11f!important;border-color:#6366f147!important}[data-theme=dark] .modal-backdrop{background-color:#000000bf!important}[data-theme=dark] .modal-card,[data-theme=dark] [style*="maxWidth: '540px'"],[data-theme=dark] [style*="max-width: 540px"],[data-theme=dark] [style*="maxWidth: '800px'"],[data-theme=dark] [style*="max-width: 800px"],[data-theme=dark] [style*="maxWidth: '1000px'"],[data-theme=dark] [style*="max-width: 1000px"]{background-color:#111827!important;border:1px solid #1f2937!important;box-shadow:0 25px 50px -12px #000c!important}[data-theme=dark] .pos-container,[data-theme=dark] [style*="backgroundColor: '#ffffff'"][style*="flexDirection: 'column'"],[data-theme=dark] [style*="background-color: #ffffff"][style*="flex-direction: column"]{background-color:#111827!important;color:#f8fafc!important}[data-theme=dark] ::-webkit-scrollbar{width:8px;height:8px}[data-theme=dark] ::-webkit-scrollbar-track{background:#0b0f19}[data-theme=dark] ::-webkit-scrollbar-thumb{background:#374151;border-radius:4px}[data-theme=dark] ::-webkit-scrollbar-thumb:hover{background:#4b5563}
