* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  color: #172033;
}

.topbar {
  background: #101828;
  color: white;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-weight: 800;
  font-size: 20px;
}

.topbar a {
  color: white;
  text-decoration: none;
  margin-left: 18px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.hero {
  padding: 24px 0;
}

.hero h1 {
  font-size: 42px;
  margin-bottom: 8px;
}

.grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 24px;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.08);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

label {
  font-weight: 700;
  margin-top: 8px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 12px;
  font-size: 15px;
}

textarea {
  min-height: 90px;
}

button, .button-link {
  border: none;
  background: #175cd3;
  color: white;
  padding: 12px 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 800;
  margin-top: 8px;
  display: inline-block;
  text-decoration: none;
}

button:hover, .button-link:hover {
  opacity: 0.92;
}

.danger {
  background: #b42318;
}

.estimate-box {
  background: #f2f4f7;
  padding: 18px;
  border-radius: 14px;
  min-height: 120px;
}

.price {
  font-size: 42px;
  font-weight: 900;
  color: #175cd3;
}

.bad {
  color: #b42318;
  font-weight: 800;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.payment-card {
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  padding: 18px;
}

.auth {
  max-width: 460px;
  margin: 60px auto;
}

.qr {
  width: 260px;
  height: 260px;
  display: block;
  margin: 20px auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.stat {
  font-weight: 800;
}

.stat span {
  display: block;
  font-size: 42px;
  color: #175cd3;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid #e4e7ec;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: #f9fafb;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.alert.success {
  background: #dcfae6;
}

.alert.danger {
  background: #fee4e2;
}

.alert.warning {
  background: #fef0c7;
}

.alert.info {
  background: #d1e9ff;
}

@media (max-width: 800px) {
  .grid, .payment-grid, .stats {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }

  .admin-header {
    flex-direction: column;
    align-items: flex-start;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}


.pro-hero {
  min-height: 430px;
  border-radius: 28px;
  overflow: hidden;
  margin-bottom: 28px;
  background:
    linear-gradient(115deg, rgba(10, 15, 28, 0.92), rgba(10, 15, 28, 0.48)),
    var(--suburban-photo),
    linear-gradient(135deg, #111827, #344054);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 0;
}

.hero-overlay {
  min-height: 430px;
  display: flex;
  align-items: center;
  padding: 42px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.24);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 12px;
}

.pro-hero h1 {
  font-size: clamp(38px, 6vw, 70px);
  line-height: .95;
  margin: 18px 0;
}

.pro-hero p {
  font-size: 19px;
  max-width: 620px;
  color: #eef2ff;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.secondary {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
}

.glass-card {
  border: 1px solid rgba(255,255,255,.6);
}

.notice {
  background: #fef0c7;
  border: 1px solid #fedf89;
  padding: 12px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.success-note {
  background: #dcfae6;
  border-color: #abefc6;
}

.formula-box {
  background: #101828;
  color: white;
  padding: 14px;
  border-radius: 14px;
  font-weight: 800;
  margin: 12px 0;
}

.small-text {
  font-size: 14px;
  line-height: 1.5;
}

.muted {
  color: #667085;
}

.full {
  text-align: center;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.feature h3 {
  margin-top: 0;
}

.welcome {
  font-weight: 800;
  color: white;
}

@media (max-width: 900px) {
  .features {
    grid-template-columns: 1fr;
  }

  .hero-overlay {
    padding: 28px;
  }
}


.invoice-header {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 1px solid #e4e7ec;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.invoice-number {
  text-align: right;
  background: #f2f4f7;
  padding: 14px;
  border-radius: 14px;
}

.invoice-number span {
  display: block;
  font-size: 12px;
  color: #667085;
  text-transform: uppercase;
  font-weight: 800;
}

.invoice-number strong {
  font-size: 20px;
}

.invoice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.invoice-total {
  background: #101828;
  color: white;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 20px 0;
}

.big-total {
  font-size: 48px;
  font-weight: 900;
}

.print-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.secondary-dark {
  background: #344054;
}

.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
}

.check-row input {
  width: auto;
}

@media print {
  .topbar, .print-row {
    display: none;
  }

  body {
    background: white;
  }

  .card {
    box-shadow: none;
  }
}

@media (max-width: 800px) {
  .invoice-header, .invoice-total {
    flex-direction: column;
  }

  .invoice-grid {
    grid-template-columns: 1fr;
  }

  .invoice-number {
    text-align: left;
  }
}


.auth-shell {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(16, 24, 40, 0.12);
}

.auth-visual {
  background:
    linear-gradient(135deg, rgba(8, 13, 24, .92), rgba(8, 13, 24, .42)),
    var(--suburban-photo);
  background-size: cover;
  background-position: center;
  color: white;
  display: flex;
  align-items: flex-end;
  padding: 42px;
  min-height: 640px;
}

.auth-visual-content {
  max-width: 620px;
}

.auth-visual h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: .96;
  margin: 18px 0;
}

.auth-visual p {
  color: #f2f4f7;
  font-size: 18px;
  line-height: 1.55;
}

.auth-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.auth-pills span {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 9px 13px;
  font-weight: 800;
  font-size: 13px;
}

.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  background:
    radial-gradient(circle at top right, rgba(23, 92, 211, .12), transparent 34%),
    #ffffff;
}

.auth-card {
  width: 100%;
  max-width: 470px;
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f2f4f7;
  padding: 6px;
  border-radius: 16px;
  margin-bottom: 24px;
}

.auth-tabs a {
  text-align: center;
  text-decoration: none;
  color: #475467;
  font-weight: 900;
  padding: 12px;
  border-radius: 12px;
}

.auth-tabs a.active {
  background: #101828;
  color: white;
  box-shadow: 0 8px 20px rgba(16, 24, 40, .16);
}

.interactive-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 74px;
}

.password-toggle {
  position: absolute;
  right: 8px;
  top: 6px;
  padding: 8px 10px;
  margin: 0;
  border-radius: 10px;
  background: #344054;
  font-size: 12px;
}

.field-msg {
  min-height: 19px;
  font-size: 13px;
  font-weight: 800;
}

.good-msg {
  color: #027a48;
}

.bad-msg {
  color: #b42318;
}

.good-field {
  border-color: #12b76a !important;
  box-shadow: 0 0 0 4px rgba(18, 183, 106, .10);
}

.bad-field {
  border-color: #f04438 !important;
  box-shadow: 0 0 0 4px rgba(240, 68, 56, .10);
}

.strength {
  width: 100%;
  height: 9px;
  background: #eaecf0;
  border-radius: 999px;
  overflow: hidden;
  margin-top: 2px;
}

#strengthBar {
  width: 0%;
  height: 100%;
  background: #175cd3;
  transition: width .25s ease;
}

.wide-btn {
  width: 100%;
  margin-top: 12px;
  font-size: 16px;
}

.auth-switch {
  text-align: center;
  margin-top: 18px;
  font-weight: 700;
}

.auth-switch a {
  color: #175cd3;
}

@media (max-width: 900px) {
  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 300px;
    padding: 28px;
  }

  .auth-panel {
    padding: 24px;
  }
}


/* === Full Chevrolet Suburban Theme Update === */
body {
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, .12), transparent 28%),
    radial-gradient(circle at 85% 10%, rgba(23, 92, 211, .10), transparent 26%),
    #0b1220;
  color: #172033;
}

.container {
  max-width: 1240px;
}

.suburban-nav {
  background: rgba(8, 13, 24, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(212, 175, 55, .22);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: linear-gradient(135deg, #d4af37, #fff1a8);
  color: #101828;
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
}

.topbar nav a {
  padding: 9px 11px;
  border-radius: 999px;
}

.topbar nav a:hover {
  background: rgba(255,255,255,.08);
}

.nav-pill {
  background: linear-gradient(135deg, #d4af37, #f7df83);
  color: #101828 !important;
  font-weight: 900;
}

.admin-only-link {
  border: 1px solid rgba(255,255,255,.24);
}

.pro-hero, .suburban-page-hero {
  border: 1px solid rgba(212, 175, 55, .24);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.hero-overlay {
  justify-content: space-between;
  gap: 30px;
}

.hero-rate-card {
  width: 270px;
  background: rgba(255,255,255,.12);
  color: white;
  border: 1px solid rgba(255,255,255,.24);
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 22px;
}

.hero-rate-card span {
  color: #f7df83;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.hero-rate-card strong {
  display: block;
  font-size: 58px;
  line-height: 1;
  margin: 12px 0;
}

.customer-chip {
  display: inline-block;
  background: rgba(212,175,55,.20);
  color: white;
  border: 1px solid rgba(212,175,55,.45);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  margin-top: 12px;
}

.booking-showcase {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  gap: 24px;
  align-items: start;
}

.booking-card-main, .estimate-panel, .themed-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.96));
  border: 1px solid rgba(212, 175, 55, .26);
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 24px 55px rgba(0,0,0,.20);
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin-bottom: 12px;
}

.eyebrow.dark {
  background: #101828;
  color: #f7df83;
  border: none;
}

.mini-suv-icon {
  background: #101828;
  color: #f7df83;
  padding: 14px 16px;
  border-radius: 16px;
  letter-spacing: -2px;
  box-shadow: inset 0 -4px 0 rgba(255,255,255,.08);
}

.route-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.premium-form input, .premium-form textarea, .premium-form select,
.auth-card input, .auth-card select {
  border: 1px solid #cbd5e1;
  background: #ffffff;
}

.premium-form input:focus, .premium-form textarea:focus, .premium-form select:focus,
.auth-card input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 4px rgba(212,175,55,.16);
}

.button-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.gold-btn {
  background: linear-gradient(135deg, #d4af37, #f7df83) !important;
  color: #101828 !important;
  font-weight: 900;
}

.estimate-panel {
  position: sticky;
  top: 96px;
}

.luxury-estimate {
  background:
    linear-gradient(135deg, #101828, #1f2937);
  color: white;
  border: 1px solid rgba(212,175,55,.32);
}

.luxury-estimate .price, .price {
  color: #d4af37;
}

.pricing-list {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.pricing-list div {
  display: flex;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #e4e7ec;
  border-radius: 12px;
  padding: 10px 12px;
}

.pricing-list span {
  color: #667085;
  font-weight: 800;
}

.pricing-list strong {
  color: #101828;
}

.suburban-inner-hero {
  background:
    linear-gradient(115deg, rgba(10,15,28,.95), rgba(10,15,28,.55)),
    var(--suburban-photo);
  background-size: cover;
  background-position: center;
  color: white;
  padding: 42px;
  border-radius: 28px;
  margin-bottom: 24px;
  border: 1px solid rgba(212,175,55,.26);
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
}

.suburban-inner-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  margin: 12px 0 8px;
}

.status-pill {
  background: #101828;
  color: #f7df83;
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 900;
  font-size: 12px;
}

.account-card {
  max-width: 620px;
}

.invoice-card {
  border-color: rgba(212,175,55,.35);
}

.invoice-total {
  background: linear-gradient(135deg, #101828, #263142);
  border: 1px solid rgba(212,175,55,.26);
}

.big-total {
  color: #f7df83;
}

.payment-card {
  background: #ffffff;
  border: 1px solid rgba(212,175,55,.25);
}

.auth-shell.themed-auth {
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: 0 24px 70px rgba(0,0,0,.38);
}

.auth-card h2 {
  color: #101828;
  font-size: 32px;
  margin-bottom: 6px;
}

.auth-tabs a.active {
  background: linear-gradient(135deg, #101828, #263142);
  color: #f7df83;
}

#strengthBar {
  background: linear-gradient(135deg, #d4af37, #f7df83);
}

table {
  background: white;
  border-radius: 14px;
  overflow: hidden;
}

th {
  background: #101828;
  color: #f7df83;
}

td {
  background: rgba(255,255,255,.98);
}

.alert {
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}

@media (max-width: 950px) {
  .booking-showcase {
    grid-template-columns: 1fr;
  }

  .estimate-panel {
    position: static;
  }

  .hero-overlay {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-rate-card {
    width: 100%;
  }

  .route-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .suburban-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .topbar nav a {
    margin-left: 0;
  }

  .container {
    padding: 16px;
  }
}


.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.photo-tile {
  min-height: 190px;
  background-image:
    linear-gradient(180deg, rgba(10,15,28,.05), rgba(10,15,28,.55)),
    var(--suburban-photo);
  background-size: cover;
  background-position: center;
  border-radius: 22px;
  border: 1px solid rgba(212,175,55,.28);
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
  display: flex;
  align-items: end;
  padding: 18px;
  color: white;
  font-weight: 900;
}

@media (max-width: 800px) {
  .photo-strip {
    grid-template-columns: 1fr;
  }
}


/* === 2FA User Management + Stronger Suburban Theme === */
:root {
  --suburban-gold: #d4af37;
  --suburban-gold-light: #f7df83;
  --asphalt: #111317;
  --asphalt-2: #20242b;
  --chrome: #d7dde5;
  --pine: #1f4d3a;
}

body {
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(247, 223, 131, .16) 49%, rgba(247, 223, 131, .16) 51%, transparent 52%),
    linear-gradient(135deg, rgba(31, 77, 58, .34), transparent 34%),
    linear-gradient(180deg, #171a20 0%, var(--asphalt) 48%, #0b0d10 100%);
}

.suburban-nav {
  background:
    linear-gradient(180deg, rgba(25, 29, 36, .98), rgba(10, 13, 18, .96));
  border-bottom: 2px solid rgba(215, 221, 229, .18);
}

.brand-badge {
  border: 1px solid rgba(16, 24, 40, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 8px 20px rgba(0,0,0,.22);
}

.card,
.booking-card-main,
.estimate-panel,
.themed-card,
.payment-card,
.invoice-total,
.invoice-number,
.hero-rate-card,
.auth-shell,
.suburban-inner-hero,
.pro-hero,
.photo-tile {
  border-radius: 8px;
}

.pro-hero,
.suburban-inner-hero {
  border-color: rgba(215, 221, 229, .32);
  box-shadow: 0 24px 70px rgba(0,0,0,.42), inset 0 -4px 0 rgba(212,175,55,.18);
}

.pro-hero h1,
.suburban-inner-hero h1,
.auth-visual h1 {
  letter-spacing: 0;
}

.hero-rate-card,
.luxury-estimate,
.invoice-total {
  background:
    linear-gradient(140deg, rgba(17, 19, 23, .96), rgba(39, 45, 54, .94));
}

.mini-suv-icon {
  min-width: 64px;
  text-align: center;
  letter-spacing: 0;
  border-radius: 8px;
  border: 1px solid rgba(212,175,55,.4);
}

.security-note {
  background: #f8fafc;
  border: 1px solid rgba(212,175,55,.42);
  border-left: 5px solid var(--suburban-gold);
  color: #172033;
  padding: 11px 13px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0;
}

.compact-hero {
  padding: 30px;
}

.compact-hero h1 {
  font-size: clamp(30px, 4vw, 46px);
}

.user-management-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 22px;
}

.user-table-card {
  margin-top: 22px;
}

.user-table-card form {
  margin: 0;
}

.user-table-card button {
  margin-top: 0;
}

.verified-pill {
  background: #123d2b;
  color: #abefc6;
}

.pending-pill {
  background: #3b2f13;
  color: #f7df83;
}

.stats {
  grid-template-columns: repeat(4, 1fr);
}

.stat.card {
  border: 1px solid rgba(212,175,55,.24);
}

@media (max-width: 1000px) {
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 800px) {
  .user-management-grid,
  .stats {
    grid-template-columns: 1fr;
  }
}


/* === Warmer Neighborhood Theme + Visible Suburban Photos === */
body {
  background:
    linear-gradient(180deg, #f7fbff 0%, #eef6f0 46%, #f6f7f2 100%);
  color: #182230;
}

.suburban-nav {
  background: #27352f;
  border-bottom: 3px solid #b25f3a;
}

.brand-badge,
.nav-pill,
.gold-btn {
  background: #d9b44a !important;
  color: #172033 !important;
}

.container {
  max-width: 1180px;
}

.pro-hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(238,246,240,.94));
  color: #182230;
  border: 1px solid rgba(39, 53, 47, .16);
  box-shadow: 0 18px 45px rgba(39, 53, 47, .14);
}

.hero-overlay {
  min-height: 520px;
  align-items: center;
}

.hero-copy {
  max-width: 520px;
}

.pro-hero h1 {
  color: #182230;
  max-width: 560px;
}

.pro-hero p {
  color: #475467;
}

.pro-hero .eyebrow,
.suburban-inner-hero .eyebrow {
  background: #eef6f0;
  border-color: rgba(39, 53, 47, .18);
  color: #27352f;
}

.hero-photo-frame {
  width: min(48%, 540px);
  min-width: 320px;
  position: relative;
  border: 1px solid rgba(39, 53, 47, .18);
  border-radius: 8px;
  overflow: hidden;
  background: white;
  box-shadow: 0 18px 42px rgba(39, 53, 47, .18);
}

.hero-photo-frame img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-photo-frame .hero-rate-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: min(250px, calc(100% - 36px));
  background: rgba(255,255,255,.92);
  color: #182230;
  border: 1px solid rgba(39, 53, 47, .16);
  backdrop-filter: blur(10px);
}

.hero-photo-frame .hero-rate-card span,
.hero-photo-frame .hero-rate-card strong {
  color: #8b451f;
}

.booking-card-main,
.estimate-panel,
.themed-card,
.card {
  background: rgba(255,255,255,.96);
  border-color: rgba(39, 53, 47, .14);
  box-shadow: 0 14px 34px rgba(39, 53, 47, .10);
}

.photo-strip {
  margin: 22px 0 28px;
}

.photo-tile {
  min-height: 230px;
  background-image:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(24,34,48,.38)),
    var(--suburban-photo);
  background-position: center;
  border-color: rgba(39, 53, 47, .18);
  box-shadow: 0 14px 30px rgba(39, 53, 47, .14);
}

.photo-tile span {
  background: rgba(255,255,255,.9);
  color: #27352f;
  border-radius: 999px;
  padding: 9px 12px;
}

.formula-box,
.luxury-estimate,
.invoice-total,
th,
.eyebrow.dark,
.mini-suv-icon,
.status-pill {
  background: #27352f;
  color: #f6e7b2;
}

.price,
.luxury-estimate .price,
.big-total {
  color: #d9b44a;
}

.auth-visual,
.suburban-inner-hero {
  background:
    linear-gradient(120deg, rgba(39,53,47,.84), rgba(39,53,47,.30)),
    var(--suburban-photo);
  background-size: cover;
  background-position: center;
}

.auth-panel {
  background: #ffffff;
}

.button-link,
button {
  border-radius: 8px;
}

@media (max-width: 950px) {
  .hero-photo-frame {
    width: 100%;
    min-width: 0;
  }

  .hero-overlay {
    min-height: auto;
  }
}

.ride-actions {
  display: grid;
  gap: 8px;
  min-width: 130px;
}

.ride-actions .button-link,
.ride-actions button {
  width: 100%;
  margin-top: 0;
  text-align: center;
}

.payment-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.payment-actions .button-link,
.payment-actions button {
  margin-top: 0;
}

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

.stops-panel {
  border: 1px solid rgba(39, 53, 47, .14);
  background: #f8fbf6;
  border-radius: 8px;
  padding: 16px;
}

.stops-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.stops-header label {
  margin-top: 0;
}

.stops-header p {
  margin: 4px 0 0;
}

.stops-container {
  display: grid;
  gap: 12px;
}

.stop-row {
  display: grid;
  grid-template-columns: 1.35fr .65fr .65fr auto;
  gap: 10px;
  align-items: end;
  background: white;
  border: 1px solid rgba(39, 53, 47, .12);
  border-radius: 8px;
  padding: 12px;
}

.stop-row label {
  font-size: 13px;
}

.stop-remove {
  margin-top: 0;
}

.photo-tile {
  position: relative;
  overflow: hidden;
  padding: 0;
  background: white;
  align-items: stretch;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  display: block;
}

.photo-tile span {
  position: absolute;
  left: 16px;
  bottom: 16px;
}

@media (max-width: 900px) {
  .stop-row {
    grid-template-columns: 1fr;
  }

  .time-window-grid {
    grid-template-columns: 1fr;
  }

  .stops-header {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* === Responsive polish for phones, tablets, wide screens, and short viewports === */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

img,
svg,
video {
  max-width: 100%;
}

.container,
.card,
.themed-card,
.booking-card-main,
.estimate-panel,
.payment-card,
.auth-shell,
.auth-card,
.invoice-card,
.hero-copy,
.hero-photo-frame,
.user-table-card {
  min-width: 0;
}

.container {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.topbar {
  flex-wrap: wrap;
  gap: 12px;
}

.brand-link {
  min-width: 0;
  margin-left: 0;
}

.brand-link span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.topbar nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar nav a {
  margin-left: 0;
  text-align: center;
}

.eyebrow,
.brand-badge {
  letter-spacing: 0;
}

.hero h1,
.pro-hero h1,
.suburban-inner-hero h1,
.auth-visual h1 {
  font-size: 52px;
  line-height: 1.04;
}

.compact-hero h1 {
  font-size: 40px;
}

.auth-card h2 {
  font-size: 30px;
  line-height: 1.15;
}

.hero-overlay {
  min-height: auto;
  padding: 34px;
}

.hero-photo-frame {
  flex: 1 1 360px;
}

.hero-photo-frame img,
.photo-tile img {
  height: auto;
}

.auth-shell {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  min-height: auto;
}

.auth-visual {
  min-height: 460px;
}

.booking-showcase,
.route-grid,
.payment-grid,
.invoice-grid,
.features,
.photo-strip,
.stats,
.user-management-grid,
.time-window-grid,
.stop-row {
  grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr));
}

.booking-showcase {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .75fr);
}

.stop-row {
  grid-template-columns: minmax(0, 1.35fr) minmax(112px, .65fr) minmax(112px, .65fr) auto;
}

.features,
.photo-strip {
  --cols: 3;
}

.stats {
  --cols: 4;
}

.button-row,
.hero-actions,
.payment-actions,
.print-row,
.admin-header > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button,
.button-link {
  display: inline-flex;
  min-height: 44px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

input,
textarea,
select {
  max-width: 100%;
}

th,
td,
p,
h1,
h2,
h3,
a,
button,
.button-link,
.notice,
.security-note,
.formula-box,
.pricing-list div,
.invoice-number,
.hero-rate-card,
.status-pill {
  overflow-wrap: anywhere;
}

.qr {
  width: min(260px, 100%);
  height: auto;
  aspect-ratio: 1;
}

table {
  table-layout: auto;
}

@media (max-width: 1000px) {
  .booking-showcase,
  .stats {
    --cols: 2;
  }
}

@media (max-width: 950px) {
  .hero h1,
  .pro-hero h1,
  .suburban-inner-hero h1,
  .auth-visual h1 {
    font-size: 42px;
  }

  .compact-hero h1 {
    font-size: 36px;
  }

  .hero-overlay {
    align-items: stretch;
  }

  .hero-photo-frame {
    max-width: 100%;
    flex-basis: auto;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .auth-visual {
    min-height: 260px;
    align-items: flex-end;
  }

  .booking-showcase,
  .route-grid,
  .payment-grid,
  .invoice-grid,
  .features,
  .photo-strip,
  .stats,
  .user-management-grid,
  .time-window-grid,
  .stop-row {
    --cols: 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .container {
    padding: 14px;
  }

  .topbar {
    position: static;
    align-items: stretch;
    padding: 12px 14px;
  }

  .brand-link,
  .topbar nav {
    width: 100%;
  }

  .topbar nav {
    justify-content: stretch;
  }

  .topbar nav a {
    flex: 1 1 calc(50% - 8px);
  }

  .admin-header {
    align-items: stretch;
  }

  .admin-header,
  .invoice-header,
  .invoice-total,
  .section-title-row,
  .stops-header {
    flex-direction: column;
  }

  .admin-header > div,
  .admin-header > .button-link,
  .button-row > *,
  .hero-actions > *,
  .payment-actions > *,
  .print-row > * {
    width: 100%;
  }

  .pro-hero,
  .suburban-inner-hero,
  .auth-shell,
  .card,
  .themed-card,
  .booking-card-main,
  .estimate-panel,
  .payment-card {
    border-radius: 8px;
  }

  .hero-overlay,
  .suburban-inner-hero {
    padding: 20px;
  }

  .auth-panel {
    padding: 18px;
  }

  .auth-visual {
    min-height: 210px;
    padding: 20px;
  }

  .auth-pills {
    gap: 8px;
  }

  .auth-pills span {
    padding: 7px 10px;
  }

  .photo-tile img {
    min-height: 180px;
  }

  .hero-photo-frame .hero-rate-card {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 640px) {
  table,
  tbody,
  tr,
  td {
    display: block;
    width: 100%;
  }

  table {
    background: transparent;
    border-radius: 0;
    overflow: visible;
  }

  table tr:first-child {
    display: none;
  }

  table tr {
    background: white;
    border: 1px solid rgba(39, 53, 47, .14);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(39, 53, 47, .08);
    margin-bottom: 12px;
    padding: 10px;
  }

  table td {
    display: grid;
    grid-template-columns: minmax(104px, 34%) minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border-bottom: 0;
    padding: 8px 0;
    background: transparent;
  }

  table td::before {
    content: attr(data-label);
    color: #667085;
    font-weight: 900;
  }

  table td:not([data-label]) {
    display: block;
  }

  table td:not([data-label])::before {
    content: "";
    display: none;
  }

  table form,
  table select,
  table button,
  table .button-link,
  .ride-actions {
    width: 100%;
  }

  table button,
  table .button-link {
    margin-top: 0;
  }
}

@media (max-width: 520px) {
  .hero h1,
  .pro-hero h1,
  .suburban-inner-hero h1,
  .auth-visual h1 {
    font-size: 32px;
  }

  .compact-hero h1 {
    font-size: 30px;
  }

  .auth-card h2 {
    font-size: 24px;
  }

  .container {
    padding: 10px;
  }

  .card,
  .themed-card,
  .booking-card-main,
  .estimate-panel,
  .payment-card {
    padding: 16px;
  }

  .auth {
    max-width: 100%;
    margin: 18px auto;
  }

  .auth-tabs a {
    padding: 10px 8px;
  }

  .hero-overlay,
  .suburban-inner-hero,
  .auth-visual {
    padding: 16px;
  }

  .topbar nav a {
    flex-basis: 100%;
  }

  .brand-badge {
    flex: 0 0 auto;
  }

  .price,
  .big-total,
  .hero-rate-card strong,
  .stat span {
    font-size: 34px;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .pro-hero h1,
  .suburban-inner-hero h1,
  .auth-visual h1 {
    font-size: 28px;
  }

  table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .password-wrap input {
    padding-right: 14px;
  }

  .password-toggle {
    position: static;
    width: 100%;
    margin-top: 8px;
  }
}

@media (max-height: 560px) {
  .suburban-nav {
    position: static;
  }

  .hero-overlay {
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .auth-visual {
    min-height: 190px;
    align-items: center;
  }

  .suburban-inner-hero {
    margin-bottom: 16px;
  }
}


/* === Targeted customer ride history and password toggle fixes === */
.ride-history-list {
  display: grid;
  gap: 14px;
}

.ride-history-card {
  border: 1px solid rgba(39, 53, 47, .14);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(39, 53, 47, .08);
}

.ride-history-top,
.ride-history-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.ride-history-top {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 12px;
}

.ride-history-top strong,
.ride-history-meta strong {
  display: block;
  color: #182230;
}

.ride-history-meta span {
  display: block;
  color: #667085;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 4px;
}

.ride-history-route {
  border-top: 1px solid #e4e7ec;
  border-bottom: 1px solid #e4e7ec;
  padding: 12px 0;
  margin-bottom: 12px;
}

.ride-history-route p {
  margin: 5px 0;
}

.ride-history-card .ride-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  min-width: 0;
}

.ride-history-card .ride-actions form {
  margin: 0;
}

.ride-history-card .ride-actions .button-link,
.ride-history-card .ride-actions button {
  margin-top: 0;
}

.password-wrap {
  display: block;
}

.password-wrap input {
  min-height: 46px;
  padding-right: 82px;
}

.password-toggle {
  display: inline-flex;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: auto;
  min-height: 0;
  height: 32px;
  padding: 0 10px;
  margin: 0;
  line-height: 1;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .ride-history-top,
  .ride-history-meta {
    grid-template-columns: 1fr;
  }

  .ride-history-card .ride-actions,
  .ride-history-card .ride-actions form,
  .ride-history-card .ride-actions .button-link,
  .ride-history-card .ride-actions button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .password-wrap input {
    padding-right: 78px;
  }

  .password-toggle {
    position: absolute;
    width: auto;
    margin-top: 0;
  }
}


/* === Booking search and pagination === */
.booking-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.booking-search-form label {
  display: block;
  margin: 0 0 6px;
}

.booking-search-actions,
.pagination-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.booking-search-actions button,
.booking-search-actions .button-link,
.pagination-row .button-link {
  margin-top: 0;
}

.booking-list-summary {
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  margin: 4px 0 16px;
}

.pagination-row {
  justify-content: flex-end;
  border-top: 1px solid #e4e7ec;
  margin-top: 18px;
  padding-top: 16px;
}

.pagination-row span {
  color: #475467;
  font-weight: 900;
}

@media (max-width: 760px) {
  .booking-search-form {
    grid-template-columns: 1fr;
  }

  .booking-search-actions,
  .booking-search-actions button,
  .booking-search-actions .button-link,
  .pagination-row,
  .pagination-row .button-link {
    width: 100%;
  }

  .pagination-row {
    justify-content: stretch;
  }
}
