*{box-sizing:border-box}:root{color-scheme:light;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;background:linear-gradient(135deg,#667eea,#764ba2);min-height:100%}body{margin:0;min-height:100vh;color:#1f2937;background:linear-gradient(135deg,#667eea,#764ba2)}a{color:inherit;text-decoration:none}button{font:inherit}#root{min-height:100vh;display:flex;align-items:stretch;justify-content:center}.orders-page{display:flex;flex-direction:column;min-height:100%}.orders-toolbar{display:flex;justify-content:space-between;align-items:center;padding:20px;background:#fff;border-bottom:1px solid #e5e7eb}.orders-toolbar h1{margin:0;font-size:1rem;font-weight:600}.orders-actions button{display:inline-flex;align-items:center;gap:.5rem;border-radius:999px;border:1px solid rgba(15,23,42,.12);padding:.45rem .9rem;background:#fff;font-size:.9rem;color:#0a67c6}.tabs{display:flex;background:#fff;border-bottom:1px solid #e5e7eb;position:sticky;top:0;z-index:10}.tab{flex:1;padding:15px;text-align:center;font-weight:500;color:#6b7280;cursor:pointer;background:transparent;border:none;position:relative;font-size:14px}.tab.active{color:#667eea}.tab.active:after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:#667eea}.tab-badge{background:#ef4444;color:#fff;font-size:11px;padding:2px 6px;border-radius:999px;margin-left:6px}.orders-content{display:flex;flex-direction:column;gap:20px;padding:20px}.orders-list{display:flex;flex-direction:column;gap:15px}.order-card{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 10px #00000014;position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease;text-decoration:none;color:inherit}.order-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:#667eea}.order-card.priority:before{background:#dc2626}.order-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px #667eea40}.order-card.static{cursor:default}.order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:15px}.order-number{font-size:18px;font-weight:600;color:#1f2937}.order-timer{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.timer-display{padding:6px 10px;border-radius:8px;font-size:14px;font-weight:600;background:#dcfce7;color:#15803d}.timer-display.warning{background:#fed7aa;color:#c2410c}.timer-display.priority{background:#fecaca;color:#dc2626}.timer-label{font-size:10px;color:#6b7280;text-transform:uppercase;letter-spacing:.5px}.customer-info{display:flex;align-items:center;gap:12px;margin-bottom:15px;padding:12px;background:#f9fafb;border-radius:8px}.customer-avatar{width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.customer-avatar.large{width:56px;height:56px;font-size:18px}.customer-details h3{margin:0;font-size:14px;font-weight:600;color:#1f2937}.customer-details p{margin:4px 0 0;font-size:12px;color:#6b7280}.phone-link{color:#667eea;text-decoration:none}.order-total{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f3f4f6;border-radius:8px;margin-bottom:15px;font-weight:600}.order-items{list-style:none;margin:0 0 15px;display:flex;flex-direction:column;gap:8px;background:#f9fafb;border-radius:8px;padding:12px}.order-item{display:flex;gap:8px;align-items:center;font-size:14px;color:#1f2937}.item-quantity{font-weight:600;color:#4b5563}.action-btn{width:100%;padding:16px;border-radius:10px;border:none;cursor:pointer;font-weight:600;letter-spacing:.5px;text-transform:uppercase;transition:transform .2s ease,opacity .2s ease}.action-btn.primary{background:#10b981;color:#fff}.action-btn.accept-btn{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}.empty-state{margin:0;padding:20px;border-radius:12px;background:#fff;text-align:center;color:#6b7280}.completed-orders-list{display:flex;flex-direction:column;gap:12px}.order-status-tag{display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:8px;background:#d1fae5;color:#047857;font-size:12px;font-weight:600;margin-top:12px}.order-detail{background:#fff;border-radius:16px;padding:20px;box-shadow:0 16px 40px #4f46e526}.address-section{display:flex;gap:12px;margin-bottom:15px}.address-icon{width:36px;height:36px;border-radius:10px;background:#ede9fe;display:grid;place-items:center}.address-text h4{font-size:12px;letter-spacing:.6px;text-transform:uppercase;margin:0 0 4px;color:#6b7280}.address-text p{margin:0;line-height:1.4}.address-links{margin-top:10px;display:flex;gap:12px}.address-links a{color:#667eea;font-size:12px;text-decoration:none;font-weight:600}.verification-stack{display:flex;flex-direction:column;gap:16px;margin-top:20px}.verify-section{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 12px #00000014}.verify-header{display:flex;align-items:center;gap:10px;margin-bottom:20px}.verify-item{display:flex;align-items:center;justify-content:space-between;padding:15px;background:#f9fafb;border-radius:8px;margin-bottom:10px;border:none;width:100%;text-align:left;cursor:pointer}.verify-item.checked{background:#667eea1f}.verify-checkbox{width:24px;height:24px;border-radius:6px;border:2px solid #d1d5db;display:flex;align-items:center;justify-content:center;font-weight:700}.verify-checkbox.checked{background:#667eea;border-color:#667eea;color:#fff}.signature-wrapper{display:flex;flex-direction:column;gap:10px}.signature-canvas{width:100%;height:150px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.signature-clear{align-self:flex-end;border:none;background:#f3f4f6;color:#374151;padding:8px 12px;border-radius:8px;cursor:pointer}.completion-banner{margin-top:20px;padding:14px;border-radius:10px;background:#10b98126;color:#047857;font-weight:600;text-align:center}.completed-order-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 10px 30px #667eea26}.completed-order-summary{width:100%;border:none;background:#fff;padding:18px 20px;display:flex;flex-direction:column;gap:14px;text-align:left;cursor:pointer}.summary-header{display:flex;justify-content:space-between;align-items:center}.summary-meta{display:flex;align-items:center;gap:8px}.summary-body{display:flex;align-items:center;gap:12px}.summary-caret{font-size:14px;color:#6b7280;transition:transform .2s ease}.completed-order-card.expanded .summary-caret{transform:rotate(180deg)}.completed-order-detail{border-top:1px solid #e5e7eb}.app-container{max-width:430px;margin:0 auto;min-height:100vh;background:#f8f9fa;display:flex;flex-direction:column;position:relative;box-shadow:0 0 40px #00000026}.app-main{flex:1;overflow-y:auto;padding-bottom:80px}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 10px #00000026;position:sticky;top:0;z-index:20}.app-title{margin:0;font-size:20px;font-weight:600}.app-title a{color:inherit;text-decoration:none}.driver-pill{display:flex;align-items:center;gap:10px;font-size:14px;background:#fff3;padding:8px 12px;border-radius:999px}.status-dot{width:10px;height:10px;border-radius:50%;background:#9ca3af;position:relative}.status-dot:after{content:"";position:absolute;inset:-4px;border-radius:inherit;border:1px solid rgba(255,255,255,.4)}.status-dot.online{background:#4ade80;animation:pulse 2s infinite}.status-dot.on-delivery{background:#facc15;animation:pulse 2s infinite}.status-dot.offline{background:#ef4444}@keyframes pulse{0%,to{opacity:1}50%{opacity:.5}}.driver-pill-text{display:flex;flex-direction:column;line-height:1.1}.driver-pill-name{font-weight:600;font-size:13px}.driver-pill-status{font-size:11px;opacity:.9}.tracking-indicator,.logout-button{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;border:1px solid rgba(255,255,255,.4);background:#ffffff26;color:inherit;cursor:pointer}.tracking-indicator.active{background:#10b98133}.logout-button{border:none;font-size:16px}.bottom-nav{position:sticky;bottom:0;left:0;right:0;display:flex;justify-content:space-around;background:#fff;border-top:1px solid #e5e7eb;padding:10px 0}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#6b7280;text-decoration:none;font-size:12px}.nav-item span:first-child{font-size:20px}.nav-item.active{color:#667eea;font-weight:600}.screen{width:100%;display:flex;justify-content:center;align-items:flex-start}.login-container{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;align-items:center;justify-content:center;padding:20px}.login-content{width:100%;max-width:420px}.login-logo{text-align:center;margin-bottom:40px;color:#fff}.logo-icon{width:100px;height:100px;border-radius:25px;background:#ffffff26;display:grid;place-items:center;font-size:48px;margin:0 auto 20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 20px 45px #0003}.login-form{background:#fff;border-radius:20px;padding:30px;box-shadow:0 20px 60px #00000040}.form-group{display:flex;flex-direction:column;margin-bottom:20px}.form-group label{font-size:12px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:#4b5563;margin-bottom:8px}.form-group input{border:2px solid #e5e7eb;border-radius:10px;padding:14px 16px;font-size:16px;background:#f9fafb;transition:border-color .3s ease,box-shadow .3s ease}.form-group input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea33}.login-btn{width:100%;padding:16px;border-radius:10px;border:none;cursor:pointer;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;letter-spacing:.6px;text-transform:uppercase;transition:transform .2s ease}.login-btn:disabled{opacity:.7;cursor:wait}.login-btn:not(:disabled):active{transform:scale(.98)}.login-footer{text-align:center;margin-top:25px;padding-top:25px;border-top:1px solid #e5e7eb}.login-support-link{color:#667eea;font-size:14px;text-decoration:none;font-weight:600}.card{width:min(100%,28rem);background:#fff;border-radius:.75rem;padding:1.5rem;box-shadow:0 14px 30px #0f172a14}.profile-card{width:min(100%,40rem)}.card-header{margin-bottom:1.5rem}.card-title{margin:0;font-size:1.5rem;font-weight:700;color:#111827}.card-subtitle{margin:.25rem 0 0;color:#4b5563;font-size:.95rem}.form{display:flex;flex-direction:column;gap:1rem}.form-grid{display:grid;gap:1rem;grid-template-columns:1fr}.form-field{display:flex;flex-direction:column;gap:.5rem}.form-label{font-size:.75rem;font-weight:600;color:#4b5563;text-transform:uppercase;letter-spacing:.6px}.form-input{border-radius:.65rem;border:1px solid rgba(15,23,42,.12);padding:.75rem 1rem;font-size:1rem;background:#f9fafb}.form-input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea33}.form-button{align-self:flex-start;padding:.85rem 1.5rem;border-radius:.75rem;border:none;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;font-weight:600;letter-spacing:.5px;text-transform:uppercase;cursor:pointer}.form-button:disabled{opacity:.6;cursor:not-allowed}.form-error{margin:0;padding:.75rem 1rem;border-radius:.75rem;background:#ef44441f;color:#b91c1c;font-weight:600}.form-success{margin:0;padding:.75rem 1rem;border-radius:.75rem;background:#10b9811f;color:#047857;font-weight:600}.spinner{width:2rem;height:2rem;border-radius:50%;border:.2rem solid rgba(0,0,0,.1);border-top-color:#0a67c6;animation:spin .9s linear infinite}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.screen.login-screen{align-items:center}.screen.settings-screen{align-items:flex-start}.rating{display:flex;flex-direction:column;gap:.5rem;padding:1rem;border-radius:1rem;background:#f9fafb}.rating-header{display:flex;justify-content:space-between;align-items:center}.rating-title{font-weight:600;color:#4b5563;text-transform:uppercase;font-size:.75rem;letter-spacing:.6px}.rating-score{font-size:1.25rem;font-weight:700}.rating-bar{height:.5rem;background:#667eea2e;border-radius:999px;overflow:hidden}.rating-bar-fill{height:100%;background:linear-gradient(135deg,#667eea,#10b981)}.rating-hint{font-size:.75rem;color:#6b7280}
