* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(135deg, #081621, #102c3a);
  color: #fff;
}

/* MAIN APP */
.container {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 16px;
}

/* INPUTS */
input {
  width: 100%;
  padding: 16px;
  border-radius: 14px;
  border: none;
  font-size: 16px;
  background: #0e2633;
  color: #fff;
  margin-bottom: 8px;
}

/* BUTTONS */
button {
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(135deg, #d4af37, #b8962e);
  color: #000;
}



/* AUTOCOMPLETE */
.autolist div {
  background: #0e2633;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 6px;
  cursor: pointer;
}

/* ðŸ”’ MAP WRAPPER â€” THIS IS THE KEY */
.map-wrapper {
  width: 100%;
  height: 340px;      /* ðŸ”¥ FIXED HEIGHT */
  margin-top: 14px;
  border-radius: 18px;
  overflow: hidden;
  background: #081621;
}

/* LEAFLET TARGET */
#map {
  width: 100%;
  height: 100%;
}

/* STATUS */
.status-text {
  text-align: center;
  color: #d4af37;
  font-weight: 600;
  margin-top: 10px;
}

/* =======================================================
   DRIVER NAVIGATION BUTTONS (GOOGLE / WAZE)
   FORCE VISIBILITY & BUTTON LOOK
   ======================================================= */

/* === DRIVER NAVIGATION BUTTONS === */
/* ===== DRIVER NAVIGATION BUTTONS (FORCED) ===== */
.nav-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 54px;

  padding: 14px 10px;
  border-radius: 16px;

  font-weight: 700;
  font-size: 15px;

  color: #fff !important;
  text-decoration: none !important;

  box-shadow: 0 10px 26px rgba(0,0,0,0.4);
}

.nav-btn.google {
  background: linear-gradient(135deg,#4285F4,#2a65c7) !important;
}

.nav-btn.waze {
  background: linear-gradient(135deg,#33ccff,#1aa3cc) !important;
}

/* ===============================
   DRIVER DASHBOARD – HYBRID LUX
================================ */

:root {
  --bg: #0b0f14;
  --panel: rgba(20,20,20,.82);
  --panel-soft: rgba(255,255,255,.04);
  --gold: #d4af37;
  --green: #22c55e;
  --red: #ef4444;
  --radius: 20px;
  --shadow: 0 18px 45px rgba(0,0,0,.65);
}

body {
  background: var(--bg);
  color: #e5e7eb;
  font-family: Inter, system-ui;
}

/* ===== PAGE WRAPPER ===== */
.driver-wrap {
  max-width: 520px;
  margin: auto;
  padding: 16px;
  padding-bottom: 140px;
}

/* ===== TOP BAR ===== */
.driver-top {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
}

.driver-title {
  font-size:18px;
  font-weight:800;
}

.online-dot {
  width:12px;
  height:12px;
  border-radius:50%;
  background:#22c55e;
  box-shadow:0 0 8px #22c55e;
}

/* ===== GLASS CARD ===== */
.card {
  background: var(--panel);
  border-radius: var(--radius);
  padding:16px;
  box-shadow: var(--shadow);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:14px;
}

/* ===== RIDE SUMMARY ===== */
.ride-title {
  font-weight:800;
  color:var(--gold);
  margin-bottom:6px;
}

.ride-row {
  font-size:14px;
  opacity:.9;
  margin-bottom:4px;
}

/* ===== STATUS BADGE ===== */
.status-pill {
  display:inline-block;
  padding:4px 10px;
  font-size:12px;
  font-weight:800;
  border-radius:999px;
  background:rgba(212,175,55,.18);
  color:var(--gold);
}

/* ===== NAV BUTTONS ===== */
.nav-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.nav-btn {
  height:56px;
  border-radius:16px;
  font-weight:800;
  text-align:center;
  line-height:56px;
  text-decoration:none;
  color:#fff;
  box-shadow: var(--shadow);
}

.nav-google { background:#4285F4; }
.nav-waze { background:#33ccff; }

/* ===== MAP ===== */
.map-box {
  height:320px;
  border-radius:18px;
  overflow:hidden;
  background:#081621;
}

/* ===== BOTTOM ACTION BAR ===== */
.action-bar {
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  padding:14px 16px calc(env(safe-area-inset-bottom) + 16px);
  background:rgba(15,15,15,.96);
  backdrop-filter:blur(16px);
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  border-top:1px solid rgba(255,255,255,.08);
}

.action-btn {
  height:56px;
  border:none;
  border-radius:18px;
  font-weight:900;
  cursor:pointer;
}

.arrive { background:#3b82f6; color:#fff; }
.pickup { background:#22c55e; color:#020617; }
.complete { background:linear-gradient(135deg,#d4af37,#b88a2a); color:#020617; }
.cancel { background:#ef4444; color:#fff; }
