:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Tahoma,sans-serif;color:#e5e7eb;background:#07101d;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#122035 0,#07101d 38%,#050a12);min-height:100vh}button,input,select,textarea{font:inherit}.app-shell{display:grid;grid-template-columns:250px 1fr;min-height:100vh}.sidebar{background:#080f1bf5;border-left:1px solid #1f2937;padding:24px 18px;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:12px;align-items:center;margin-bottom:32px}.brand-mark{width:42px;height:42px;border-radius:12px;background:#d6a84b;color:#101010;font-size:24px;font-weight:900;display:grid;place-items:center}.brand b{display:block;font-size:20px;letter-spacing:2px}.brand span{font-size:10px;color:#94a3b8;letter-spacing:2px}.sidebar nav{display:grid;gap:8px}.sidebar a,.logout{display:flex;align-items:center;gap:10px;color:#aeb9c9;text-decoration:none;padding:12px 14px;border-radius:12px;border:0;background:transparent;cursor:pointer}.sidebar a.active,.sidebar a:hover{background:#182436;color:#fff}.logout{margin-top:auto}.main{padding:0 28px 40px;min-width:0}.main>header{height:84px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #1d2939;margin-bottom:28px}.main>header h1{font-size:19px;margin:0 0 4px}.main>header p{margin:0;color:#8795a8;font-size:13px}.connection{display:flex;align-items:center;gap:8px;padding:8px 12px;border:1px solid #263447;border-radius:999px;font-size:13px}.connection .dot{width:8px;height:8px;border-radius:50%}.connection.online .dot{background:#22c55e;box-shadow:0 0 10px #22c55e}.connection.offline .dot{background:#ef4444;box-shadow:0 0 10px #ef4444}.connection small{color:#94a3b8;border-right:1px solid #334155;padding-right:8px}.hero{display:flex;align-items:center;justify-content:space-between;gap:24px;background:linear-gradient(135deg,#152238,#0e1726);padding:32px;border:1px solid #26364b;border-radius:22px;overflow:hidden}.eyebrow{color:#d6a84b;font-size:12px}.hero h2{font-size:28px;margin:8px 0}.hero p{color:#9ba8ba}.hero-truck{font-size:76px;display:flex;align-items:center;gap:14px;opacity:.9}.hero-truck b{font-size:34px;letter-spacing:5px}.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:18px}.stat,.panel{background:#0e1726db;border:1px solid #213047;border-radius:18px}.stat{padding:20px}.stat span{display:block;color:#8190a5;font-size:12px;margin-bottom:10px}.stat b{font-size:19px}.section-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.section-head h2{margin:0 0 6px}.section-head p{margin:0;color:#8997a9}.panel{padding:20px;margin-bottom:18px;overflow:auto}.grid-form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:end}.grid-form label{display:grid;gap:7px;font-size:13px;color:#aab6c6}.grid-form .wide{grid-column:span 2}input,select,textarea{width:100%;background:#0a1321;color:#edf2f7;border:1px solid #2a3a50;border-radius:10px;padding:10px 11px;outline:none}textarea{min-height:42px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#d6a84b}button{border:0;border-radius:10px;background:#d6a84b;color:#101010;font-weight:700;padding:10px 14px;cursor:pointer}button:disabled{opacity:.55;cursor:not-allowed}.ghost{background:#182436;color:#e5e7eb;border:1px solid #31415a}.danger{color:#ff9292}.notice,.error{margin-top:12px;padding:10px 12px;border-radius:10px;font-size:13px}.notice{background:#10291f;color:#a7f3d0}.error{background:#34171a;color:#fecaca}table{width:100%;border-collapse:collapse;min-width:700px}th,td{text-align:right;padding:12px;border-bottom:1px solid #223047;font-size:13px}th{color:#92a0b3;font-weight:600}.status{padding:4px 8px;border-radius:999px;font-size:11px}.status.pending{background:#3c2f11;color:#fcd34d}.status.approved{background:#103122;color:#86efac}.status.rejected{background:#361719;color:#fca5a5}.actions{display:flex;gap:8px;align-items:center}.login-page{min-height:100vh;display:grid;grid-template-columns:1.15fr .85fr}.truck-scene{display:grid;place-items:center;background:linear-gradient(145deg,#0a1320,#172338);position:relative;overflow:hidden}.truck-scene:before{content:"";position:absolute;width:700px;height:700px;border-radius:50%;border:1px solid #26374e}.truck-card{position:relative;display:grid;place-items:center}.truck-card span{font-size:150px;filter:drop-shadow(0 20px 28px #0008)}.truck-card strong{font-size:52px;letter-spacing:12px}.truck-card small{letter-spacing:5px;color:#a5b4c6}.login-card{background:#0b1422;padding:56px;display:flex;flex-direction:column;justify-content:center;gap:14px}.login-card h2{font-size:30px;margin:10px 0 0}.login-card p{color:#8996a8;margin:0 0 10px}.login-card label{display:grid;gap:7px;color:#b4c0ce}.remember{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:8px!important}.remember input{width:auto}.mini-logo{color:#d6a84b;font-weight:900;letter-spacing:4px}.secure-note{color:#6f7d91}.invoice-sheet{page:invoice;width:148mm;min-height:210mm;margin:0 auto;background:#fff;color:#111;padding:12mm;box-shadow:0 20px 60px #0008;font-family:Tahoma,Arial,sans-serif;position:relative;overflow:hidden}.invoice-top{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid #111;padding-bottom:8px}.invoice-top h1{margin:0;font-size:21px}.invoice-top p{margin:5px 0}.invoice-badge{border:1px solid #111;padding:5px 8px;border-radius:7px;font-size:11px}.invoice-info{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:10px 0;font-size:10px}.invoice-sheet table{min-width:0;color:#111}.invoice-sheet th,.invoice-sheet td{padding:7px 5px;border-color:#bbb;font-size:9.5px}.invoice-totals{margin-top:12px;margin-right:auto;width:58%;display:grid;gap:6px}.invoice-totals div{display:flex;justify-content:space-between;border:1px solid #aaa;padding:7px}.invoice-sheet footer{margin-top:24px;border-top:1px solid #999;padding-top:10px;display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;font-size:9px}.invoice-sheet footer div{display:grid;gap:3px}.sign{border:1px dashed #999;place-items:center;min-height:44px}.no-print select{width:auto}.invoice-sheet.invoice-designed{background:linear-gradient(180deg,#fff,#fbfaf6);border:1px solid #d8c28a;box-shadow:0 22px 70px #00000059;padding:0 10mm 10mm}.invoice-sheet.invoice-designed:before{content:"";position:absolute;top:0;left:0;right:0;height:6mm;background:linear-gradient(90deg,#0b1625,#17263a 62%,#d6a84b 62%,#d6a84b)}.invoice-sheet.invoice-designed:after{content:"VALI TRANSPORT";position:absolute;left:-18mm;bottom:28mm;transform:rotate(-90deg);color:#0f172a0b;font-size:18px;font-weight:900;letter-spacing:5px}.invoice-designed .invoice-top{margin-top:13mm;padding:0 0 10px;border-bottom:1px solid #d8c28a;position:relative;z-index:1}.invoice-designed .invoice-top h1{color:#111827;font-size:20px;letter-spacing:.2px}.invoice-designed .invoice-top p{color:#6b7280;font-size:10px;margin-top:7px}.invoice-designed .invoice-top small{color:#8b6b2f;font-weight:700}.invoice-designed .invoice-badge{min-width:48px;min-height:48px;display:grid;place-items:center;border:0;border-radius:14px;background:linear-gradient(145deg,#d6a84b,#f0d28a);color:#101826;font-weight:900;letter-spacing:1px;box-shadow:0 7px 18px #73531838}.invoice-designed .invoice-info{background:#f7f3e8;border:1px solid #e7d7ae;border-right:4px solid #d6a84b;border-radius:10px;padding:10px;margin:12px 0}.invoice-designed .invoice-info span{color:#334155}.invoice-designed .invoice-info b{color:#111827}.invoice-designed table{border:1px solid #d7dde6;background:#fff;position:relative;z-index:1}.invoice-designed thead{background:#152238}.invoice-designed th{background:#152238;color:#f8fafc;border-color:#26364b;font-weight:700}.invoice-designed td{color:#273244;border-color:#e3e7ec}.invoice-designed tbody tr:nth-child(2n){background:#f8fafc}.invoice-designed .invoice-totals{width:64%;gap:5px;position:relative;z-index:1}.invoice-designed .invoice-totals div{border:1px solid #dde2e8;border-radius:7px;background:#fff;color:#334155;padding:7px 9px}.invoice-designed .invoice-totals div span{color:#475569}.invoice-designed .invoice-totals div b{color:#111827}.invoice-designed .invoice-totals .balance-row{background:#152238;border-color:#152238;color:#fff}.invoice-designed .invoice-totals .balance-row span{color:#fff}.invoice-designed .invoice-totals .balance-row b{color:#f2ce79;font-size:10px}.invoice-designed footer{border-top:2px solid #d6a84b;color:#475569;position:relative;z-index:1}.invoice-designed footer b{color:#111827;font-weight:800}.invoice-designed footer span{color:#64748b}.invoice-designed .sign{background:#faf7ef;border:1px dashed #c8aa65;border-radius:8px;color:#7b5d26;font-weight:700}.report-document{page:report;max-width:1100px;margin:0 auto;padding:34px;background:#f8fafc;color:#172033;border-radius:18px;box-shadow:0 20px 55px #00000047;direction:rtl;font-family:Tahoma,Arial,sans-serif}.report-header{background:#fff;border:1px solid #dce2ea;border-top:4px solid #172033;border-radius:12px;padding:24px;margin-bottom:26px;text-align:center}.report-header h1{margin:0;font-size:24px;color:#111827}.report-header h2{margin:10px 0 18px;font-size:16px;color:#475569;font-weight:600}.report-info-line{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 22px;border-top:1px solid #e2e8f0;padding-top:15px;font-size:12px;color:#475569}.report-info-line span{white-space:nowrap}.report-info-line b{color:#111827}.report-group-section{margin-top:30px}.report-group-section>h2{margin:0 0 15px;padding-bottom:10px;border-bottom:2px solid #cbd5e1;font-size:18px;color:#111827}.report-account-card{background:#fff;border:1px solid #d6dde7;border-radius:12px;margin-bottom:22px;overflow:hidden;break-inside:avoid;page-break-inside:avoid}.report-account-head{min-height:48px;background:#eef2f6;border-bottom:1px solid #d7dee8;padding:12px 16px;display:grid;grid-template-columns:2fr 1.2fr 1fr;gap:12px;align-items:center;font-size:13px}.report-account-head>div:nth-child(2),.report-account-head>div:nth-child(3){border-right:1px solid #cbd5e1;padding-right:14px}.report-account-head b{color:#475569;font-weight:600}.report-account-card table{min-width:0;width:100%;color:#172033}.report-account-card thead{background:#f8fafc}.report-account-card th{color:#475569;font-size:11px;padding:9px 12px;border-bottom:1px solid #cfd7e2;white-space:nowrap}.report-account-card td{color:#1f2937;font-size:11px;padding:9px 12px;border-bottom:1px solid #edf0f4}.report-account-card tbody tr:last-child td{border-bottom:0}.report-account-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 16px 16px;border-top:1px solid #dce2e9;background:#fbfcfd}.report-summary-block{display:grid;grid-template-columns:repeat(5,auto);gap:8px 14px;align-items:center;border:1px solid #d8dee7;border-radius:8px;padding:10px 12px;font-size:10.5px}.report-summary-block>b{grid-column:1 / -1;padding-bottom:7px;margin-bottom:2px;border-bottom:1px solid #e2e8f0;color:#111827;font-size:12px}.report-summary-block span{color:#475569;white-space:nowrap}.report-summary-block strong{color:#111827;white-space:nowrap}.report-total-section{background:#fff;border:2px solid #cbd5e1;border-radius:12px;padding:20px;margin-top:32px;break-inside:avoid;page-break-inside:avoid}.report-total-section>h2{margin:0 0 18px;font-size:18px;text-align:center;color:#111827}.report-grand-total{margin-top:15px}.report-grand-total h3{margin:0 0 10px;font-size:14px;color:#334155}.report-footer{margin-top:34px;padding-top:18px;border-top:1px solid #cbd5e1;display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px;color:#475569;font-size:11px;break-inside:avoid}.report-footer>div{min-height:60px;display:flex;flex-direction:column;gap:5px}.report-footer>div:last-child{border:1px dashed #94a3b8;border-radius:7px;align-items:center;justify-content:center}@media(max-width:950px){.app-shell{grid-template-columns:1fr}.sidebar{height:auto;position:static;flex-direction:row;overflow:auto;border-left:0;border-bottom:1px solid #1f2937}.brand{margin:0 12px 0 0}.sidebar nav{display:flex}.sidebar a{white-space:nowrap}.logout{margin:0 0 0 auto}.main{padding:0 16px 32px}.cards,.grid-form{grid-template-columns:repeat(2,1fr)}.login-page{grid-template-columns:1fr}.truck-scene{display:none}.report-document{padding:20px}.report-account-head{grid-template-columns:1fr 1fr}.report-account-summary{grid-template-columns:1fr}.report-summary-block{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.sidebar{padding:12px}.brand span{display:none}.brand-mark{width:34px;height:34px}.main>header h1{font-size:15px}.main>header p{display:none}.hero{padding:22px}.hero-truck{display:none}.hero h2{font-size:23px}.cards,.grid-form{grid-template-columns:1fr}.grid-form .wide{grid-column:auto}.login-card{min-height:100vh;padding:28px}.section-head{align-items:flex-start;gap:10px}.section-head.no-print{flex-direction:column;align-items:stretch;width:100%}.section-head.no-print .actions{width:100%;display:flex;flex-wrap:wrap;gap:6px;align-items:center}.section-head.no-print .actions select{width:auto;min-width:68px;max-width:96px;height:34px;padding:5px 6px;font-size:11px}.section-head.no-print .actions button{padding:7px 8px;min-height:34px;font-size:11px;line-height:1;white-space:nowrap}.section-head.no-print .actions button:last-child{flex:1 1 105px;min-width:105px}.invoice-sheet{transform-origin:top center;width:148mm}.main{overflow:hidden}.report-document{margin:0 -8px;padding:14px;border-radius:12px}.report-header{padding:18px 12px}.report-header h1{font-size:19px}.report-info-line{display:grid;grid-template-columns:1fr 1fr;text-align:right}.report-account-head{grid-template-columns:1fr}.report-account-head>div:nth-child(2),.report-account-head>div:nth-child(3){border-right:0;padding-right:0}.report-account-card{overflow-x:auto}.report-account-card table{min-width:600px}.report-footer{grid-template-columns:1fr}}@page invoice{size:A5 portrait;margin:0}@page report{size:A4 portrait;margin:10mm}@media print{html,body{background:#fff!important;color:#111!important}.sidebar,.main>header,.no-print{display:none!important}.app-shell{display:block!important}.main{display:block!important;padding:0!important;margin:0!important;overflow:visible!important}section{display:block!important;margin:0!important;padding:0!important}.invoice-sheet{page:invoice;display:block!important;box-shadow:none!important;margin:0 auto!important;width:148mm!important;min-height:210mm!important;padding:10mm!important}.invoice-sheet.invoice-designed{padding:0 10mm 10mm!important;border:1px solid #d8c28a!important;background:linear-gradient(180deg,#fff,#fbfaf6)!important;box-shadow:none!important}.report-document{page:report;display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;color:#111!important;border-radius:0!important;box-shadow:none!important}.report-header{border:0!important;border-top:3px solid #111!important;border-bottom:1px solid #777!important;border-radius:0!important;padding:12px 0 14px!important;margin-bottom:16px!important}.report-header h1{font-size:20px!important}.report-header h2{font-size:13px!important;margin:6px 0 10px!important}.report-info-line{font-size:9px!important;gap:5px 15px!important;padding-top:9px!important}.report-group-section{margin-top:18px!important}.report-group-section>h2{font-size:14px!important;margin-bottom:10px!important;padding-bottom:6px!important}.report-account-card{border:1px solid #999!important;border-radius:0!important;margin-bottom:13px!important;box-shadow:none!important;break-inside:avoid;page-break-inside:avoid}.report-account-head{background:#eee!important;min-height:0!important;padding:7px 9px!important;font-size:9.5px!important}.report-account-card table{min-width:0!important;width:100%!important;table-layout:auto}.report-account-card th{color:#111!important;background:#f4f4f4!important;padding:5px 6px!important;font-size:8px!important;border-color:#aaa!important}.report-account-card td{color:#111!important;padding:5px 6px!important;font-size:8px!important;border-color:#ccc!important}.report-account-summary{padding:7px 9px!important;gap:7px!important;background:#fafafa!important;grid-template-columns:1fr 1fr!important}.report-summary-block{padding:6px 7px!important;gap:4px 8px!important;font-size:7.5px!important;border-radius:0!important}.report-summary-block>b{font-size:9px!important;padding-bottom:4px!important}.report-total-section{margin-top:18px!important;padding:11px!important;border:1.5px solid #555!important;border-radius:0!important;break-inside:avoid;page-break-inside:avoid}.report-total-section>h2{font-size:14px!important;margin-bottom:9px!important}.report-grand-total h3{font-size:10px!important;margin-bottom:6px!important}.report-footer{margin-top:20px!important;padding-top:10px!important;font-size:8px!important;break-inside:avoid;page-break-inside:avoid}.report-document,.report-document *,.invoice-sheet.invoice-designed,.invoice-sheet.invoice-designed *{-webkit-print-color-adjust:exact;print-color-adjust:exact}.invoice-sheet.invoice-designed:before,.invoice-designed thead,.invoice-designed th,.invoice-designed .balance-row,.invoice-designed .invoice-badge{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
