*{margin:0;padding:0;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)}body{min-height:100vh;background:linear-gradient(135deg,#667eea,#764ba2);color:#1f2937}a{color:inherit}button{font:inherit}.login-container{min-height:100vh;display:flex;justify-content:center;align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:24px}.login-content{width:100%;max-width:420px}.login-logo{text-align:center;margin-bottom:40px;color:#fff}.logo-icon{width:100px;height:100px;background:#ffffff1a;border-radius:25px;display:flex;align-items:center;justify-content:center;margin:0 auto 20px;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 8px 32px #0000001a;font-size:42px}.login-logo h1{font-size:28px;font-weight:700}.login-logo p{font-size:16px;color:#ffffffe6;margin-top:4px}.login-form{background:#fff;border-radius:20px;padding:32px;box-shadow:0 20px 60px #0003;display:grid;gap:20px}.form-group label{display:block;font-size:13px;font-weight:600;color:#4b5563;letter-spacing:.5px;text-transform:uppercase;margin-bottom:6px}.form-group input{width:100%;padding:14px 16px;border-radius:10px;border:2px solid #e5e7eb;background:#f9fafb;font-size:16px;transition:all .2s ease}.form-group input:focus{outline:none;border-color:#667eea;background:#fff;box-shadow:0 0 0 3px #667eea26}.login-btn{width:100%;padding:16px;background:linear-gradient(135deg,#667eea,#764ba2);border:none;border-radius:10px;color:#fff;font-size:16px;font-weight:600;cursor:pointer;text-transform:uppercase;letter-spacing:.5px;transition:transform .2s ease}.login-btn:disabled{opacity:.7;cursor:not-allowed}.login-btn:not(:disabled):active{transform:scale(.98)}.login-footer{text-align:center;border-top:1px solid #e5e7eb;padding-top:16px;margin-top:8px}.demo-hint{color:#667eea;font-size:12px;margin-bottom:12px}.demo-button{border:1px solid #667eea;background:transparent;color:#667eea;padding:8px 18px;border-radius:6px;font-size:12px;cursor:pointer}.form-error{color:#dc2626;font-size:13px}.app-container{max-width:430px;margin:0 auto;min-height:100vh;background:#f8f9fa;position:relative;box-shadow:0 0 40px #00000026;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;padding:20px;display:flex;align-items:center;justify-content:space-between;gap:16px;position:sticky;top:0;z-index:20;box-shadow:0 2px 10px #00000026}.brand{font-size:20px;font-weight:600;text-decoration:none;color:inherit}.driver-chip{display:inline-flex;align-items:center;gap:10px;padding:8px 12px;border-radius:24px;background:#fff3}.driver-meta{display:flex;flex-direction:column;font-size:12px}.driver-name{font-weight:600}.driver-status{opacity:.85}.status-indicator{width:10px;height:10px;border-radius:50%;background:#f97316;box-shadow:0 0 0 4px #fff3}.status-indicator.online{background:#4ade80;animation:pulse 2s infinite}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.location-toggle{width:32px;height:32px;border-radius:999px;background:#fff3;border:1px solid rgba(255,255,255,.4);display:flex;align-items:center;justify-content:center;cursor:pointer}.app-main{flex:1;padding:20px 20px 90px}.shift-banner{background:#ede9fe;color:#5b21b6;padding:12px 20px;text-align:center;font-size:13px}.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;background:transparent;border:none;cursor:pointer;position:relative}.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:10px;margin-left:5px}.content-section{display:none;padding-top:20px}.content-section.active{display:block}.order-card{background:#fff;border-radius:12px;padding:20px;margin-bottom:16px;box-shadow:0 2px 8px #00000014;position:relative;overflow:hidden}.order-card:before{content:"";position:absolute;top:0;left:0;width:4px;height:100%;background:#667eea}.order-card.priority:before{background:#dc2626}.order-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px}.order-number{font-size:18px;font-weight:600}.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}.timer-display.normal{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;letter-spacing:.5px;text-transform:uppercase}.customer-info{display:flex;align-items:center;gap:12px;background:#f9fafb;padding:12px;border-radius:8px;margin-bottom:16px}.customer-avatar{width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600}.customer-details h3{font-size:14px}.customer-details a{color:#667eea;font-size:12px;text-decoration:none}.order-total{display:flex;justify-content:space-between;align-items:center;padding:12px;background:#f3f4f6;border-radius:8px;margin-bottom:16px}.action-btn{width:100%;padding:16px;border:none;border-radius:10px;font-size:16px;font-weight:600;cursor:pointer;margin-top:10px;background:#10b981;color:#fff;transition:transform .2s ease}.action-btn:disabled{opacity:.5;cursor:not-allowed}.action-btn:not(:disabled):active{transform:scale(.98)}.accept-btn{background:linear-gradient(135deg,#667eea,#764ba2)}.secondary-link{display:inline-block;margin-top:12px;color:#667eea;font-weight:600;text-decoration:none;font-size:14px;background:none;border:none}.bottom-nav{position:sticky;bottom:0;left:0;right:0;display:flex;background:#fff;border-top:1px solid #e5e7eb;justify-content:space-around;padding:10px 0;margin-top:auto}.nav-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;color:#6b7280;text-decoration:none;font-size:12px}.nav-item.active{color:#667eea}.list-placeholder{color:#6b7280;font-size:14px;padding:24px 0;text-align:center}.loading-screen{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:12px;color:#fff}.spinner{width:36px;height:36px;border-radius:50%;border:4px solid rgba(255,255,255,.4);border-top-color:#fff;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.order-detail{background:#fff;border-radius:20px;padding:20px;box-shadow:0 2px 12px #00000014}.address-section{display:flex;gap:10px;margin-bottom:16px}.address-icon{width:32px;height:32px;background:#ede9fe;border-radius:8px;display:flex;align-items:center;justify-content:center}.address-text h4{font-size:12px;text-transform:uppercase;letter-spacing:.5px;color:#6b7280;margin-bottom:6px}.address-text p{font-size:14px;line-height:1.4}.address-links{margin-top:8px;display:flex;gap:12px}.address-links a{font-size:12px;color:#667eea}.verification-block{margin-top:20px;display:grid;gap:20px}.verify-section{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #00000014}.verify-item{width:100%;display:flex;align-items:center;justify-content:space-between;padding:15px;background:#f9fafb;border-radius:8px;margin-top:10px;border:none;cursor:pointer;text-align:left}.verify-checkbox{width:24px;height:24px;border:2px solid #d1d5db;border-radius:8px}.verify-checkbox.checked{background:#667eea;border-color:#667eea;color:#fff;display:flex;align-items:center;justify-content:center}.verify-checkbox.checked:after{content:"✓"}.signature-canvas{width:100%;height:160px;border:1px solid #e5e7eb;border-radius:8px;background:#fff}.clear-button{margin-top:10px;width:100%;padding:10px;border-radius:8px;border:1px solid #e5e7eb;background:#f3f4f6;cursor:pointer}.notes-label{font-size:12px;text-transform:uppercase;letter-spacing:.5px}.notes-input{width:100%;margin-top:8px;padding:12px;border-radius:10px;border:1px solid #d1d5db;min-height:80px;resize:vertical}.complete-btn{background:#10b981}.chat-page{display:flex;flex-direction:column;gap:16px}.chat-header{display:flex;align-items:center;justify-content:space-between}.chat-messages{background:#fff;border-radius:12px;padding:16px;height:400px;overflow-y:auto;display:flex;flex-direction:column;gap:12px}.chat-bubble{max-width:80%;padding:12px;border-radius:12px;background:#f3f4f6;align-self:flex-start}.chat-bubble.outbound{background:#667eea;color:#fff;align-self:flex-end}.chat-meta{display:block;font-size:11px;margin-top:6px;opacity:.7}.chat-input{display:flex;flex-direction:column;gap:10px}.chat-input textarea{border-radius:12px;border:1px solid #d1d5db;padding:12px;resize:vertical}.profile-page{display:grid;gap:24px}.profile-header{display:flex;align-items:center;gap:16px;background:#fff;padding:20px;border-radius:16px;box-shadow:0 2px 8px #00000014}.profile-avatar{width:56px;height:56px;border-radius:16px;background:linear-gradient(135deg,#667eea,#764ba2);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}.profile-section{background:#fff;border-radius:16px;padding:20px;box-shadow:0 2px 8px #00000014;display:grid;gap:12px}.status-grid{display:flex;gap:12px}.status-chip{flex:1;padding:12px;border-radius:10px;border:1px solid #e5e7eb;background:#f9fafb;cursor:pointer}.status-chip.active{background:#ede9fe;border-color:#c4b5fd;color:#5b21b6}.policy-text{font-size:14px;color:#4b5563;line-height:1.5}.tips-list{list-style:disc;padding-left:20px;color:#4b5563;font-size:14px;display:grid;gap:8px}@media (max-width: 480px){.app-main{padding:16px 16px 90px}.order-card,.order-detail,.profile-section,.profile-header{border-radius:16px}}
