:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0a0a0a;--panel:#151515;--line:#2a2a2a;--muted:#718096;--green:#7ed321;--green-hover:#6bb81a;--danger:#ef4444}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--bg);color:#fff;margin:0;font-family:Arial,Helvetica,sans-serif}button,input{font:inherit}.login-shell{justify-content:center;align-items:center;min-height:100svh;padding:32px 16px;display:flex}.login-wrap{width:100%;max-width:340px}.logo{object-fit:contain;width:250px;height:172px;margin:0 auto 12px;display:block}.heading{text-align:center;margin-bottom:28px}.heading h1{letter-spacing:-.3px;margin:0;font-size:23px;font-weight:800}.heading p{color:#718096;margin:8px 0 0;font-size:13px}.card{background:var(--panel);border:1px solid #222;border-radius:16px;padding:20px;box-shadow:0 20px 50px #0007}.field{margin-bottom:16px}.field label{color:#a0aec0;letter-spacing:.5px;text-transform:uppercase;margin-bottom:7px;font-size:11px;font-weight:600;display:block}.field input{color:#fff;background:var(--bg);border:1px solid var(--line);border-radius:11px;outline:none;width:100%;padding:12px 14px}.field input:focus{border-color:var(--green);box-shadow:0 0 0 3px #7ed32124}.submit{color:#070707;background:var(--green);cursor:pointer;border:0;border-radius:11px;width:100%;padding:12px;font-weight:700;transition:background .15s,transform .15s}.submit:hover{background:var(--green-hover)}.submit:active{transform:scale(.985)}.submit:disabled{opacity:.6;cursor:wait}.error{color:#ff7676;background:#ef44441a;border:1px solid #ef44444d;border-radius:10px;margin:0 0 14px;padding:11px 13px;font-size:13px}.success{text-align:center}.success p{color:#a0aec0;margin:0 0 18px;line-height:1.5}.success strong{color:#fff}.logout{color:#fff;border:1px solid var(--line);cursor:pointer;background:0 0;border-radius:10px;padding:10px 18px}.footer{color:#4a5568;text-align:center;margin:24px 0 0;font-size:11px}.driver-shell{background:#0a0a0a;min-height:100svh}.driver-topbar{z-index:20;background:#111;border-bottom:1px solid #252525;align-items:center;gap:18px;height:68px;padding:0 30px;display:flex;position:sticky;top:0}.brand{color:#f6f7f5;letter-spacing:-.4px;align-items:center;gap:10px;font-weight:800;text-decoration:none;display:flex}.brand-mark{border:1px solid var(--green);background:var(--bg);border-radius:50%;flex:0 0 32px;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex;overflow:hidden}.brand-mark img{object-fit:cover;width:100%;height:100%;display:block}.brand-accent{color:var(--green)}.brand small{color:#7c8795;letter-spacing:1.6px;margin-top:1px;font-size:9px;display:block}.menu-button{color:#eef2ed;cursor:pointer;background:0 0;border:0;font-size:22px;display:none}.top-user{color:#d5d9d4;align-items:center;gap:9px;margin-left:auto;font-size:13px;display:flex}.driver-commission-balance{color:#8fe04e;white-space:nowrap;font-size:12px;font-weight:700}.online-dot{background:var(--green);border-radius:50%;width:8px;height:8px;display:inline-block;box-shadow:0 0 9px #7ed32170}.logout-link{color:#d5d9d4;cursor:pointer;background:0 0;border:1px solid #323632;border-radius:9px;margin-left:8px;padding:8px 12px}.driver-layout{grid-template-columns:250px minmax(0,1fr);min-height:calc(100svh - 68px);display:grid}.driver-sidebar{background:#111;border-right:1px solid #252525;flex-direction:column;height:calc(100svh - 68px);padding:22px 14px 18px;display:flex;position:sticky;top:68px}.sidebar-profile{border-bottom:1px solid #292929;align-items:center;gap:11px;min-width:0;padding:4px 9px 22px;display:flex}.sidebar-profile>div:nth-child(2){gap:4px;min-width:0;display:grid}.sidebar-profile strong{color:#f2f4f1;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.sidebar-profile span{color:#7d8792;font-size:11px}.avatar{color:#102000;background:var(--green);border-radius:50%;flex:0 0 38px;place-items:center;height:38px;font-size:17px;font-weight:800;display:grid}.drawer-close{color:#ccc;background:0 0;border:0;margin-left:auto;font-size:24px;display:none}.driver-sidebar nav{gap:6px;padding-top:17px;display:grid}.side-tab{color:#a6aeb7;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;width:100%;padding:13px 12px;display:flex}.side-tab>span{color:#909a9f;text-align:center;width:22px;font-size:18px}.side-tab:hover,.side-tab.active{color:#f3f5ef;background:#1d2518}.side-tab.active>span{color:var(--green)}.sidebar-note{color:#7c8790;align-items:center;gap:9px;margin-top:auto;padding:14px 10px;font-size:11px;display:flex}.sidebar-logout{color:#a7afb8;cursor:pointer;background:0 0;border:1px solid #303030;border-radius:9px;padding:11px}.driver-content{width:100%;max-width:1500px;margin:0 auto;padding:34px clamp(20px,3.5vw,54px) 22px}.content-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:25px;display:flex}.eyebrow{color:var(--green);letter-spacing:1.7px;margin:0 0 8px;font-size:10px;font-weight:700}.content-heading h1{letter-spacing:-.7px;margin:0;font-size:clamp(26px,3vw,34px)}.subtitle{color:#83909c;margin:8px 0 0;font-size:13px}.heading-actions{align-items:center;gap:12px;display:flex}.availability{color:#c1d5af;cursor:pointer;white-space:nowrap;background:#182317;border:1px solid #2c4625;border-radius:30px;align-items:center;gap:8px;padding:9px 12px;font-size:11px;display:inline-flex}.availability i{background:var(--green);border-radius:50%;width:7px;height:7px}.availability.off{color:#c2c6c2;background:#202020;border-color:#373737}.availability.off i{background:#777}.availability:disabled{opacity:.65;cursor:wait}.refresh-button{color:#d3d8d2;cursor:pointer;background:#171717;border:1px solid #303030;border-radius:9px;padding:9px 13px}.refresh-button:disabled{opacity:.55}.mobile-tabs{display:none}.list-meta{color:#74808b;justify-content:space-between;margin-bottom:14px;font-size:11px;display:flex}.orders-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px;display:grid}.order-card{background:#151515;border:1px solid #292929;border-radius:15px;min-width:0;padding:18px;box-shadow:0 10px 28px #0002}.order-card-head{border-bottom:1px solid #2b2b2b;justify-content:space-between;align-items:flex-start;gap:10px;padding-bottom:13px;display:flex}.order-card-head>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.order-id{color:#e5e9e2;letter-spacing:.3px;font-size:12px;font-weight:800}.state-pill{color:#b9d69d;background:#26361c;border-radius:20px;padding:4px 8px;font-size:9px;font-weight:700}.state-pill.entregado{color:#cef2b2;background:#1c3617}.state-pill.cancelado,.state-pill.rechazado{color:#d5d5d5;background:#333}.order-date{color:#737e87;text-align:right;font-size:10px}.order-money{grid-template-columns:repeat(3,1fr);gap:8px;padding:13px 0;display:grid}.order-money>div{gap:5px;display:grid}.order-money span{color:#77828d;font-size:10px}.order-money strong{color:var(--green);font-size:14px}.order-money .money-total strong{color:#f5f6f3}.place-row{border-top:1px solid #292929;grid-template-columns:24px minmax(0,1fr);gap:8px;padding:12px 0;display:grid}.place-icon{color:var(--green);text-align:center;font-size:18px}.place-icon.customer{color:#a2a9ad;font-size:12px}.place-body{gap:5px;min-width:0;display:grid}.place-body strong{color:#f0f2ef;font-size:13px}.place-body span{color:#9aa2a8;font-size:12px;line-height:1.45}.place-body a{color:#a9cf83;width:fit-content;font-size:11px;text-decoration:none}.contact-links{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.contact-links .whatsapp-link{color:#c6eaa7;background:#1c2a18;border:1px solid #344a2a;border-radius:7px;padding:5px 9px;font-size:10px;font-weight:700}.place-body a:hover,.map-link:hover{text-decoration:underline}.items-box{background:#101010;border:1px solid #252525;border-radius:10px;gap:7px;margin-top:7px;padding:12px;display:grid}.items-box>strong{color:#dfe4dc;margin-bottom:2px;font-size:11px}.item-line{color:#aeb5b4;grid-template-columns:1fr auto;gap:4px 8px;font-size:11px;display:grid}.item-line>span:last-of-type{color:#c9d3c2}.item-line small{color:#758078;grid-column:1/-1}.order-note{color:#aeb6b0;background:#101010;border-radius:8px;padding:10px 11px;font-size:11px}.timeline{background:#101010;border:1px solid #282828;border-radius:10px;margin-top:12px;padding:13px}.timeline-steps{color:#707a7b;justify-content:space-between;gap:6px;font-size:9px;display:flex}.timeline-steps span{max-width:24%}.timeline-steps .done{color:#b5d895}.timeline-track{background:#333;border-radius:5px;height:5px;margin:10px 0;overflow:hidden}.timeline-track i{background:var(--green);border-radius:inherit;height:100%;transition:width .2s;display:block}.timeline-dates,.history-stamps{color:#78827c;gap:5px;font-size:10px;display:grid}.history-stamps{background:#101010;border-radius:9px;margin-top:13px;padding:11px}.waiting-local{color:#b6c5aa;background:#172016;border:1px solid #2c4025;border-radius:9px;margin-top:12px;padding:12px;font-size:11px;line-height:1.5}.order-card-foot{border-top:1px solid #292929;justify-content:space-between;align-items:center;gap:10px;margin-top:14px;padding-top:13px;display:flex}.map-link{color:#a9cf83;white-space:nowrap;font-size:11px;text-decoration:none}.waiting-ready{color:#a3aaa5;text-align:right;font-size:10px}.primary-action{color:#0d1607;background:var(--green);cursor:pointer;border:0;border-radius:9px;min-height:40px;padding:10px 15px;font-size:12px;font-weight:800}.primary-action:hover{background:#8bdd37}.primary-action:disabled{opacity:.55;cursor:not-allowed}.history-total{color:#b6d995;font-size:11px;font-weight:700}.empty-state{text-align:center;background:#121212;border:1px dashed #303030;border-radius:15px;align-content:center;justify-items:center;min-height:340px;padding:24px;display:grid}.empty-icon{width:54px;height:54px;color:var(--green);background:#1b2816;border-radius:50%;place-items:center;font-size:28px;display:grid}.empty-state h2{margin:15px 0 7px;font-size:16px}.empty-state p{color:#7f8992;max-width:370px;margin:0;font-size:12px;line-height:1.6}.spinner{border:2px solid #333;border-top-color:var(--green);border-radius:50%;width:24px;height:24px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.error-panel,.notice{border-radius:9px;justify-content:space-between;align-items:center;gap:12px;margin:0 0 14px;padding:12px 14px;font-size:12px;display:flex}.error-panel{color:#ff9a9a;background:#291818;border:1px solid #503030}.error-panel button{color:#fff;cursor:pointer;background:#402222;border:1px solid #704040;border-radius:7px;padding:7px 11px}.notice{color:#c0e4a0;background:#172416;border:1px solid #2c4625}.load-more{color:#d7ded3;cursor:pointer;background:#171717;border:1px solid #383838;border-radius:9px;min-width:200px;margin:20px auto;padding:11px 20px;display:block}.load-more:disabled{opacity:.6}.content-footer{color:#4e565d;text-align:center;margin:28px 0 0;font-size:10px}@media (min-width:1350px){.orders-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:850px){.driver-topbar{height:60px;padding:0 18px}.menu-button{display:inline-block}.driver-layout{min-height:calc(100svh - 60px);display:block}.driver-sidebar{z-index:42;width:min(310px,84vw);height:100dvh;padding:22px 15px;transition:transform .2s;position:fixed;inset:0 auto 0 0;transform:translate(-105%)}.driver-sidebar.is-open{transform:translate(0)}.drawer-close{display:block}.drawer-backdrop{z-index:41;background:#000a;border:0;position:fixed;inset:0}.driver-content{padding:24px 18px 28px}.orders-grid{grid-template-columns:1fr}}@media (max-width:600px){.driver-topbar{gap:12px;padding:0 13px}.brand{gap:7px;font-size:14px}.brand-mark{flex-basis:28px;width:28px;height:28px}.top-user{gap:6px;font-size:11px}.driver-commission-balance{font-size:10px}.logout-link{margin-left:3px;padding:7px 9px;font-size:11px}.driver-content{padding:21px 13px 25px}.content-heading{align-items:flex-start;gap:12px;margin-bottom:15px}.content-heading h1{font-size:25px}.subtitle{max-width:300px;font-size:11px;line-height:1.45}.eyebrow{font-size:9px}.heading-actions{flex-direction:column-reverse;align-items:flex-end;gap:7px}.availability{white-space:nowrap;padding:7px 9px;font-size:9px}.refresh-button{white-space:nowrap;padding:7px 10px}.refresh-button span{display:none}.mobile-tabs{z-index:10;background:#111;border-bottom:1px solid #2c2c2c;grid-template-columns:repeat(3,1fr);margin:0 -13px 15px;display:grid;position:sticky;top:60px}.mobile-tabs button{color:#8e989e;cursor:pointer;background:0 0;border:0;border-bottom:2px solid #0000;justify-content:center;align-items:center;gap:6px;min-height:49px;padding:0 4px;font-size:11px;display:flex}.mobile-tabs button.active{color:var(--green);border-bottom-color:var(--green)}.mobile-tabs button span{color:#10160b;background:var(--green);border-radius:50%;place-items:center;min-width:18px;height:18px;font-size:9px;font-weight:700;display:inline-grid}.list-meta{margin-bottom:11px;font-size:9px}.order-card{border-radius:13px;padding:14px 12px}.order-card-head{flex-direction:column;gap:7px}.order-date{text-align:left}.order-money{gap:5px}.order-money span{font-size:9px}.order-money strong,.place-body strong{font-size:12px}.place-body span{font-size:11px}.order-card-foot{flex-direction:column;align-items:stretch}.map-link{padding:4px 1px}.primary-action{width:100%;min-height:44px}.empty-state{min-height:270px}.timeline-steps{font-size:8px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.push-notifications{color:#dcebd4;background:#111811;border:1px solid #2b4721;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 16px;padding:13px 15px;font-size:13px;display:flex}.push-notifications-copy{flex:1;min-width:0}.push-notifications-copy strong{font-weight:600}.push-notifications-copy p{color:#b6e59a;margin:4px 0 0}.push-notifications button{background:var(--green);color:#111;cursor:pointer;border:0;border-radius:8px;padding:9px 14px;font-weight:700}.push-notifications button:disabled{opacity:.65;cursor:wait}@media (max-width:600px){.push-notifications{align-items:flex-start;gap:9px;padding:11px;font-size:12px}.push-notifications-copy{flex-basis:100%}.push-notifications button{flex:auto;padding:8px 10px}}
