:root {
  --navy: #0F2A24;
  --navy-light: #16352E;
  --amber: #FF6B4A;
  --amber-deep: #E8532F;
  --white: #F7F9F7;
  --gray: #8FA39B;
  --success: #2ECC71;
  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  min-height: 100vh;
  min-height: 100dvh;
  -webkit-tap-highlight-color: transparent;
}

/* App shell: full-width on phones, centered card on tablets/desktop */
.app-shell {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Top bar */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(14px, 4vw, 22px) clamp(16px, 5vw, 28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.back-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-light);
  border: none;
  color: var(--white);
  text-decoration: none;
  font-size: 1.1rem;
  font-family: inherit;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s ease;
}

.back-btn:hover { background: #1C2540; }

.topbar-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1rem, 3.5vw, 1.15rem);
}

.landing-nav-link {
  color: var(--white);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  transition: border-color 0.15s ease;
}

.landing-nav-link:hover { border-color: var(--amber); }

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 4vw, 1.4rem);
  letter-spacing: -0.02em;
}

.brand span { color: var(--amber); }

/* Hero: route line signature element */
.hero {
  padding: 8px clamp(16px, 5vw, 28px) 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 5vw, 1.8rem);
  line-height: 1.25;
  margin-bottom: 20px;
}

.route-line {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 8px;
}

.route-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy-light);
  border-radius: 12px;
  padding: clamp(12px, 3vw, 15px) 16px;
}

.route-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.route-dot.pickup { background: var(--amber); }
.route-dot.destination { background: var(--success); }

.route-connector {
  width: 2px;
  height: 18px;
  margin-left: 25px;
  background: repeating-linear-gradient(
    to bottom,
    var(--gray) 0,
    var(--gray) 4px,
    transparent 4px,
    transparent 8px
  );
}

.route-row input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-size: clamp(0.9rem, 3vw, 1rem);
  width: 100%;
  font-family: var(--font-body);
}

.route-row input::placeholder { color: var(--gray); }

/* Buttons — min 44px tap target for accessibility on all devices */
.btn-primary {
  display: block;
  width: 100%;
  padding: clamp(14px, 3.5vw, 17px);
  min-height: 48px;
  border-radius: 12px;
  border: none;
  background: var(--amber);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.95rem, 3vw, 1.05rem);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn-primary:active { transform: scale(0.98); }
.btn-primary:hover { background: var(--amber-deep); }

.btn-secondary {
  display: block;
  width: 100%;
  padding: 14px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--navy-light);
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  margin-top: 10px;
}

/* Ride options */
.ride-options {
  padding: 8px clamp(16px, 5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ride-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--navy-light);
  border-radius: 12px;
  padding: clamp(12px, 3vw, 15px) 16px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: border-color 0.15s ease;
  min-height: 60px;
}

.ride-option.selected { border-color: var(--amber); }

.ride-option-left { display: flex; align-items: center; gap: 12px; min-width: 0; }

.ride-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(245, 166, 35, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.ride-option-name { font-weight: 600; font-size: clamp(0.9rem, 3vw, 1rem); }
.ride-option-meta {
  color: var(--gray);
  font-size: clamp(0.72rem, 2.5vw, 0.8rem);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ride-option-price { font-family: var(--font-display); font-weight: 600; flex-shrink: 0; font-size: clamp(0.85rem, 2.8vw, 1rem); }

/* Bottom action bar */
.bottom-bar {
  margin-top: auto;
  padding: 20px clamp(16px, 5vw, 28px) max(24px, env(safe-area-inset-bottom));
}

/* Auth screens */
.auth-form {
  padding: clamp(16px, 5vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-form input {
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 48px;
  color: var(--white);
  font-size: 16px; /* prevents iOS auto-zoom on focus */
  outline: none;
  font-family: var(--font-body);
}

.auth-form input:focus { border-color: var(--amber); }

.text-input {
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 14px 16px;
  min-height: 48px;
  color: var(--white);
  font-size: 16px;
  outline: none;
  font-family: var(--font-body);
  width: 100%;
}

.text-input:focus { border-color: var(--amber); }

.password-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrapper input { padding-right: 64px; }

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
}

.terms-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.4;
  cursor: pointer;
}

.terms-row input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--amber);
  flex-shrink: 0;
}

.terms-row a { color: var(--amber); text-decoration: underline; }

.auth-switch {
  text-align: center;
  color: var(--gray);
  font-size: 0.85rem;
  margin-top: 6px;
}

.auth-switch a { color: var(--amber); text-decoration: none; }

.hidden { display: none !important; }

.hidden { display: none !important; }

/* ===== Legal pages (Terms / Privacy) ===== */
.legal-page {
  max-width: 640px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 60px;
}

.legal-content { padding: 0 clamp(20px, 5vw, 32px); }

.legal-content h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2rem);
  margin-bottom: 6px;
}

.legal-updated { color: var(--gray); font-size: 0.85rem; margin-bottom: 24px; }

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--amber);
}

.legal-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 4px;
}

.legal-disclaimer {
  margin-top: 32px;
  padding: 14px;
  background: var(--navy-light);
  border-radius: 10px;
  font-size: 0.8rem;
  color: var(--gray);
  font-style: italic;
}

/* ===== Landing page ===== */
.landing-hero {
  padding: clamp(24px, 6vw, 40px) clamp(20px, 5vw, 32px) 12px;
}

.landing-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

.landing-subtitle {
  color: var(--gray);
  font-size: clamp(0.9rem, 3vw, 1rem);
  line-height: 1.5;
  margin-bottom: 24px;
}

.landing-cta {
  text-decoration: none;
  text-align: center;
  margin-bottom: 0;
}

a.landing-cta.btn-secondary { margin-top: 12px; }

.landing-features {
  padding: 24px clamp(20px, 5vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.landing-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy-light);
  border-radius: 12px;
  padding: 14px 16px;
}

.landing-footer {
  margin-top: auto;
  padding: 24px clamp(20px, 5vw, 32px);
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
}

.landing-footer p { margin-bottom: 6px; }
.landing-footer a { color: var(--amber); text-decoration: none; }

.status-banner {
  margin: 0 clamp(16px, 5vw, 28px) 12px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  background: rgba(46, 204, 113, 0.12);
  color: var(--success);
}

.status-banner.error {
  background: rgba(231, 76, 60, 0.12);
  color: #E74C3C;
}

/* ===== Ride status screen ===== */
.ride-status-body {
  padding: clamp(24px, 6vw, 40px) clamp(20px, 5vw, 32px);
  text-align: center;
}

.ride-status-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

#ride-status-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 4.5vw, 1.5rem);
  margin-bottom: 8px;
}

.ride-status-subtext {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.route-static-text {
  color: var(--white);
  font-size: 0.95rem;
  text-align: left;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-info-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--navy-light);
  border-radius: 12px;
  padding: 16px;
  margin-top: 20px;
  text-align: left;
}

/* ===== Driver dashboard ===== */
.ride-request-empty {
  padding: 40px clamp(20px, 5vw, 32px);
  text-align: center;
  color: var(--gray);
  font-size: 0.9rem;
}

.ride-request-list {
  padding: 0 clamp(16px, 5vw, 28px) 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ride-request-card {
  background: var(--navy-light);
  border-radius: 14px;
  padding: 16px;
}

.ride-request-card .route-line { margin-bottom: 14px; }

.ride-request-card .route-row {
  background: var(--navy);
}

#start-trip-btn, #complete-trip-btn { margin-bottom: 0; }

.trip-summary {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gray);
  text-align: center;
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ===== BREAKPOINTS ===== */

/* Very small phones (iPhone SE, small Androids: ~320–360px) */
@media (max-width: 360px) {
  .ride-option-meta { display: none; }
}

/* Tablets and desktop: full-height, full-bleed — just widen the column so text/buttons don't stretch too wide */
@media (min-width: 768px) {
  .app-shell { max-width: 620px; }
}

@media (min-width: 1200px) {
  .app-shell { max-width: 720px; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ===== Admin dashboard ===== */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 16px clamp(16px, 5vw, 28px);
}

@media (min-width: 700px) {
  .admin-stats { grid-template-columns: repeat(4, 1fr); }
}

.admin-stat-card {
  background: var(--navy-light);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.admin-stat-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--amber);
}

.admin-stat-label {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 4px;
}

.admin-tabs {
  display: flex;
  gap: 8px;
  padding: 4px clamp(16px, 5vw, 28px) 12px;
}

.admin-tab {
  background: none;
  border: none;
  color: var(--gray);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
}

.admin-tab.active {
  background: var(--navy-light);
  color: var(--amber);
}

.admin-tab-content { padding: 0 clamp(16px, 5vw, 28px) 24px; }

.admin-list { display: flex; flex-direction: column; gap: 10px; }

.admin-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--navy-light);
  border-radius: 12px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.admin-row-main { min-width: 0; flex: 1; }

.admin-row-title {
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-row-sub {
  color: var(--gray);
  font-size: 0.78rem;
  margin-top: 4px;
}

.admin-badge {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: capitalize;
}

.badge-passenger { background: rgba(245, 166, 35, 0.15); color: var(--amber); }
.badge-driver { background: rgba(46, 204, 113, 0.15); color: var(--success); }
.badge-admin { background: rgba(139, 147, 167, 0.2); color: var(--white); }
.badge-suspended { background: rgba(231, 76, 60, 0.15); color: #E74C3C; }
.badge-status-requested { background: rgba(245, 166, 35, 0.15); color: var(--amber); }
.badge-status-accepted, .badge-status-in_progress { background: rgba(46, 204, 113, 0.15); color: var(--success); }
.badge-status-completed { background: rgba(139, 147, 167, 0.2); color: var(--gray); }
.badge-status-cancelled { background: rgba(231, 76, 60, 0.15); color: #E74C3C; }

.admin-action-btn {
  width: auto;
  padding: 8px 14px;
  font-size: 0.8rem;
  margin-top: 0;
  flex-shrink: 0;
}


.proximity-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.proximity-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.proximity-near { background: rgba(46, 204, 113, 0.12); color: var(--success); }
.proximity-near .proximity-dot { background: var(--success); }

.proximity-mid { background: rgba(245, 166, 35, 0.12); color: var(--amber); }
.proximity-mid .proximity-dot { background: var(--amber); }

.proximity-far { background: rgba(139, 147, 167, 0.15); color: var(--gray); }
.proximity-far .proximity-dot { background: var(--gray); }

.upload-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--gray);
}

.upload-label input[type="file"] {
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 10px;
  color: var(--white);
  font-size: 0.8rem;
}

.admin-doc-thumbs { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.admin-doc-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--navy-light);
}


.or-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 24px;
  color: var(--gray);
  font-size: 0.75rem;
}
.or-divider::before, .or-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--navy-light);
}


.payment-card {
  margin: 0 clamp(16px, 5vw, 28px) 14px;
  background: var(--navy-light);
  border-radius: 12px;
  padding: 16px;
}
.payment-method-label { font-size: 0.8rem; color: var(--gray); }
.payment-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--amber);
  margin: 4px 0;
}
.payment-instructions { font-size: 0.78rem; color: var(--gray); line-height: 1.4; }


.global-announcement {
  background: var(--amber);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
}

.star-row { display: flex; gap: 10px; justify-content: center; margin: 20px 0; }
.star { font-size: 2.2rem; color: var(--navy-light); cursor: pointer; transition: color 0.15s ease; }
.star.selected { color: var(--amber); }
.rating-comment {
  width: 100%;
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  resize: vertical;
}

.sos-btn {
  width: 100%;
  background: #E74C3C;
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  margin-bottom: 16px;
}

.driver-detail-overlay {
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 1000;
  overflow-y: auto;
}
.driver-detail-panel {
  max-width: 620px;
  margin: 0 auto;
  min-height: 100vh;
}


.chat-container { margin-top: 12px; }
.chat-messages {
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--navy-light);
  border-radius: 10px;
  margin-bottom: 8px;
}
.chat-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
}
.chat-bubble-mine { align-self: flex-end; background: var(--amber); color: var(--navy); }
.chat-bubble-theirs { align-self: flex-start; background: var(--navy); color: var(--white); }
.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input {
  flex: 1;
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--white);
}

.online-toggle { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.online-toggle input { display: none; }
.online-toggle-slider {
  width: 40px; height: 22px; background: var(--navy-light); border-radius: 20px;
  position: relative; transition: background 0.2s;
}
.online-toggle-slider::before {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: var(--gray); top: 2px; left: 2px; transition: transform 0.2s, background 0.2s;
}
.online-toggle input:checked + .online-toggle-slider { background: rgba(46,204,113,0.3); }
.online-toggle input:checked + .online-toggle-slider::before { transform: translateX(18px); background: var(--success); }
.online-toggle-label { font-size: 0.8rem; color: var(--gray); }

.favorites-row { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.favorite-chip {
  background: var(--navy-light); border: 1px solid #232C40; border-radius: 20px;
  padding: 8px 14px; font-size: 0.8rem; color: var(--white); cursor: pointer;
}
.schedule-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.schedule-option {
  flex: 1; background: var(--navy-light); border: 1px solid #232C40; border-radius: 10px;
  padding: 10px; color: var(--gray); font-size: 0.85rem; cursor: pointer;
}
.schedule-option.selected { border-color: var(--amber); color: var(--amber); }

.promo-row { display: flex; gap: 8px; margin-bottom: 8px; }
.promo-row input {
  flex: 1; background: var(--navy-light); border: 1px solid #232C40; border-radius: 10px;
  padding: 10px 14px; color: var(--white);
}

.ride-request-meta { font-size: 0.78rem; color: var(--gray); margin: 8px 0; }
.ride-note {
  background: rgba(245, 166, 35, 0.1);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.8rem;
  color: var(--amber);
  margin-bottom: 10px;
}

.weather-badge {
  font-size: 0.78rem;
  color: var(--gray);
  background: var(--navy-light);
  padding: 4px 10px;
  border-radius: 20px;
}

.tip-row { display: flex; gap: 8px; margin: 12px 0; }
.tip-option {
  flex: 1; background: var(--navy-light); border: 1.5px solid transparent; border-radius: 10px;
  padding: 10px 6px; color: var(--white); font-size: 0.8rem; cursor: pointer;
}
.tip-option.selected { border-color: var(--amber); color: var(--amber); }


.sponsored-ad {
  display: block;
  background: linear-gradient(135deg, var(--navy-light), #1C2540);
  border: 1px solid var(--amber);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--amber);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 14px;
}
.sponsored-ad::before { content: "Sponsored · "; color: var(--gray); font-weight: 400; }

.icon-btn {
  width: auto !important;
  padding: 8px 10px !important;
  font-size: 0.85rem !important;
  min-width: 36px;
  flex-shrink: 0;
}

.dropdown-menu {
  position: absolute;
  right: clamp(16px, 5vw, 28px);
  top: 60px;
  background: var(--navy-light);
  border: 1px solid #232C40;
  border-radius: 10px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 500;
  min-width: 160px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}

.dropdown-item {
  background: none;
  border: none;
  color: var(--white);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  text-align: left;
  cursor: pointer;
  display: block;
}
.dropdown-item:hover { background: var(--navy); }

@media (max-width: 360px) {
  .driver-topbar .brand { font-size: 1rem; }
  .weather-badge { display: none !important; }
}

.share-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }

.sos-alert-banner {
  background: #E74C3C;
  color: white;
  text-align: center;
  padding: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  animation: sos-pulse 1s infinite;
}
@keyframes sos-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.admin-tabs {
  overflow-x: auto;
  flex-wrap: nowrap !important;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-tabs::-webkit-scrollbar { display: none; }
.admin-tabs .admin-tab {
  flex-shrink: 0;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .admin-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .admin-row-main { width: 100%; }
  .admin-action-btn, .view-driver-btn {
    margin-top: 6px;
    width: 100% !important;
  }
}

