/* =====================================================
   BajarGadi — multi-page website (not app shell)
   ===================================================== */

:root {
  --blue: #1a3b8b;
  --blue-dark: #132c68;
  --teal: #0f766e;
  --yellow: #f1b418;
  --green: #22c55e;
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1a3b8b;
  --muted: #6b7280;
  --line: #e5e7eb;
  --danger: #c62828;
  --radius: 16px;
  --max: 1100px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Noto Sans Devanagari", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100dvh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

/* ===== Site header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 18px rgba(19, 44, 104, 0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  min-height: 64px;
  position: relative;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  flex-shrink: 0;
  color: #fff;
}

.brand:hover {
  color: #fff;
  opacity: 0.96;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Language toggle — always visible, next to menu */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
  flex-shrink: 0;
}

.lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
}

.lang-btn.active {
  background: #fff;
  color: var(--blue);
}

.lang-btn:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 1px;
}

.brand-mark,
img.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
}

.site-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.site-nav a:hover,
.site-nav a.active {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.site-nav a.nav-cta {
  background: var(--yellow);
  color: var(--blue);
  font-weight: 800;
}

.site-nav a.nav-cta:hover {
  filter: brightness(1.05);
}

@media (max-width: 820px) {
  .header-inner {
    flex-wrap: nowrap;
  }

  .brand {
    font-size: 1.2rem;
    gap: 10px;
  }

  .brand-mark,
  img.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--blue-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
    gap: 4px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
    border-radius: 12px;
  }

  .lang-btn {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
}

/* ===== Home: vehicles only ===== */
.home-main {
  padding: 28px 0 48px;
}

.home-intro {
  text-align: center;
  margin-bottom: 22px;
}

.home-intro h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  line-height: 1.25;
  margin-bottom: 8px;
}

.home-intro p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

@media (min-width: 700px) {
  .vehicle-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 420px) {
  .vehicle-grid {
    gap: 10px;
  }
}

.my-demands {
  margin: 2.5rem auto 1rem;
  max-width: 720px;
}

.my-demands-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.my-demands-head h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--blue, #1a3b8b);
}

.auth-chip {
  font-size: 0.8rem;
  font-weight: 700;
  color: #166534;
  background: #dcfce7;
  padding: 4px 10px;
  border-radius: 999px;
}

.demands-hint {
  margin: 0 0 0.75rem;
  color: #64748b;
  font-size: 0.95rem;
}

.page-status {
  margin: 0 0 0.75rem;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eff6ff;
  color: #1e3a8a;
  font-weight: 600;
  font-size: 0.95rem;
}

.page-status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.demand-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.demand-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.demand-vehicle {
  font-weight: 700;
}

.demand-chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e0e7ff;
  color: #1e3a8a;
}

.demand-chip.booked {
  background: #dcfce7;
  color: #166534;
}

.demand-route {
  margin: 8px 0 4px;
  font-weight: 600;
}

.demand-meta {
  margin: 0 0 10px;
  color: #64748b;
  font-size: 0.9rem;
}

.bid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
  padding-top: 10px;
}

.bid-empty {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.bid-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
}

.bid-row.is-accepted {
  background: #ecfdf5;
}

.bid-row.is-rejected {
  opacity: 0.55;
}

.bid-main {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
}

.bid-amount {
  font-weight: 800;
  color: #166534;
}

.bid-plate {
  font-size: 0.85rem;
  color: #64748b;
}

.bid-accept {
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  background: var(--blue, #1a3b8b);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.bid-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: #166534;
}

.delivery-otp-box {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #93c5fd;
  text-align: center;
}

.delivery-otp-label {
  margin: 0 0 6px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e3a8a;
}

.delivery-otp-code {
  margin: 0;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #1a3b8b;
  font-variant-numeric: tabular-nums;
}

.delivery-otp-route {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #475569;
}

.delivery-otp-hint {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #64748b;
}

.delivery-otp-wait {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e3a8a;
}

.delivery-otp-done {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #166534;
}

.vehicle-tile {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(26, 59, 139, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.vehicle-tile:hover,
.vehicle-tile:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 59, 139, 0.14);
  outline: none;
  border-color: #c7d2fe;
}

.v-emoji {
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  margin-bottom: 8px;
}

.v-photo {
  width: clamp(56px, 14vw, 88px);
  height: clamp(56px, 14vw, 88px);
  object-fit: contain;
  margin-bottom: 8px;
  border-radius: 12px;
  display: block;
}

[data-lang-only][hidden] {
  display: none !important;
}

.v-label,
.v-hi {
  font-size: clamp(0.8rem, 2.4vw, 1rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.v-en {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 3px;
}

/* ===== Inner pages ===== */
.page-hero {
  background: linear-gradient(135deg, #eef2ff, #e0f2fe);
  padding: 36px 0 28px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 8px;
}

.page-hero p {
  color: var(--muted);
  max-width: 640px;
}

.page-content {
  padding: 32px 0 56px;
}

.page-content h2 {
  font-size: 1.25rem;
  margin: 24px 0 10px;
}

.page-content p,
.page-content li {
  color: #374151;
  margin-bottom: 10px;
}

.page-content ul {
  padding-left: 1.2rem;
  margin-bottom: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.feature-card h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--blue);
}

.contact-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  max-width: 480px;
}

.agent-reg-wrap {
  max-width: 520px;
}

.agent-reg-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 22px;
}

.agent-dl-box {
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.agent-dl-box h2 {
  margin: 0;
  font-size: 1rem;
  color: var(--blue);
}

.agent-dl-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}

.agent-dl-verify-btn {
  align-self: flex-start;
  border: 1px solid var(--blue);
  background: #fff;
  color: var(--blue);
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
}

.agent-dl-ok {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #166534;
}

.agent-reg-footnote {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}

.agent-reg-footnote a {
  color: var(--blue);
  font-weight: 700;
}

.contact-box p {
  margin-bottom: 8px;
}

.contact-org {
  font-size: 1.05rem;
  color: var(--blue);
  margin-bottom: 12px !important;
}

.contact-address-label {
  margin-top: 12px !important;
  margin-bottom: 4px !important;
}

.contact-address {
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0 !important;
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 0 calc(22px + var(--safe-bottom));
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
}

.footer-inner-rich {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-links-legal {
  padding-top: 4px;
  border-top: 1px solid var(--line);
  width: 100%;
  font-size: 0.84rem;
}

.footer-links a:hover {
  color: var(--blue);
  text-decoration: underline;
}

.related-block {
  margin-top: 32px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: #f8fafc;
  border: 1px solid var(--line);
}

.home-related {
  margin-bottom: 8px;
}

.related-block h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  color: var(--blue);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: none;
}

.related-links a:hover {
  border-color: var(--blue);
  background: #eff6ff;
}

/* ===== Demand modal ===== */
body.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(15, 23, 42, 0.5);
}

.demand-modal {
  position: fixed;
  z-index: 60;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: min(100%, 480px);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 14px 16px calc(20px + var(--safe-bottom));
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.22);
}

@media (min-width: 520px) {
  .demand-modal {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    max-height: 85vh;
  }
}

.demand-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.demand-modal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.demand-vehicle-photo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f1f5f9;
}

.demand-modal-head h2 {
  font-size: 1.05rem;
}

.demand-modal.is-ambulance .demand-modal-head h2 {
  color: #c62828;
}

.demand-modal.is-ambulance .cta-primary {
  background: #c62828;
}

.demand-modal.is-ambulance .cta-primary:hover {
  filter: brightness(1.05);
}

.demand-form label.label-grow {
  grid-column: 1 / -1;
}

#rowMaterialMain.is-goods-weight {
  grid-template-columns: 1fr;
}

#rowMaterialMain.is-goods-weight #wrapMaterial,
#rowMaterialMain.is-goods-weight #wrapWeight {
  grid-column: 1 / -1;
}

#rowMaterialMain.is-auto-passengers {
  grid-template-columns: 1fr;
}

#rowMaterialMain.is-auto-passengers #wrapMaterial {
  grid-column: 1 / -1;
}

#goodsExtraFields.is-bus-date {
  grid-template-columns: 1fr;
}

#goodsExtraFields.is-bus-date #wrapDate {
  grid-column: 1 / -1;
}

.weight-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.weight-row input {
  flex: 1.2;
  min-width: 0;
}

.weight-row select {
  flex: 1;
  min-width: 0;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  background: #f8fafc;
  color: var(--text);
}

#wrapWeight[hidden],
#wrapDate[hidden],
#wrapBudget[hidden],
#goodsExtraFields[hidden],
#wrapMessage[hidden],
#wrapVehicle[hidden] {
  display: none !important;
}

.modal-x {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 18px;
  background: var(--bg);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  cursor: pointer;
}

.demand-status {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 10px;
  background: #eff6ff;
  color: var(--blue);
  margin-bottom: 10px;
}

.demand-status.is-error {
  background: #fef2f2;
  color: var(--danger);
}

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

.demand-form label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
}

.demand-form input,
.demand-form select,
.demand-form textarea {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  background: var(--bg);
  width: 100%;
}

.demand-form input:focus,
.demand-form select:focus,
.demand-form textarea:focus {
  outline: 2px solid rgba(26, 59, 139, 0.3);
  border-color: var(--blue);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

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

.place-field {
  position: relative;
}

.place-input-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.place-input-row input {
  flex: 1;
  min-width: 0;
}

.place-live-btn {
  flex: 0 0 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #eff6ff;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.place-live-btn:hover {
  background: #dbeafe;
  border-color: var(--blue);
}

.place-live-btn:disabled {
  opacity: 0.55;
  cursor: wait;
}

.place-suggest {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  position: absolute;
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 180px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(11, 21, 48, 0.12);
}

.place-suggest li {
  padding: 10px 12px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
}

.place-suggest li:last-child {
  border-bottom: none;
}

.place-suggest li:hover,
.place-suggest li.is-active {
  background: #eff6ff;
  color: var(--blue);
}

.place-map-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.place-map-link:hover {
  text-decoration: underline;
}

.place-hint {
  margin: 0 0 4px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.4;
}

.route-preview {
  margin: 4px 0 8px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
}

.route-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.route-preview-head strong {
  font-size: 0.86rem;
  color: var(--blue);
}

.route-preview-dist {
  font-size: 0.8rem;
  font-weight: 700;
  color: #166534;
}

.route-preview-map {
  height: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #e2e8f0;
}

.route-preview #linkRouteNav {
  margin-top: 8px;
}

.demand-modal.is-ambulance .route-preview-head strong {
  color: #b91c1c;
}

.demand-modal.is-ambulance .place-live-btn {
  background: #fef2f2;
}

.demand-modal.is-ambulance .place-live-btn:hover,
.demand-modal.is-ambulance .place-map-link {
  border-color: #dc2626;
  color: #b91c1c;
}

.cta-primary {
  margin-top: 4px;
  border: none;
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--blue);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.cta-primary:disabled {
  opacity: 0.6;
  cursor: wait;
}

.cta-secondary {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 16px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.otp-hint {
  font-size: 0.9rem;
  font-weight: 600;
}

#recaptcha-container {
  min-height: 0;
}

.recaptcha-wrap {
  margin: 0.25rem 0 0.75rem;
  padding: 0.75rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #f8fafc;
}

.recaptcha-hint {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #334155;
  font-weight: 600;
}

/* Must stay layout-visible (not display:none) or Firebase RecaptchaVerifier hangs */
.recaptcha-host {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0.02;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

@media (hover: none) {
  .vehicle-tile {
    -webkit-tap-highlight-color: transparent;
  }
}

/* ===== About page (advanced) ===== */
.about-hero {
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(241, 180, 24, 0.18), transparent 55%),
    linear-gradient(145deg, #1a3b8b 0%, #132c68 45%, #0f766e 100%);
  color: #fff;
  padding: 48px 0 52px;
}

.agent-hero {
  background:
    radial-gradient(ellipse 70% 55% at 90% 10%, rgba(134, 239, 172, 0.2), transparent 50%),
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(241, 180, 24, 0.16), transparent 55%),
    linear-gradient(145deg, #14532d 0%, #166534 38%, #132c68 100%);
}

.about-hero-inner {
  max-width: 720px;
}

.about-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 10px;
}

.about-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  line-height: 1.15;
}

.about-tagline {
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  line-height: 1.55;
  opacity: 0.95;
  max-width: 36em;
  margin-bottom: 24px;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.about-section {
  padding: 48px 0;
}

.about-section-alt {
  background: #fff;
  border-block: 1px solid var(--line);
}

.about-section h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin-bottom: 12px;
}

.about-section .lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 36em;
}

.section-sub.center,
.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 760px) {
  .about-split {
    grid-template-columns: 1fr;
  }
}

.about-mission-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 8px 24px rgba(26, 59, 139, 0.06);
}

.about-mission-card h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: var(--teal);
}

.about-mission-card ul {
  list-style: none;
  padding: 0;
}

.about-mission-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  color: var(--text);
}

.about-mission-card li:last-child {
  border-bottom: none;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

@media (max-width: 520px) {
  .about-pillars {
    grid-template-columns: 1fr;
  }
}

.pillar {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.about-section-alt .pillar {
  background: var(--card);
}

.pillar-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 10px;
}

.pillar h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.pillar p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

.about-steps {
  list-style: none;
  counter-reset: step;
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.about-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}

.about-steps li::before {
  content: counter(step);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  grid-row: 1 / span 2;
  flex-shrink: 0;
}

.about-steps strong {
  display: block;
  grid-column: 2;
  margin-bottom: 0;
  line-height: 1.35;
}

.about-steps span {
  grid-column: 2;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.about-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .about-dual {
    grid-template-columns: 1fr;
  }
}

.dual-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}

.dual-card h3 {
  margin-bottom: 8px;
}

.dual-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.dual-card a {
  font-weight: 700;
  color: var(--blue);
}

.dual-card a:hover {
  text-decoration: underline;
}

.about-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 8px;
}

@media (max-width: 700px) {
  .about-contact-grid {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.info-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.info-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  word-break: break-word;
}

.info-value.link {
  color: var(--blue);
}

.info-value.link:hover {
  text-decoration: underline;
}

.about-support-note {
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 22px;
  max-width: 40em;
  margin-left: auto;
  margin-right: auto;
}

.about-support-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
}

.about-cta-band {
  background: linear-gradient(135deg, var(--blue), #2a4ba3);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.about-cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}

.about-cta-band p {
  opacity: 0.92;
  margin-bottom: 18px;
}

/* ===== Refund & Cancellation policy page ===== */
.policy-hero {
  background: linear-gradient(145deg, #132c68 0%, #1a3b8b 50%, #0f4c5c 100%);
  color: #fff;
  padding: 44px 0 40px;
}

.policy-hero-inner {
  max-width: 720px;
}

.policy-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
  line-height: 1.2;
}

.policy-intro {
  font-size: 1.05rem;
  line-height: 1.55;
  opacity: 0.95;
  margin-bottom: 12px;
}

.policy-updated {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 20px;
}

.policy-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.policy-jump a {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.policy-jump a:hover {
  background: rgba(255, 255, 255, 0.24);
}

.policy-snapshot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .policy-snapshot {
    grid-template-columns: 1fr;
  }
}

.snap-card {
  border-radius: var(--radius);
  padding: 20px 18px;
  border: 1px solid var(--line);
  background: var(--card);
}

.snap-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.snap-card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
}

.snap-card li {
  margin-bottom: 8px;
}

.snap-ok {
  border-color: #86efac;
  background: #f0fdf4;
}

.snap-ok h3 {
  color: #15803d;
}

.snap-no {
  border-color: #fca5a5;
  background: #fef2f2;
}

.snap-no h3 {
  color: #b91c1c;
}

.policy-block {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
  max-width: 800px;
}

@media (max-width: 480px) {
  .policy-block {
    grid-template-columns: 1fr;
  }
}

.policy-num {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.policy-list {
  padding-left: 1.15rem;
  margin: 10px 0 14px;
  color: #374151;
}

.policy-list li {
  margin-bottom: 10px;
}

.policy-note {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 0.92rem;
  color: #1e3a8a;
}

.policy-callout {
  background: #fffbeb;
  border-left: 4px solid var(--yellow);
  border-radius: 0 12px 12px 0;
  padding: 12px 14px;
  margin-top: 8px;
}

.policy-callout p {
  margin: 0;
  color: #78350f;
  font-size: 0.95rem;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.tl-item {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--card);
}

.tl-item strong {
  display: block;
  margin-bottom: 4px;
}

.tl-item span {
  color: var(--muted);
  font-size: 0.92rem;
}

.tl-green {
  border-color: #86efac;
  background: #f0fdf4;
}

.tl-amber {
  border-color: #fcd34d;
  background: #fffbeb;
}

.tl-red {
  border-color: #fca5a5;
  background: #fef2f2;
}

.policy-email-box {
  max-width: 420px;
  margin: 28px auto 0;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.muted-sm {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}

.policy-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 16px 12px;
}

.faq-details summary {
  cursor: pointer;
  font-weight: 700;
  padding: 12px 0;
  color: var(--text);
  list-style: none;
}

.faq-details summary::-webkit-details-marker {
  display: none;
}

.faq-details summary::after {
  content: "+";
  float: right;
  font-weight: 800;
  color: var(--muted);
}

.faq-details[open] summary::after {
  content: "−";
}

.faq-details p {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 6px;
  padding-right: 8px;
}

.policy-footer-band {
  background: #0f172a;
  color: #e2e8f0;
  padding: 36px 0;
}

.policy-footer-band p {
  max-width: 40em;
  margin: 0 auto;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* ===== Terms page extras ===== */
.terms-hero {
  background: linear-gradient(145deg, #0f172a 0%, #1a3b8b 55%, #134e4a 100%);
}

.terms-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

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

@media (max-width: 480px) {
  .terms-highlights {
    grid-template-columns: 1fr;
  }
}

.th-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.th-icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 8px;
}

.th-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.th-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.terms-dual-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 760px) {
  .terms-dual-rules {
    grid-template-columns: 1fr;
  }
}

.terms-role-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: 0 6px 20px rgba(26, 59, 139, 0.05);
}

.terms-role-card h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.role-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.role-badge.party {
  background: #dbeafe;
  color: #1e40af;
}

.role-badge.driver {
  background: #d1fae5;
  color: #065f46;
}

.terms-related {
  margin-top: 8px;
  font-size: 0.95rem;
}

.terms-related a {
  color: var(--blue);
  font-weight: 700;
}

.terms-related a:hover {
  text-decoration: underline;
}

.policy-footer-band .btn-ghost {
  color: #fff;
}

/* ===== Privacy page ===== */
.privacy-hero {
  background: linear-gradient(145deg, #0f766e 0%, #1a3b8b 55%, #132c68 100%);
}

.privacy-promise {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
}

.privacy-promise h2 {
  margin-bottom: 10px;
}

.privacy-promise p {
  color: #374151;
  margin: 0;
  font-size: 1.02rem;
}

.privacy-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

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

@media (max-width: 480px) {
  .privacy-data-grid {
    grid-template-columns: 1fr;
  }
}

.pdata-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 16px;
}

.pdata-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--teal);
}

.pdata-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.soft-lead {
  color: #374151;
  font-size: 1.02rem;
  margin: 0;
  line-height: 1.65;
}

.soft-note {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #065f46 !important;
}

.policy-note.soft-note strong {
  color: #047857;
}

.privacy-safety-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 640px) {
  .privacy-safety-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Data Safety page ===== */
.data-safety-hero {
  background: linear-gradient(145deg, #0e7490 0%, #1a3b8b 50%, #0f172a 100%);
}

.ds-snapshot {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

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

@media (max-width: 480px) {
  .ds-snapshot {
    grid-template-columns: 1fr;
  }
}

.ds-chip {
  border-radius: var(--radius);
  padding: 16px 14px;
  border: 1px solid var(--line);
  background: var(--card);
}

.ds-chip strong {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 6px;
}

.ds-chip span {
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.4;
}

.ds-chip.yes {
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.ds-chip.yes strong {
  color: #047857;
}

.ds-chip.no {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.ds-chip.no strong {
  color: #475569;
}

.ds-secure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

@media (max-width: 760px) {
  .ds-secure-grid {
    grid-template-columns: 1fr;
  }
}

.ds-secure-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
}

.ds-secure-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 10px;
}

.ds-secure-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.ds-secure-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== Blog ===== */
.blog-hero {
  background: linear-gradient(145deg, #132c68 0%, #1a3b8b 45%, #0f766e 100%);
}

.blog-main {
  padding: 28px 0 48px;
}

.blog-status {
  margin: 0 0 16px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #e8eefc;
  color: var(--blue-dark);
  font-size: 0.95rem;
}

.blog-status.is-error {
  background: #fdecea;
  color: var(--danger);
}

.blog-status.is-ok {
  background: #e8f8ef;
  color: #166534;
}

.blog-list {
  display: grid;
  gap: 16px;
  margin-bottom: 32px;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
}

.blog-card-meta {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-card h2 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: var(--blue-dark);
}

.blog-card-excerpt {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.blog-card-link {
  color: var(--teal);
  font-weight: 600;
  text-decoration: underline;
}

.blog-empty {
  text-align: center;
  color: var(--muted);
  padding: 28px 12px;
}

.blog-post-view {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 28px;
  margin-bottom: 32px;
}

.blog-back {
  border: 0;
  background: transparent;
  color: var(--teal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  margin-bottom: 14px;
}

.blog-post-meta {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: var(--muted);
}

.blog-post-head h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 16px;
  line-height: 1.35;
  color: var(--blue-dark);
}

.blog-post-body p {
  margin: 0 0 1em;
  color: #334155;
  font-size: 1.02rem;
}

.blog-post-body p:last-child {
  margin-bottom: 0;
}

/* Blog admin */
.blog-admin-main {
  padding: 24px 0 48px;
}

.blog-admin-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin-bottom: 18px;
}

.blog-admin-card h2 {
  font-size: 1.15rem;
  margin: 0 0 12px;
}

.blog-admin-hint {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 14px;
}

.blog-admin-hint code {
  font-size: 0.85em;
  background: #f1f5f9;
  padding: 1px 6px;
  border-radius: 4px;
}

.blog-admin-form {
  display: grid;
  gap: 12px;
}

.blog-admin-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.blog-admin-form input[type="text"],
.blog-admin-form input[type="email"],
.blog-admin-form input[type="password"],
.blog-admin-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  color: var(--text);
  background: #fff;
}

.blog-admin-form textarea {
  resize: vertical;
  min-height: 180px;
  line-height: 1.55;
}

.blog-admin-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
}

.blog-admin-check input {
  width: auto;
}

.blog-admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.blog-admin-session {
  position: sticky;
  top: 64px;
  z-index: 25;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(19, 44, 104, 0.08);
}

.blog-admin-session-info {
  flex: 1;
  min-width: 200px;
}

.blog-admin-session-warn {
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: #9a3412;
  font-weight: 500;
  line-height: 1.45;
}

.blog-admin-logout-prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius);
}

.blog-admin-logout-prompt p {
  margin: 0;
  flex: 1;
  min-width: 200px;
  color: #166534;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-logout {
  background: #c62828;
  color: #fff !important;
  border: 1px solid #b71c1c;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
}

.btn-logout:hover {
  background: #b71c1c;
}

.blog-admin-user {
  margin: 0;
  font-weight: 600;
  color: var(--blue-dark);
}

.blog-admin-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-admin-layout {
  display: grid;
  gap: 16px;
}

@media (min-width: 900px) {
  .blog-admin-layout {
    grid-template-columns: minmax(220px, 0.9fr) 1.4fr;
    align-items: start;
  }
}

.blog-admin-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  max-height: 480px;
  overflow: auto;
}

.blog-admin-list-btn {
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  background: #f8fafc;
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
  color: inherit;
  display: grid;
  gap: 4px;
}

.blog-admin-list-btn:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.blog-admin-list-meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}
