* {
  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;
}

/* ===== GLOBAL APP LAYOUT ===== */

html, body{
    height:100%;
}

body{
    margin:0;
    padding-bottom:110px; /* SAME on ALL pages */
    background:#050b12;
    font-family:Inter,Arial,sans-serif;
}

/* CENTER CONTENT LIKE APP */
.appWrap{
    max-width:480px;
    margin:0 auto;
    padding:70px 16px 120px;
    box-sizing:border-box;
}

/* ===== 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; }

/* =========================================================
   C-WAVE RIDER BOTTOM MENU - SAME ON ALL RIDER PAGES
   ========================================================= */

:root {
    --cw-bg-main: #030b10;
    --cw-nav-bg: rgba(18, 27, 34, 0.96);
    --cw-nav-border: rgba(214, 184, 73, 0.28);
    --cw-gold: #d6b849;
    --cw-muted: rgba(255, 255, 255, 0.62);
    --cw-tab-active-bg: rgba(214, 184, 73, 0.13);
    --cw-tab-active-border: rgba(214, 184, 73, 0.28);
}

/* Important: gives page space so fixed menu does not cover content */
body {
    padding-bottom: 150px !important;
    background: var(--cw-bg-main);
}

/* Fixed bottom wrapper */
.cw-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    z-index: 99999;

    width: 100%;
    padding: 0 6px;
    box-sizing: border-box;

    display: flex;
    justify-content: center;
    pointer-events: none;
}

/* Actual menu */
.cw-bottom-nav-inner {
    width: 100%;
    max-width: 704px;
    min-height: 128px;

    padding: 14px 14px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 8px;

    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        var(--cw-nav-bg);

    border: 1px solid var(--cw-nav-border);

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.58),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    pointer-events: auto;
}

/* Each menu item */
.cw-bottom-tab {
    height: 96px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;
    text-decoration: none;

    border-radius: 22px;
    color: var(--cw-muted);

    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 800;

    transition:
        transform 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

/* Icon */
.cw-bottom-icon {
    display: block;
    font-size: 35px;
    line-height: 1;
    filter: drop-shadow(0 5px 8px rgba(0,0,0,0.35));
}

/* Text */
.cw-bottom-label {
    display: block;
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

/* Active item */
.cw-bottom-tab.active {
    color: var(--cw-gold);
    background:
        linear-gradient(180deg, rgba(214,184,73,0.18), rgba(214,184,73,0.08)),
        rgba(255,255,255,0.03);

    border: 1px solid var(--cw-tab-active-border);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.08),
        0 10px 25px rgba(0,0,0,0.35);
}

/* Tap effect */
.cw-bottom-tab:active {
    transform: scale(0.96);
}

/* Smaller phones */
@media (max-width: 390px) {
    body {
        padding-bottom: 140px !important;
    }

    .cw-bottom-nav {
        bottom: 12px;
        padding: 0 6px;
    }

    .cw-bottom-nav-inner {
        min-height: 118px;
        padding: 12px 10px;
        border-radius: 26px;
    }

    .cw-bottom-tab {
        height: 88px;
        border-radius: 20px;
    }

    .cw-bottom-icon {
        font-size: 31px;
    }

    .cw-bottom-label {
        font-size: 16px;
    }
}
