:root{color:#13233d;font-synthesis:none;text-rendering:optimizelegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}html{min-width:320px;min-height:100%}body{min-width:320px;min-height:100%;margin:0}button,input{font:inherit}#root{min-height:100svh}.login-page{background:#ff4b12 url(/images/ataway_login_bg.png) 50%/cover no-repeat;place-items:end center;min-height:100svh;padding:0 24px 14svh;display:grid}.login-form{gap:20px;width:min(100%,620px);display:grid}.login-field{background:#fffffff5;border-radius:8px;align-items:center;min-height:78px;display:flex;box-shadow:0 18px 40px #a02b002e}.login-field input{color:#293241;background:0 0;border:0;outline:0;width:100%;min-width:0;padding:0 30px;font-size:28px;font-weight:500}.login-field input::placeholder{color:#6d7179;opacity:1}.password-field input{padding-right:10px}.login-submit{color:#f05a2a;cursor:pointer;background:#fffffffa;border:0;border-radius:8px;min-height:78px;font-size:28px;font-weight:900;box-shadow:0 18px 40px #a02b002e}.login-submit:disabled{cursor:wait;opacity:.8}.login-error{color:#c92121;background:#fffffff2;border-radius:8px;padding:14px 18px;font-weight:800}.dashboard-page{color:#13233d;background:linear-gradient(#ff5b2b14,#f6f8fc00 340px),#f5f7fb;min-height:100svh}.topbar{z-index:8;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#f5f7fbeb;border-bottom:1px solid #e2e9f3;justify-content:space-between;align-items:center;gap:18px;padding:18px clamp(18px,4vw,44px);display:flex;position:sticky;top:0}.brand-block,.topbar-actions,.metric-top,.panel-head,.payment-name,.cash-total,.balance-lines div,.rank-row,.register-item,.shift-item,.recent-row,.shift-detail-top,.meta-line,.empty-text{align-items:center;display:flex}.brand-block{gap:14px;min-width:0}.brand-icon{color:#fff;background:#f05a2a;border-radius:8px;flex:none;place-items:center;width:48px;height:48px;display:grid;box-shadow:0 12px 24px #f05a2a4d}h1,h2,p{margin:0}.brand-block h1{color:#10234a;font-size:25px;font-weight:950;line-height:1.1}.brand-block p,.panel-head span,.rank-row span,.register-item span,.shift-item span,.recent-row span,.info-row span,.product-row span{color:#6b7890}.topbar-actions{gap:10px}.period-tabs{background:#fff;border:1px solid #e1e8f2;border-radius:8px;gap:6px;padding:5px;display:flex}.date-filter{color:#1f66d1;background:#fff;border:1px solid #e1e8f2;border-radius:8px;align-items:center;gap:8px;min-height:44px;padding:0 12px;font-weight:850;display:flex}.date-filter input{color:#1b2d51;background:0 0;border:0;outline:0;width:142px;font-weight:850}.range-filter span{color:#62708a;font-size:13px;font-weight:900}.range-filter input{width:132px}.clear-date{color:#f05a2a;cursor:pointer;background:#fff4ef;border:1px solid #ffd3c4;border-radius:8px;min-height:44px;padding:0 14px;font-weight:900}.period-tabs button,.icon-button,.error-state button{cursor:pointer;border:0}.period-tabs button{color:#35445f;background:0 0;border-radius:7px;min-height:38px;padding:0 16px;font-weight:850}.period-tabs button.active{color:#fff;background:#f05a2a}.icon-button{color:#1b2d51;background:#fff;border:1px solid #e1e8f2;border-radius:8px;place-items:center;width:44px;height:44px;display:inline-grid}.icon-button.danger{color:#e5482f}.icon-button.ghost{color:#6d7179;background:0 0;border:0;width:54px}.icon-button.light{color:#d8e3f7}.dashboard-shell{width:min(100%,1440px);margin:0 auto;padding:22px clamp(16px,4vw,44px) 46px}.hero-metrics{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px;display:grid}.metric-card{color:#fff;border-radius:8px;flex-direction:column;justify-content:space-between;min-height:150px;padding:18px;display:flex;box-shadow:0 20px 36px #12223f1f}.metric-card.orange{background:linear-gradient(135deg,#ff6232,#ffa445)}.metric-card.green{background:linear-gradient(135deg,#10a868,#43d992)}.metric-card.blue{background:linear-gradient(135deg,#2463eb,#63a6ff)}.metric-card.violet{background:linear-gradient(135deg,#7046d9,#a982ff)}.metric-card.pink{background:linear-gradient(135deg,#7c3aed,#f472b6)}.metric-top{justify-content:space-between;gap:10px;font-weight:850}.metric-top svg{width:24px;height:24px}.metric-card strong{color:#fff;text-overflow:ellipsis;white-space:nowrap;font-size:clamp(22px,2vw,32px);line-height:1.05;display:block;overflow:hidden}.metric-card small{color:#ffffffe0;font-weight:750}.quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:14px;display:grid}.small-stat,.panel{background:#fff;border:1px solid #e0e8f3;border-radius:8px;box-shadow:0 16px 34px #16274a0f}.small-stat{gap:12px;min-width:0;padding:14px}.small-icon,.status-icon,.payment-name svg,.cash-total svg{flex:none;place-items:center;display:grid}.small-icon{color:#1f66d1;background:#eaf3ff;border-radius:8px;width:44px;height:44px}.small-stat span{color:#1d3a69;font-size:13px;font-weight:850;display:block}.small-stat strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;margin-top:4px;display:block;overflow:hidden}.content-grid{grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:14px;margin-top:14px;display:grid}.panel{min-width:0;padding:16px}.panel.wide{grid-column:1/-1}.panel-head{justify-content:space-between;gap:12px;margin-bottom:14px}.panel-head h2{color:#14366b;font-size:19px;font-weight:950}.panel-head span{font-size:13px;font-weight:850}.table-wrap{overflow-x:auto}.payment-table{border:1px solid #dde8f6;border-radius:8px;min-width:660px;overflow:hidden}.table-row{color:#12151c;border-bottom:1px solid #e2e9f3;grid-template-columns:1.3fr 1fr 1fr 1fr;align-items:center;min-height:58px;padding:0 16px;display:grid}.table-row:last-child{border-bottom:0}.table-header{color:#fff;text-transform:uppercase;background:#1f4c91;min-height:48px;font-size:13px;font-weight:950}.table-total{color:#173b71;background:#edf5ff}.cashback-row{background:#fbf7ff}.cashback-row .payment-name svg{color:#7c3aed;background:#f1e8ff}.cashback-row strong{color:#7c3aed}.payment-name{gap:10px;font-weight:950}.payment-name svg,.balance-lines svg{color:#21b268;background:#e8f7ee;border-radius:8px;width:34px;height:34px;padding:8px}.green{color:#0e8f45}.red{color:#ef2e2e}.cash-balance{gap:18px;display:grid}.cash-total{background:#f5f9ff;border-radius:8px;gap:14px;padding:16px}.cash-total svg{color:#1f5ca9;background:#e4f0ff;border-radius:8px;width:58px;height:58px;padding:14px}.cash-total span,.cash-total strong{display:block}.cash-total strong{color:#173b71;margin-top:4px;font-size:25px;font-weight:950}.balance-lines{gap:10px;display:grid}.balance-lines div{justify-content:space-between;gap:12px}.balance-lines span{align-items:center;gap:8px;display:flex}.rank-list,.stack,.product-list,.info-list{gap:10px;display:grid}.rank-row{background:#fbfdff;border:1px solid #e5edf7;border-radius:8px;gap:12px;padding:12px}.rank-row div:nth-child(2){flex:1;min-width:0}.rank-row strong,.rank-row span{display:block}.rank-row b,.register-item b,.recent-row b{color:#0d8e48}.rank-badge{color:#f05a2a;background:#fff1e9;border-radius:8px;place-items:center;width:34px;height:34px;font-weight:950;display:grid}.register-item{text-align:left;cursor:pointer;background:#fbfdff;border:1px solid #e5edf7;border-radius:8px;gap:12px;width:100%;min-height:72px;padding:12px}.register-item>div:nth-child(2){flex:1;min-width:0}.register-item strong,.register-item span{display:block}.status-icon{color:#65728a;background:#eff2f7;border-radius:8px;width:44px;height:44px}.status-icon.online{color:#0e9f6e;background:#e7f8ef}.shift-item{background:#fbfdff;border:1px solid #e5edf7;border-radius:8px;justify-content:space-between;gap:12px;padding:13px}.shift-item>div{min-width:0}.shift-item>div:last-child{text-align:right}.info-row{border-bottom:1px dashed #d6e1ee;justify-content:space-between;gap:16px;padding:10px 0;display:flex}.info-row:last-child{border-bottom:0}.product-row{gap:8px;display:grid}.product-row div:first-child{justify-content:space-between;gap:10px;display:flex}.progress-track{background:#ffe5d9;border-radius:999px;height:8px;overflow:hidden}.progress-track span{border-radius:inherit;background:#f05a2a;height:100%;display:block}.recent-row{background:#fbfdff;border:1px solid #e5edf7;border-radius:8px;justify-content:space-between;gap:10px;padding:12px}.recent-row strong{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.center-state{text-align:center;background:#fff;border:1px solid #e5edf7;border-radius:8px;place-items:center;gap:14px;width:min(100% - 32px,520px);margin:80px auto;padding:28px;display:grid}.error-state{color:#d93a2f}.error-state button{color:#fff;background:#f05a2a;border-radius:8px;min-height:42px;padding:0 18px;font-weight:850}.empty-text{color:#7d899b;border:1px dashed #d5e0ec;border-radius:8px;justify-content:center;gap:8px;min-height:90px}.modal-backdrop{z-index:20;background:#00000094;place-items:center;padding:22px;display:grid;position:fixed;inset:0}.register-modal{color:#fff;background:#172b55;border-radius:8px;width:min(100%,1040px);max-height:min(820px,90svh);padding:24px;overflow:auto}.modal-head{justify-content:space-between;gap:16px;margin-bottom:20px;display:flex}.modal-head h2{color:#cbd8f4;font-size:24px;font-weight:950}.modal-head p{color:#cbd8f4;margin-top:8px}.shift-detail{background:#243f77;border:1px solid #47e58b;border-radius:8px;padding:18px}.shift-detail-top{gap:10px;margin-bottom:14px}.shift-detail-top strong{color:#cbd8f4;font-size:20px}.shift-detail-top span{color:#beffe2;background:#0f8c71;border-radius:999px;padding:6px 10px;font-weight:900}.meta-line{color:#cbd8f4;flex-wrap:wrap;gap:10px 18px}.shift-detail h3{color:#fff;margin:14px 0;font-size:18px}.modal-total{color:#ffb5b5;margin-top:14px;display:block}.spin{animation:.9s linear infinite spin}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}@keyframes spin{to{transform:rotate(360deg)}}@media (width<=1120px){.hero-metrics,.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-grid{grid-template-columns:1fr}}@media (width<=780px){.topbar{flex-direction:column;align-items:stretch;position:static}.topbar-actions{flex-wrap:wrap;align-items:stretch}.period-tabs{flex:100%;overflow-x:auto}.date-filter{flex:calc(50% - 6px)}.date-filter input{width:100%}.period-tabs button{flex:1 0 auto}.brand-block h1{font-size:22px}.hero-metrics,.quick-grid{grid-template-columns:1fr}.metric-card{min-height:132px}.login-page{background-position:top;padding:0 22px 10svh}.login-form{gap:14px}.login-field,.login-submit{min-height:58px}.login-field input,.login-submit{font-size:18px}.login-field input{padding:0 18px}.register-modal{padding:16px}.shift-detail{padding:14px}}@media (width<=560px){.dashboard-shell{padding-inline:12px}.panel{padding:12px}.small-stat,.register-item,.shift-item,.recent-row,.rank-row{align-items:flex-start}.register-item,.shift-item,.recent-row{flex-direction:column}.shift-item>div:last-child,.register-item b,.recent-row b{text-align:left}.modal-backdrop{padding:10px}}
