:root {
  --blue-bg: #eaf5ff;
  --blue-main: #0b6fb4;
  --yellow: #ffd200;
  --text-dark: #1a1a1a;
  --text-mid: #4b5563;
  --card-bg: #ffffff;
  --border-light: #dbe3ec;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 6px;
  --shadow-card: 0 20px 40px rgba(0,0,0,.07);
  --shadow-soft: 0 8px 20px rgba(0,0,0,.06);
  font-family: -apple-system, BlinkMacSystemFont, Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin:0; padding:0; }

.mpr-wrapper {
  background: linear-gradient(180deg, var(--blue-bg) 0%, #fff 60%);
  color: var(--text-dark);
  line-height: 1.4;
  min-height: 100vh;
  position: relative;
  padding-bottom: 120px;
  /* for sticky call bar space */
}

.site-header {
  background:#fff;
  box-shadow:var(--shadow-soft);
  padding:12px 16px;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  position:sticky;
  top:0;
  z-index:1000;
}

.brand {
  display:flex;
  align-items:center;
  gap:12px;
}

.brand-logo {
  background:var(--blue-main);
  color:#fff;
  font-weight:600;
  width:40px;
  height:40px;
  border-radius:var(--radius-md);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
}

.brand-text {
  display:flex;
  flex-direction:column;
}
.brand-name {
  font-size:15px;
  font-weight:600;
  color:var(--text-dark);
}
.brand-desc {
  font-size:12px;
  color:var(--text-mid);
}

.lang-select select {
  padding:8px 10px;
  border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  font-size:14px;
  background:#fff;
  color:var(--text-dark);
}

/* Page layout */
.page {
  padding:16px;
  max-width:600px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:24px;
}

/* Cards */
.card {
  background:var(--card-bg);
  border-radius:var(--radius-lg);
  box-shadow:var(--shadow-card);
  padding:16px;
  position:relative;
  border:1px solid rgba(11,111,180,0.07);
}

.card-badge {
  position:absolute;
  top:0;
  left:16px;
  transform:translateY(-50%);
  background:var(--yellow);
  color:#000;
  font-size:12px;
  font-weight:600;
  border-radius:999px;
  padding:4px 10px;
  box-shadow:0 4px 10px rgba(0,0,0,.15);
}
.badge-summary {
  background:var(--blue-main);
  color:#fff;
  box-shadow:0 4px 10px rgba(0,0,0,.25);
}

.booking-card h2,
.routes-card h2,
.summary-card h2 {
  font-size:18px;
  font-weight:600;
  color:var(--text-dark);
  margin-top:8px;
}

.subtext {
  font-size:13px;
  color:var(--text-mid);
  margin-top:4px;
  margin-bottom:16px;
}

/* Form */
.form-field {
  display:flex;
  flex-direction:column;
  margin-bottom:14px;
  font-size:14px;
  color:var(--text-dark);
}
.form-field span {
  font-size:14px;
  font-weight:500;
  margin-bottom:6px;
  color:var(--text-dark);
}
.form-field input,
.form-field select,
.form-field textarea {
  border:1px solid var(--border-light);
  border-radius:var(--radius-md);
  background:#fff;
  padding:10px 12px;
  font-size:15px;
  color:var(--text-dark);
  outline:none;
}
.form-field input:focus,
.form-field select:focus {
  border-color:var(--blue-main);
  box-shadow:0 0 0 3px rgba(11,111,180,0.15);
}

.inline {
  display:flex;
  flex-direction:column;
  flex:1;
}

.passenger-counters {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-bottom:8px;
}

.hint {
  font-size:11px;
  line-height:1.3;
  color:var(--text-mid);
  margin-top:6px;
}

/* dynamic passengers */
#mpr_passengersWrapper {
  background:rgba(11,111,180,0.05);
  border:1px solid rgba(11,111,180,0.15);
  border-radius:var(--radius-md);
  padding:12px;
  margin-top:8px;
  margin-bottom:14px;
}
.passenger-block {
  background:#fff;
  border-radius:var(--radius-md);
  border:1px solid var(--border-light);
  box-shadow:var(--shadow-soft);
  padding:12px;
  margin-bottom:12px;
}
.passenger-title {
  font-size:14px;
  font-weight:600;
  color:var(--blue-main);
  margin-bottom:8px;
}

/* Buttons */
.btn-primary {
  width:100%;
  background:var(--yellow);
  color:#000;
  border:none;
  border-radius:var(--radius-md);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
  font-size:16px;
  font-weight:600;
  padding:12px;
  margin-top:4px;
  cursor:pointer;
}
.btn-primary:disabled {
  background:#ddd;
  color:#777;
  box-shadow:none;
  cursor:not-allowed;
}

.btn-secondary {
  width:100%;
  border:1px solid var(--blue-main);
  background:#fff;
  color:var(--blue-main);
  border-radius:var(--radius-md);
  font-size:15px;
  font-weight:500;
  padding:10px 12px;
  margin-top:4px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.07);
}

.form-note {
  font-size:12px;
  color:var(--text-mid);
  margin-top:10px;
  line-height:1.4;
}

/* Summary card */
.hidden { display:none; }

.summary-block {
  background:var(--blue-bg);
  border-radius:var(--radius-md);
  border:1px solid rgba(11,111,180,0.2);
  padding:12px;
  margin-top:12px;
  font-size:14px;
  color:var(--text-dark);
  line-height:1.4;
}

.price-block {
  background:var(--yellow);
  border-color:var(--yellow);
  color:#000;
  font-weight:600;
}

.summary-contact {
  font-size:13px;
  color:var(--text-mid);
  margin-top:12px;
  line-height:1.4;
}

.btn-confirm {
  width:100%;
  background:var(--blue-main);
  color:#fff;
  border:none;
  border-radius:var(--radius-md);
  font-size:16px;
  font-weight:600;
  padding:12px;
  margin-top:16px;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  cursor:pointer;
}

.confirm-message {
  background:#e7ffe7;
  border:1px solid #6ac46a;
  border-radius:var(--radius-md);
  font-size:14px;
  color:#065f10;
  padding:12px;
  margin-top:12px;
  line-height:1.4;
  box-shadow:0 8px 20px rgba(0,0,0,.07);
  font-weight:500;
  text-align:center;
}

/* Route list */
.routes-card .card-badge {
  background:var(--blue-main);
  color:#fff;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.routes-card h2 {
  margin-top:8px;
  font-size:17px;
}
.route-list {
  list-style:none;
  margin-top:16px;
  font-size:14px;
  color:var(--text-dark);
  display:flex;
  flex-direction:column;
  gap:12px;
}
.route-list li {
  background:var(--blue-bg);
  border-radius:var(--radius-md);
  border:1px solid rgba(11,111,180,0.25);
  padding:12px;
  line-height:1.4;
  box-shadow:var(--shadow-soft);
}
.route-city {
  font-weight:600;
  color:var(--blue-main);
  font-size:14px;
}
.route-place {
  font-size:13px;
  color:var(--text-dark);
}
.route-time {
  font-size:13px;
  color:#000;
  font-weight:600;
  margin-top:4px;
}

/* Sticky call bar */
.call-bar {
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  background:var(--yellow);
  color:#000;
  text-align:center;
  font-size:15px;
  font-weight:600;
  padding:14px 16px;
  box-shadow:0 -6px 20px rgba(0,0,0,.25);
  text-decoration:none;
  z-index:999;
}

/* Footer */
.footer {
  padding:80px 16px 100px;
  text-align:center;
  font-size:13px;
  color:var(--text-mid);
  background:#fff;
  border-top:1px solid var(--border-light);
  margin-top:24px;
}
.footer-brand {
  font-size:15px;
  font-weight:600;
  color:var(--text-dark);
}
.footer-line {
  margin-top:4px;
}
.footer-phone {
  margin-top:4px;
  color:var(--text-dark);
  font-weight:500;
}
