:root{--bg-color:#0f111a;--surface-color:#1a1d2d;--primary-color:#3b82f6;--primary-gradient:linear-gradient(135deg, #3b82f6, #8b5cf6);--text-primary:#f8fafc;--text-secondary:#94a3b8;--border-color:#2dd4bf22;--accent-color:#10b981}*{box-sizing:border-box;margin:0;padding:0;font-family:Inter,system-ui,-apple-system,sans-serif}body{background-color:var(--bg-color);color:var(--text-primary);-webkit-font-smoothing:antialiased;min-height:100vh}.app-container{height:100vh;display:flex;overflow:hidden}.sidebar{background-color:var(--surface-color);border-right:1px solid var(--border-color);flex-direction:column;width:260px;padding:1.5rem;transition:all .3s;display:flex}.brand{background:var(--primary-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;align-items:center;gap:.75rem;margin-bottom:3rem;font-size:1.5rem;font-weight:800;display:flex}.nav-links{flex-direction:column;gap:.5rem;list-style:none;display:flex}.nav-link{color:var(--text-secondary);border-radius:12px;align-items:center;gap:1rem;padding:.875rem 1rem;font-weight:500;text-decoration:none;transition:all .2s;display:flex}.nav-link:hover{color:var(--primary-color);background-color:#3b82f61a;transform:translate(4px)}.nav-link.active{background:var(--primary-gradient);color:#fff;box-shadow:0 4px 15px #8b5cf64d}.main-content{flex-direction:column;flex:1;display:flex;overflow-y:auto}.top-header{-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border-color);z-index:10;background-color:#0f111acc;justify-content:space-between;align-items:center;height:80px;padding:0 2rem;display:flex;position:sticky;top:0}.page-title{font-size:1.25rem;font-weight:600}.dashboard-grid{grid-template-columns:2fr 1fr;gap:1.5rem;height:calc(100vh - 80px);padding:2rem;display:grid}.map-card{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:20px;flex-direction:column;display:flex;overflow:hidden;box-shadow:0 10px 30px #0003}.map-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.map-placeholder{color:var(--text-secondary);background:linear-gradient(135deg,#1e2235,#141724);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1rem;display:flex}.vehicles-card{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:20px;flex-direction:column;gap:1rem;padding:1.5rem;display:flex}.vehicle-item{background-color:#ffffff08;border:1px solid #ffffff0d;border-radius:12px;justify-content:space-between;align-items:center;padding:1rem;transition:all .2s;display:flex}.vehicle-item:hover{background-color:#ffffff0f;border-color:#3b82f64d}.vehicle-info{align-items:center;gap:1rem;display:flex}.vehicle-icon{width:40px;height:40px;color:var(--primary-color);background:#3b82f61a;border-radius:10px;justify-content:center;align-items:center;display:flex}.vehicle-status{color:var(--accent-color);align-items:center;gap:.5rem;font-size:.875rem;display:flex}.status-dot{background-color:var(--accent-color);width:8px;height:8px;box-shadow:0 0 10px var(--accent-color);border-radius:50%;animation:2s infinite pulse}@keyframes pulse{0%{box-shadow:0 0 #10b98166}70%{box-shadow:0 0 0 10px #10b98100}to{box-shadow:0 0 #10b98100}}.driver-app-container{background-color:var(--bg-color);flex-direction:column;gap:1.5rem;min-height:100vh;padding:1.5rem;display:flex}.driver-header{border-bottom:1px solid var(--border-color);justify-content:space-between;align-items:center;padding-bottom:1rem;display:flex}.status-badge{background:#ffffff1a;border-radius:20px;padding:.5rem 1rem;font-size:.875rem;font-weight:600;transition:all .3s}.status-badge.active{color:var(--accent-color);background:#10b98133;box-shadow:0 0 15px #10b98133}.trip-card{background-color:var(--surface-color);border:1px solid var(--border-color);border-radius:16px;padding:1.5rem;box-shadow:0 10px 25px #00000026}.destination{align-items:center;gap:.5rem;margin:1rem 0 .5rem;font-size:1.25rem;font-weight:600;display:flex}.trip-status{color:var(--text-secondary);align-items:center;gap:.5rem;display:flex}.gps-panel{flex-direction:column;flex:1;justify-content:center;align-items:center;gap:2rem;margin:2rem 0;display:flex}.speedometer{background:var(--surface-color);border:8px solid #3b82f633;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;width:220px;height:220px;display:flex;position:relative;box-shadow:inset 0 0 30px #00000080}.speedometer:after{content:"";border:8px solid #0000;border-top-color:var(--primary-color);opacity:0;border-radius:50%;transition:opacity .3s;animation:3s linear infinite spin;position:absolute;inset:-8px}.speedometer.active:after{opacity:1}@keyframes spin{to{transform:rotate(360deg)}}.speed-value{background:var(--primary-gradient);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:4.5rem;font-weight:800;line-height:1}.speed-unit{color:var(--text-secondary);margin-top:.5rem;font-weight:600}.coords{text-align:center;color:var(--text-secondary);background:#0006;border-radius:12px;width:100%;padding:1rem;font-family:monospace}.transmit-btn{color:#fff;cursor:pointer;border:none;border-radius:16px;justify-content:center;align-items:center;gap:.75rem;width:100%;margin-top:auto;padding:1.25rem;font-size:1.1rem;font-weight:700;transition:all .2s;display:flex;box-shadow:0 10px 20px #0000004d}.btn-start{background:var(--primary-gradient)}.btn-start:hover{transform:translateY(-2px);box-shadow:0 10px 25px #3b82f666}.btn-stop{background:linear-gradient(135deg,#ef4444,#dc2626)}.btn-stop:hover{transform:translateY(-2px);box-shadow:0 10px 25px #ef444466}
