:root{
  --brand:#2f3fb3;
  --brand2:#2331a0;
  --bg:#f6f7fb;
  --card:#ffffff;
  --muted:#6b7280;
  --shadow: 0 10px 26px rgba(0,0,0,.10);
  --radius: 18px;
}

html,body{height:100%}
body{
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.app-shell{
  max-width: 520px;
  margin: 0 auto;
  padding: 16px 14px 128px;
}

.pill{
  background: rgba(47,63,179,.10);
  color: var(--brand);
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 10px;
  display: inline-block;
  font-size: 13px;
}

.top-title{
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.sub{
  color: var(--muted);
  line-height: 1.45;
}

.card{
  border: 0 !important;
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow);
}

.primary-btn{
  background: linear-gradient(180deg, var(--brand), var(--brand2));
  border:0;
  border-radius: 14px;
  padding: 14px 16px;
  width: 100%;
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.small-note{
  font-size: 13px;
  color: var(--muted);
}

.fab-nav{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 18px;
  width: min(520px, calc(100% - 28px));
  z-index: 30;
}

.fab-inner{
  display:flex;
  gap:10px;
  justify-content:center;
}

.fab-btn{
  width: 72px;
  height: 54px;
  border-radius: 18px;
  border: 0;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 22px;
}

.fab-btn:disabled{
  opacity: .55;
}

.time-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.time-item{
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow: 0 6px 14px rgba(0,0,0,.07);
  padding: 14px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  user-select:none;
  cursor:pointer;
}

.time-item.active{
  border-color: rgba(47,63,179,.55);
  outline: 2px solid rgba(47,63,179,.18);
}

.passenger-card{
  border-radius: 16px;
  border: 0;
  box-shadow: var(--shadow);
  padding: 14px 14px;
  background: #eaf3ff;
  cursor: pointer;
}
.passenger-card.selected{
  outline: 3px solid rgba(47,63,179,.25);
}
.passenger-card .name{font-weight: 900;}
.passenger-card .meta{color: #2b3a55; font-size: 13px;}
.passenger-card .arrow{font-weight: 900; opacity:.8;}

.stepper{
  display:flex;
  gap:10px;
  align-items:center;
  margin-top: 14px;
}
.step-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(47,63,179,.20);
}
.step-dot.active{ background: var(--brand); }
.step-dot.done{ background: rgba(47,63,179,.55); }
.step-label{
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.step-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap: 12px;
  margin-bottom: 10px;
}
.step-title{
  font-size: 16px;
  font-weight: 900;
}
.progress-wrap{
  flex:1;
  height: 10px;
  background: rgba(47,63,179,.12);
  border-radius: 999px;
  overflow:hidden;
}
.progress-barx{
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), #4b5fff);
}

.wizard-step{ display:none; }
.wizard-step.active{ display:block; }

.inline-calendar .flatpickr-calendar{
  box-shadow: none !important;
  border: 0 !important;
  background: transparent !important;
}
.inline-calendar .flatpickr-rContainer,
.inline-calendar .flatpickr-days{
  width: 100% !important;
}
.inline-calendar .flatpickr-day{
  border-radius: 10px;
}


/* Touch reliability */
.fab-btn, button, .btn{touch-action: manipulation; -webkit-tap-highlight-color: transparent;}
