:root{--app-background:radial-gradient(circle at top right, #0ea5e929, transparent 28rem), linear-gradient(135deg, #f8fafc 0%, #eef6f2 48%, #fff7ed 100%)}body{background:var(--app-background);margin:0}.header{background:#fff;border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;height:70px;padding:0 20px;display:flex}.logo{object-fit:contain;width:55px;height:55px}.header-center{flex:1;margin-left:15px}.header-center h2{color:#0b3c6d;margin:0;font-size:22px;font-weight:700}.header-center p{color:#666;margin:0;font-size:13px}.header-right{color:#444;font-size:14px;font-weight:600}@media (width<=760px){.header{flex-wrap:wrap;justify-content:center;gap:12px;height:auto;padding:14px}.header-left,.header-center,.header-right{text-align:center;justify-content:center;align-items:center;width:100%;margin:0 auto;display:flex}.header-left{justify-content:center}.header-center{flex:none;margin-left:0}.header-center h2{font-size:20px}.header-right{font-size:13px}.logo{width:48px;height:48px}}.footer{text-align:center;background:#fff;border-top:1px solid #e5e7eb;margin-top:auto;padding:12px}.footer p{color:#666;margin:4px 0;font-size:14px}.billing-page{background:var(--app-background);color:#172033;min-height:100vh}.billing-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 34px}.billing-topbar{justify-content:space-between;align-items:flex-end;gap:22px;margin-bottom:18px;display:flex}.billing-topbar h1{color:#111827;margin:14px 0 6px;font-size:34px;line-height:1.05}.billing-topbar p,.muted{color:#667085;margin:0;font-size:14px}.ghost-btn{color:#334155;cursor:pointer;background:#ffffffc2;border:1px solid #cbd5e1;border-radius:8px;padding:9px 14px;font-weight:700}.billing-summary{background:#ffffffe0;border:1px solid #94a3b857;border-radius:8px;grid-template-columns:auto auto auto;align-items:center;gap:14px;padding:12px;display:grid;box-shadow:0 18px 48px #0f172a14}.billing-summary span{color:#64748b;font-size:13px}.billing-summary strong{color:#0f766e;font-size:20px}.generate-btn{color:#fff;cursor:pointer;background:#0f766e;border:0;border-radius:8px;padding:11px 16px;font-weight:800}.generate-btn:disabled{cursor:not-allowed;background:#94a3b8}.billing-notice{color:#115e59;background:#ecfdf5;border:1px solid #99f6e4;border-radius:8px;margin-bottom:16px;padding:12px 14px;font-weight:700}.billing-grid{grid-template-columns:320px minmax(0,1fr);align-items:start;gap:18px;display:grid}.billing-panel,.product-picker{background:#ffffffe6;border:1px solid #94a3b857;border-radius:8px;box-shadow:0 20px 60px #0f172a14}.billing-panel{padding:18px;position:sticky;top:16px}.billing-panel label{color:#475467;margin-bottom:8px;font-size:13px;font-weight:800;display:block}.billing-panel select,.picker-toolbar input{box-sizing:border-box;color:#111827;background:#fff;border:1px solid #cbd5e1;border-radius:8px;outline:none;width:100%;padding:11px 12px}.receipt-preview{border-top:1px solid #e2e8f0;margin-top:18px;padding-top:16px}.receipt-head,.receipt-row{justify-content:space-between;gap:16px;display:flex}.receipt-head{color:#334155;margin-bottom:14px}.receipt-head strong{color:#0f766e}.receipt-row{border-bottom:1px solid #eef2f7;padding:11px 0}.receipt-row strong,.receipt-row span{display:block}.receipt-row strong{color:#111827;max-width:180px;font-size:14px}.receipt-row span{color:#64748b;margin-top:3px;font-size:12px}.receipt-row b{white-space:nowrap;color:#0f766e}.product-picker{overflow:hidden}.picker-toolbar{border-bottom:1px solid #e2e8f0;grid-template-columns:auto minmax(220px,320px);align-items:center;gap:16px;padding:18px;display:grid}.picker-toolbar h2{color:#111827;margin:0;font-size:20px}.billing-product-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px;padding:18px;display:grid}.billing-product-card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;grid-template-rows:132px 1fr auto;min-height:280px;transition:transform .16s,border-color .16s,box-shadow .16s;display:grid;overflow:hidden}.billing-product-card.selected{border-color:#0f766e;transform:translateY(-2px);box-shadow:0 14px 36px #0f766e29}.billing-product-image{color:#0f766e;background:linear-gradient(135deg,#e0f2fe,#f0fdfa);justify-content:center;align-items:center;font-size:38px;font-weight:900;display:flex}.billing-product-image img{object-fit:cover;width:100%;height:100%}.billing-product-body{padding:13px 14px 8px}.billing-product-body h3{color:#111827;margin:0;font-size:15px;line-height:1.28}.billing-product-body p{color:#64748b;margin:5px 0 8px;font-size:12px}.billing-product-body strong{color:#0f766e;font-size:16px}.quantity-control{grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;padding:0 14px 14px;display:grid}.quantity-control button{color:#fff;cursor:pointer;background:#172033;border:0;border-radius:8px;height:38px;font-size:19px;font-weight:900}.quantity-control button:disabled{cursor:not-allowed;background:#cbd5e1}.quantity-control span{color:#111827;background:#f1f5f9;border-radius:8px;place-items:center;height:38px;font-weight:900;display:grid}.empty-state{color:#64748b;text-align:center;padding:44px 18px}@media (width<=820px){.billing-topbar,.billing-grid{grid-template-columns:1fr;display:grid}.billing-summary,.picker-toolbar{grid-template-columns:1fr}.billing-panel{position:static}}.auth-page{box-sizing:border-box;color:#17212f;background:radial-gradient(circle at 15% 15%,#22c55e1f,#0000 28%),linear-gradient(135deg,#eef6f2 0%,#f8fafc 45%,#fff7ed 100%);place-items:center;min-height:100vh;padding:32px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;display:grid}.auth-shell{background:#ffffffc7;border:1px solid #0f172a14;border-radius:8px;grid-template-columns:minmax(0,1fr) minmax(360px,440px);width:min(1080px,100%);min-height:660px;display:grid;overflow:hidden;box-shadow:0 24px 80px #0f172a24}.auth-shell-reverse{grid-template-columns:minmax(360px,440px) minmax(0,1fr)}.auth-shell-reverse .auth-panel{order:2}.auth-panel{color:#fff;background:linear-gradient(#0f172ab8,#0f172a9e),url(/assets/image-DALj4cjb.png) 50%/cover;flex-direction:column;justify-content:space-between;gap:40px;padding:44px;display:flex;position:relative;overflow:hidden}.auth-panel:after{content:"";border:1px solid #ffffff47;border-radius:8px;width:170px;height:170px;position:absolute;inset:auto 34px 34px auto;transform:rotate(9deg)}.auth-brand,.auth-stats,.auth-checklist,.auth-panel-copy{z-index:1;position:relative}.auth-brand{align-items:center;gap:12px;font-size:18px;font-weight:800;display:flex}.auth-brand-mark{color:#fff;letter-spacing:0;background:#f97316;border-radius:8px;place-items:center;width:44px;height:44px;font-size:15px;display:grid;box-shadow:0 12px 28px #f9731657}.auth-kicker{color:#16a34a;letter-spacing:.08em;text-transform:uppercase;margin:0;font-size:12px;font-weight:800}.auth-panel .auth-kicker{color:#bbf7d0}.auth-panel-copy{max-width:560px}.auth-panel-copy h1{letter-spacing:0;max-width:620px;margin:14px 0 18px;font-size:clamp(34px,5vw,58px);line-height:1.02}.auth-panel-copy p:not(.auth-kicker){color:#ffffffd1;max-width:500px;margin:0;font-size:16px;line-height:1.7}.auth-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:520px;display:grid}.auth-stats div,.auth-checklist span{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#ffffff1f;border:1px solid #ffffff38;border-radius:8px}.auth-stats div{padding:16px}.auth-stats strong{font-size:20px;display:block}.auth-stats span{color:#ffffffc2;margin-top:4px;font-size:13px;display:block}.auth-checklist{gap:12px;max-width:440px;display:grid}.auth-checklist span{color:#ffffffdb;padding:14px 16px;font-weight:700}.auth-card{background:#fffffff0;flex-direction:column;justify-content:center;padding:48px;display:flex}.auth-header{margin-bottom:30px}.auth-header h2{color:#0f172a;letter-spacing:0;margin:10px 0;font-size:32px;line-height:1.15}.auth-header p:last-child{color:#64748b;margin:0;line-height:1.6}.auth-form{gap:18px;display:grid}.auth-form label{color:#334155;gap:8px;font-size:14px;font-weight:800;display:grid}.auth-form input{box-sizing:border-box;color:#0f172a;width:100%;min-height:48px;font:inherit;background:#fff;border:1px solid #d8e0ea;border-radius:8px;outline:none;padding:0 15px;font-weight:600;transition:border-color .16s,box-shadow .16s,background-color .16s}.auth-form input::placeholder{color:#94a3b8;font-weight:500}.auth-form input:focus{background:#fbfefc;border-color:#16a34a;box-shadow:0 0 0 4px #16a34a1f}.auth-submit{color:#fff;min-height:50px;font:inherit;cursor:pointer;background:#f97316;border:0;border-radius:8px;margin-top:8px;font-size:16px;font-weight:900;transition:transform .16s,box-shadow .16s,background-color .16s;box-shadow:0 14px 28px #f9731640}.auth-submit:hover:not(:disabled){background:#ea580c;transform:translateY(-1px);box-shadow:0 18px 34px #f9731652}.auth-submit:disabled{cursor:not-allowed;opacity:.72;box-shadow:none}.auth-switch{color:#64748b;text-align:center;margin:24px 0 0;line-height:1.6}.auth-switch a{color:#15803d;font-weight:900;text-decoration:none}.auth-switch a:hover{text-decoration:underline}@media (width<=860px){.auth-page{align-items:start;padding:18px}.auth-shell,.auth-shell-reverse{grid-template-columns:1fr;min-height:auto}.auth-shell-reverse .auth-panel{order:0}.auth-panel{min-height:360px;padding:30px}.auth-panel-copy h1{font-size:clamp(32px,10vw,44px)}.auth-card{padding:34px 24px}}@media (width<=520px){.auth-page{background:#f8fafc;padding:0}.auth-shell{width:100%;box-shadow:none;border:0;border-radius:0}.auth-panel{min-height:300px;padding:24px}.auth-panel-copy p:not(.auth-kicker){font-size:15px}.auth-stats{grid-template-columns:1fr}.auth-card{padding:30px 20px}.auth-header h2{font-size:28px}}.dashboard{background:var(--app-background);color:#111827;min-height:100vh}.dashboard-shell{width:min(1180px,100% - 32px);margin:0 auto;padding:28px 0 36px}.dashboard-hero{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px;display:flex}.eyebrow{color:#0f766e;text-transform:uppercase;margin:0 0 8px;font-size:12px;font-weight:900}.dashboard-hero h1{color:#111827;margin:0;font-size:38px;line-height:1.05}.dashboard-hero p{color:#64748b;margin:8px 0 0}.refresh-btn{color:#334155;cursor:pointer;background:#ffffffd1;border:1px solid #cbd5e1;border-radius:8px;padding:11px 16px;font-weight:800}.dashboard-buttons{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:18px;display:grid}.dashboard-btn{color:#fff;cursor:pointer;text-align:left;border:0;border-radius:8px;min-height:118px;padding:18px;transition:transform .16s,box-shadow .16s;box-shadow:0 18px 40px #0f172a1f}.dashboard-btn:hover{transform:translateY(-2px);box-shadow:0 24px 54px #0f172a2e}.dashboard-btn span,.dashboard-btn b{display:block}.dashboard-btn span{font-size:20px;font-weight:900}.dashboard-btn b{opacity:.84;margin-top:8px;font-size:13px}.dashboard-btn.bill{background:linear-gradient(135deg,#0f766e,#164e63)}.dashboard-btn.account{background:linear-gradient(135deg,#7c3aed,#be185d)}.dashboard-btn.product{background:linear-gradient(135deg,#2563eb,#0f766e)}.dashboard-btn.category{background:linear-gradient(135deg,#ea580c,#b45309)}.dashboard-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px;display:grid}.stat-card{background:#ffffffe0;border:1px solid #94a3b857;border-radius:8px;padding:18px;box-shadow:0 14px 34px #0f172a14}.stat-card h3{color:#64748b;margin:0 0 10px;font-size:13px}.stat-card p{color:#111827;margin:0;font-size:24px;font-weight:900}.records-section{background:#ffffffe6;border:1px solid #94a3b857;border-radius:8px;overflow:hidden;box-shadow:0 22px 64px #0f172a1a}.record-tabs{background:#f8fafcd1;border-bottom:1px solid #e2e8f0;gap:8px;padding:14px;display:flex}.record-tabs button{color:#334155;cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:8px;padding:10px 16px;font-weight:800}.record-tabs button.active{color:#fff;background:#0f766e;border-color:#0f766e}.dashboard-error{color:#b91c1c;background:#fef2f2;border:1px solid #fecaca;border-radius:8px;margin:14px;padding:12px 14px;font-weight:700}.records-layout{grid-template-columns:minmax(0,1fr) 320px;min-height:360px;display:grid}.records-table-wrap{max-height:520px;overflow:auto}.records-table{border-collapse:collapse;width:100%;min-width:680px}.detail-panel{background:linear-gradient(#fff,#f8fafc);border-left:1px solid #e2e8f0;max-height:520px;padding:20px;overflow-y:auto}.records-table th,.records-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf2f7;padding:14px 16px}.records-table th{color:#64748b;text-transform:uppercase;font-size:12px}.records-table td{color:#1f2937;font-size:14px}.eye-btn{color:#fff;cursor:pointer;background:#172033;border:0;border-radius:8px;padding:8px 12px;font-weight:800}.detail-panel{background:linear-gradient(#fff,#f8fafc);border-left:1px solid #e2e8f0;padding:20px}.panel-label{color:#0f766e;text-transform:uppercase;font-size:12px;font-weight:900}.detail-panel h2{margin:8px 0 18px;font-size:24px}.detail-panel dl{margin:0}.detail-panel dl div{border-bottom:1px solid #e2e8f0;justify-content:space-between;gap:16px;padding:11px 0;display:flex}.detail-panel dt{color:#64748b;font-size:13px}.detail-panel dd{color:#111827;text-align:right;margin:0;font-weight:800}.empty-record{color:#64748b;text-align:center;padding:36px 18px}.customer-detail-page{z-index:1000;background:var(--app-background);padding:26px;position:fixed;inset:0;overflow-y:auto}.customer-detail-shell{width:min(1180px,100%);margin:0 auto}.customer-detail-top{justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;display:flex}.customer-detail-top h2{color:#111827;margin:8px 0 6px;font-size:36px;line-height:1.08}.customer-detail-top p{color:#64748b;margin:0}.close-detail-btn{color:#fff;cursor:pointer;background:#172033;border:0;border-radius:8px;padding:11px 16px;font-weight:900}.customer-metric-grid{grid-template-columns:1.5fr 1fr 1fr;gap:16px;margin-bottom:18px;display:grid}.customer-metric{background:#ffffffe6;border:1px solid #94a3b857;border-radius:8px;min-height:116px;padding:18px;box-shadow:0 18px 48px #0f172a1a}.customer-metric.due{color:#fff;background:linear-gradient(135deg,#0f766e,#164e63)}.customer-metric span,.customer-metric strong{display:block}.customer-metric span{color:inherit;opacity:.74;font-size:13px;font-weight:800}.customer-metric strong{color:inherit;margin-top:12px;font-size:30px;line-height:1.08}.bill-items-section{background:#fffffff0;border:1px solid #94a3b857;border-radius:8px;overflow:hidden;box-shadow:0 22px 64px #0f172a1a}.bill-items-head{border-bottom:1px solid #e2e8f0;justify-content:space-between;align-items:center;gap:16px;padding:18px;display:flex}.bill-items-head h3{color:#111827;margin:0;font-size:20px}.bill-items-head span{color:#64748b;font-size:13px}.bill-items-table-wrap{overflow-x:auto}.bill-items-table{border-collapse:collapse;width:100%;min-width:860px}.bill-items-table th,.bill-items-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #edf2f7;padding:15px 18px}.bill-items-table th{color:#64748b;text-transform:uppercase;font-size:12px}.bill-items-table td{color:#1f2937;font-size:14px;font-weight:700}@media (width<=980px){.dashboard-buttons,.dashboard-stats,.customer-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.records-layout{grid-template-columns:1fr}.detail-panel{border-top:1px solid #e2e8f0;border-left:0}}@media (width<=640px){.dashboard-hero{display:grid}.dashboard-buttons,.dashboard-stats,.customer-metric-grid{grid-template-columns:1fr}.customer-detail-page{padding:18px}.customer-detail-top,.bill-items-head{display:grid}}.add-customer-page{background:linear-gradient(135deg,#f5f7fa 0%,#c3cfe2 100%);flex-direction:column;min-height:100vh;padding:20px 0;display:flex}.add-customer-container{flex:1;width:min(700px,100% - 40px);margin:40px auto;padding:0 20px}.add-customer-header{margin-bottom:32px}.add-customer-header h2{color:#111827;margin:0 0 8px;font-size:32px;font-weight:700;line-height:1.2}.add-customer-header p{color:#6b7280;margin:0;font-size:14px}.add-customer-form-wrapper{background:#fff;border-radius:12px;padding:32px;box-shadow:0 10px 25px #00000014}.add-customer-form{flex-direction:column;gap:24px;display:flex}.alert{border-radius:8px;align-items:center;gap:10px;margin-bottom:8px;padding:14px 16px;font-size:14px;display:flex}.alert-error{color:#991b1b;background-color:#fee2e2;border-left:4px solid #dc2626}.alert-success{color:#166534;background-color:#dcfce7;border-left:4px solid #16a34a}.form-group{flex-direction:column;gap:6px;display:flex}.form-label{color:#374151;align-items:center;gap:4px;font-size:14px;font-weight:600;display:flex}.required{color:#dc2626;font-weight:700}.form-input{color:#111827;background:#fff;border:2px solid #e5e7eb;border-radius:8px;padding:11px 14px;font-family:inherit;font-size:14px;transition:all .3s}.form-input:focus{border-color:#0f766e;outline:none;box-shadow:0 0 0 3px #0f766e1a}.form-input:disabled{color:#9ca3af;cursor:not-allowed;background-color:#f3f4f6}.form-input::placeholder{color:#9ca3af}.form-help{color:#6b7280;margin-top:2px;font-size:12px}.form-actions{justify-content:flex-end;gap:12px;margin-top:24px;display:flex}.btn{cursor:pointer;text-align:center;border:none;border-radius:8px;min-width:120px;padding:11px 24px;font-size:14px;font-weight:600;transition:all .3s}.btn:disabled{opacity:.6;cursor:not-allowed}.btn-primary{color:#fff;background-color:#0f766e}.btn-primary:hover:not(:disabled){background-color:#115e59;box-shadow:0 4px 12px #0f766e4d}.btn-primary:active:not(:disabled){background-color:#0d5f57;transform:scale(.98)}.btn-secondary{color:#374151;background-color:#e5e7eb}.btn-secondary:hover:not(:disabled){background-color:#d1d5db;box-shadow:0 4px 12px #0000001a}.btn-secondary:active:not(:disabled){background-color:#d1d5db;transform:scale(.98)}@media (width<=768px){.add-customer-container{width:calc(100% - 20px);margin:20px auto}.add-customer-form-wrapper{padding:24px}.add-customer-header h2{font-size:24px}.form-actions{flex-direction:column-reverse}.btn{width:100%;min-width:unset}}@media (width<=480px){.add-customer-page{padding:0}.add-customer-container{width:100%;margin:0;padding:20px}.add-customer-form-wrapper{border-radius:8px;padding:20px}.add-customer-form{gap:20px}.add-customer-header{margin-bottom:24px}.add-customer-header h2{font-size:20px}.add-customer-header p{font-size:12px}}
