:root {
  --ink: #172026;
  --muted: #5c6972;
  --line: rgba(23, 32, 38, 0.13);
  --paper: #fbfaf6;
  --blue: #145f7c;
  --teal: #167164;
  --coral: #c95649;
  --night: #10212c;
  --shadow: 0 14px 34px rgba(18, 38, 48, 0.10);
  --max: 1180px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", "Segoe UI", Arial, sans-serif;
  line-height: 1.45;
}
body.checkout-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

.topbar {
  position: relative;
  z-index: 20;
  background: rgba(255, 253, 248, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.topbar-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 66px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 650;
  font-size: 17px;
}
.brand-logo {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex: 0 0 auto;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
}
.brand-copy,
.brand span:last-child { display: flex; flex-direction: column; line-height: 1.04; }
.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-topbar {
  position: relative;
  z-index: 601;
  background: #0f1722;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drive-topbar-inner {
  min-height: 74px;
}

.drive-brand {
  gap: 0;
}

.drive-brand .brand-logo {
  width: 84px;
  height: 84px;
}

.drive-brand-logo {
  object-position: left center;
}

.drive-brand-copy {
  display: grid;
  line-height: 1;
}

.drive-brand-copy strong {
  font-size: 22px;
  color: #0f1722;
  font-weight: 750;
}

.drive-brand-copy small {
  margin-top: 6px;
  color: #7a8794;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drive-nav {
  gap: 12px;
}

.drive-nav a {
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.76);
}

.drive-nav a:hover {
  color: #ffffff;
}
.nav { display: flex; align-items: center; gap: 8px; }
.nav a, .cart-button, .primary-button, .dark-button, .link-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  font-weight: 650;
  cursor: pointer;
}
.danger-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 86, 73, 0.28);
  border-radius: 0;
  padding: 0 12px;
  color: #a83e35;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}
.nav a {
  padding: 0 10px;
  color: var(--muted);
  font-size: 13px;
}

.language-switch,
.currency-switch {
  min-height: 36px;
  display: inline-grid;
  grid-auto-flow: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 0;
  background: rgba(12, 20, 28, 0.78);
  overflow: hidden;
}

.language-switch a,
.currency-switch a {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border-right: 1px solid rgba(255,255,255,0.1);
  color: #97aab7;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.language-switch a.active,
.currency-switch a.active {
  color: #111a22;
  background: #f3f6f8;
}

.language-switch a:last-child,
.currency-switch a:last-child {
  border-right: 0;
}

.session-pill {
  max-width: 220px;
  min-height: 34px;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #dfe5ea;
  border-radius: 0;
  color: #344450;
  background: #fff;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.session-pill span {
  color: var(--teal);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.cart-button, .dark-button {
  gap: 8px;
  padding: 0 13px;
  border: 0;
  color: #fff;
  background: var(--night);
}
.cart-button span {
  min-width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--night);
  background: #fff;
  border-radius: 999px;
  font-size: 12px;
}
.primary-button {
  border: 0;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
}
.link-button {
  padding: 0 14px;
  color: var(--night);
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(7, 19, 28, 0.84), rgba(7, 19, 28, 0.36)),
    url("/assets/citypass/viber_image_2026-05-19_12-07-08-080.jpg") center / cover no-repeat;
}

.drive-results-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(12, 22, 31, 0.58), rgba(12, 22, 31, 0.18)),
    url("/assets/citypass/viber_image_2026-05-19_12-07-08-080.jpg") center / cover no-repeat;
  border-bottom: 1px solid #d8e0e6;
  min-height: 280px;
}

.drive-search-stage {
  position: sticky;
  top: 88px;
  z-index: 18;
  margin-top: -78px;
  margin-bottom: 24px;
}

.drive-results-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.drive-results-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: end;
  padding: 42px 0 118px;
}

.drive-results-head h1 {
  margin: 8px 0 10px;
  max-width: 760px;
  font-size: 42px;
  line-height: 0.98;
  color: #ffffff;
}

.drive-results-head p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.drive-results-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.drive-results-stats article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.34);
}

.drive-results-stats span,
.drive-result-status span,
.drive-result-facts span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #7b8795;
}

.drive-results-stats strong {
  font-size: 22px;
  color: #101922;
}

.drive-hero-search-card {
  display: grid;
  gap: 14px;
  padding: 28px 24px 24px;
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: 0 24px 50px rgba(10, 17, 24, 0.18);
}

.drive-hero-search-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.drive-hero-search-note {
  color: #65717f;
  font-size: 13px;
}

.drive-hero-search-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
}

.drive-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 14px;
  background: #f4f7fa;
  border: 1px solid #dbe4ea;
  color: #1c2935;
  font-size: 13px;
  font-weight: 600;
}

.drive-inline-check input {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: var(--coral);
}

.drive-search-submit {
  min-height: 46px;
}

.drive-sticky-searchbar {
  position: relative;
  z-index: 16;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 0;
  backdrop-filter: blur(14px);
}

.drive-filter-bar {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: end;
  padding: 0;
  margin-bottom: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.drive-filter-bar label {
  display: grid;
  gap: 8px;
}

.drive-filter-bar .primary-button {
  min-height: 46px;
}

.drive-inline-check-compact {
  align-self: center;
  min-height: 46px;
  padding-top: 18px;
}

.drive-results-main {
  padding: 0 0 32px;
  background: #f7fafc;
}

.drive-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.drive-trust-strip article {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #d8e0e6;
}

.drive-trust-strip strong {
  color: #101922;
  font-size: 15px;
}

.drive-trust-strip span {
  color: #687583;
  font-size: 13px;
}

.drive-results-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.drive-results-title h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1.04;
  color: #101922;
}

.drive-results-title p {
  max-width: 480px;
  margin: 0;
  color: #6b7785;
}

.drive-results-list {
  display: grid;
  gap: 16px;
}

.drive-result-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 220px;
  background: #fff;
  border: 1px solid #d8e0e6;
  box-shadow: 0 16px 34px rgba(12, 18, 25, 0.06);
  overflow: hidden;
}

.drive-result-media {
  position: relative;
  display: block;
  background: #eef3f6;
  min-height: 210px;
}

.drive-result-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
}

.drive-result-type {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(15, 23, 34, 0.88);
  color: #f4f7fa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.drive-result-main {
  display: grid;
  gap: 16px;
  padding: 20px 22px;
  border-left: 1px solid #e5ebf0;
}

.drive-result-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.drive-result-heading h3 {
  margin: 0 0 6px;
  font-size: 24px;
  color: #0f1722;
}

.drive-result-heading p {
  margin: 0;
  color: #6a7684;
  font-size: 14px;
}

.drive-result-price {
  text-align: right;
  white-space: nowrap;
}

.drive-result-price span {
  display: block;
  margin-bottom: 4px;
  color: #7a8794;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.drive-result-price strong {
  display: block;
  font-size: 24px;
  color: #101922;
}

.drive-result-price small {
  color: #7a8794;
  font-size: 12px;
}

.drive-result-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drive-result-specs span {
  padding: 7px 10px;
  background: #f4f7f9;
  border: 1px solid #dde5eb;
  color: #263341;
  font-size: 12px;
}

.drive-result-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.drive-result-facts article {
  display: grid;
  gap: 5px;
  padding: 12px 14px;
  background: #f8fafb;
  border: 1px solid #e2e8ee;
}

.drive-result-facts strong,
.drive-result-status strong {
  color: #101922;
  font-size: 15px;
}

.drive-result-side {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 20px;
  background: #f8fafb;
  border-left: 1px solid #e2e8ee;
}

.drive-result-status {
  display: grid;
  gap: 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8ee;
}

.drive-result-actions {
  display: grid;
  gap: 10px;
}

.drive-result-actions .primary-button,
.drive-result-actions .link-button {
  justify-content: center;
}

.drive-footer {
  border-top: 1px solid #d9e1e7;
  background: #fff;
}

.drive-footer-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.drive-footer-brand strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  color: #0f1722;
}

.drive-footer-brand p {
  margin: 0;
  max-width: 620px;
  color: #677482;
}

.drive-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
}

.drive-footer-links a {
  color: #44515d;
  font-size: 13px;
}

.drive-footer-credit {
  width: min(calc(100% - 32px), var(--max));
  margin: -10px auto 0;
  padding: 0 0 24px;
  text-align: center;
  color: #7a8590;
  font-size: 13px;
  font-weight: 400;
}

.drive-footer-credit a {
  color: #44515d;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.insideauto-contact-page {
  background: #f5f5f5;
}

.insideauto-contact-hero {
  padding: 44px 0 28px;
  background: #111111;
  color: #ffffff;
}

.insideauto-contact-hero h1 {
  margin: 8px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  font-weight: 500;
}

.insideauto-contact-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
}

.insideauto-contact-shell {
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: 34px 0 72px;
}

.insideauto-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.insideauto-contact-form,
.insideauto-contact-info {
  display: grid;
  gap: 16px;
  padding: 22px;
  border: 1px solid #dfdfdf;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05);
}

.insideauto-contact-form h2,
.insideauto-contact-info h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
}

.insideauto-contact-submit {
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: #ed3237;
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}

.insideauto-contact-info dl,
.insideauto-contact-info dd {
  margin: 0;
}

.insideauto-contact-info dl {
  display: grid;
  gap: 16px;
}

.insideauto-contact-info dt {
  color: #777777;
  font-size: 12px;
}

.insideauto-contact-info dd,
.insideauto-contact-info a {
  color: #111111;
  font-size: 16px;
  text-decoration: none;
}

.insideauto-chat {
  position: fixed;
  right: 18px;
  bottom: 88px;
  z-index: 100;
  width: min(420px, calc(100vw - 32px));
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.insideauto-chat.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.insideauto-chat-panel {
  overflow: hidden;
  border-radius: 0 0 18px 18px;
  background: #ffffff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.24);
}

.insideauto-chat-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 0 18px;
  background: #141414;
  color: #ffffff;
}

.insideauto-chat-head strong {
  font-size: 17px;
  font-weight: 500;
}

.insideauto-chat-head button {
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.insideauto-chat-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #ed3237;
  color: #ffffff;
  font-size: 11px;
  font-weight: 500;
}

.insideauto-chat-body {
  display: grid;
  gap: 12px;
  min-height: 310px;
  padding: 26px 18px;
  background: #ffffff;
}

.insideauto-chat-status {
  margin: 0 0 10px;
  text-align: center;
  color: #777777;
  font-size: 13px;
}

.insideauto-chat-message {
  max-width: 84%;
  padding: 12px 14px;
  border: 1px solid #dddddd;
  border-radius: 12px;
  color: #262626;
  font-size: 14px;
  line-height: 1.35;
}

.insideauto-chat-message.is-agent {
  justify-self: start;
}

.insideauto-chat-form {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr 44px;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid #e5e5e5;
}

.insideauto-chat-form input,
.insideauto-chat-form textarea {
  min-height: 40px;
  border: 1px solid #dddddd;
  border-radius: 9px;
  padding: 0 10px;
  font: inherit;
}

.insideauto-chat-form textarea {
  grid-column: 1 / 3;
  min-height: 42px;
  padding-top: 10px;
  resize: none;
}

.insideauto-chat-form button {
  grid-column: 3;
  grid-row: 1 / 3;
  border: 0;
  border-radius: 999px;
  background: #ed3237;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.insideauto-chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
}

.insideauto-chat-launcher svg {
  width: 25px;
  height: 25px;
  display: block;
  margin: 0 auto;
}

.drive-reservation-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 28px 0 44px;
}

.drive-reservation-banner {
  margin-bottom: 16px;
}

.drive-reservation-hero {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}

.drive-reservation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

.drive-reservation-notes {
  display: grid;
  gap: 14px;
}

@media (max-width: 1180px) {
  .drive-results-head,
  .drive-result-card,
  .drive-footer-inner,
  .drive-support-grid,
  .drive-reservation-grid {
    grid-template-columns: 1fr;
  }

  .drive-hero-search-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .drive-result-main,
  .drive-result-side {
    border-left: 0;
  }

  .drive-result-side {
    border-top: 1px solid #e2e8ee;
  }
}

@media (max-width: 760px) {
  .drive-results-head,
  .drive-results-stats,
  .drive-filter-bar,
  .drive-trust-strip,
  .drive-results-title,
  .drive-result-heading,
  .drive-result-facts {
    grid-template-columns: 1fr;
  }

  .drive-hero-search-top,
  .drive-hero-search-grid {
    grid-template-columns: 1fr;
    display: grid;
  }

  .drive-results-head {
    padding-top: 24px;
  }

  .drive-results-head h1 {
    font-size: 36px;
  }

  .drive-search-stage {
    top: 74px;
    margin-top: -36px;
  }

  .drive-brand-copy {
    display: none;
  }

.drive-reservation-hero {
  flex-direction: column;
}

  .drive-result-price {
    text-align: left;
  }

  .drive-result-media {
    min-height: 220px;
  }

  .drive-footer-links {
    justify-content: flex-start;
  }
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #f3f0e9;
}
.site-footer-inner {
  width: min(calc(100% - 32px), var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  color: #51606a;
  font-size: 13px;
}
.site-footer-inner strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}

.site-footer-inner span {
  font-weight: 400;
}
.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.site-footer-nav a {
  color: var(--ink);
}

.legal-shell {
  padding-top: 42px;
  padding-bottom: 56px;
}
.legal-hero {
  margin-bottom: 22px;
}
.legal-content {
  display: grid;
  gap: 22px;
}
.legal-block h2 {
  margin-bottom: 10px;
  font-size: 20px;
}
.legal-block p {
  max-width: 860px;
  margin-bottom: 10px;
  color: #45545e;
}
.hero-inner {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 44px 0;
}
.hero-copy { width: min(640px, 100%); }
.eyebrow, .section-kicker {
  display: block;
  margin-bottom: 8px;
  color: #d9b96a;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 14px;
  font-size: clamp(34px, 4.8vw, 56px);
  line-height: 1.02;
}
.hero p {
  max-width: 580px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.86);
  font-size: 16px;
}
.search-panel {
  width: min(820px, 100%);
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.55fr) auto;
  gap: 8px;
  padding: 8px;
  background: rgba(255,255,255,0.96);
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}
label { display: grid; gap: 6px; color: var(--ink); font-weight: 500; }
label span {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
input, select, textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}
button:disabled,
.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
textarea { min-height: 92px; padding-top: 10px; resize: vertical; }

.offer-date-picker {
  position: relative;
}

.offer-date-picker .insideauto-picker-trigger {
  min-height: 44px;
  border-radius: 8px;
}

.offer-date-picker .insideauto-picker-popover {
  width: min(540px, calc(100vw - 32px));
}

.offer-calendar-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.insideauto-calendar-day.is-disabled,
.insideauto-calendar-day:disabled {
  color: #b8c0c7;
  background: #f2f4f5;
  box-shadow: none;
  cursor: not-allowed;
  text-decoration: line-through;
}

.insideauto-calendar-day.is-blocked {
  background: repeating-linear-gradient(-45deg, #fde8e8 0px, #fde8e8 4px, #fdf4f4 4px, #fdf4f4 8px);
  color: #c9a0a0;
  cursor: not-allowed;
  text-decoration: none;
  box-shadow: none;
  font-weight: 400;
}

.insideauto-calendar-day.is-blocked.is-today {
  box-shadow: inset 0 0 0 1px #f4b4b4;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(720px, 100%);
  margin-top: 18px;
}
.metrics article {
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  background: rgba(255,255,255,0.11);
}
.metrics strong { display: block; font-size: 22px; }
.metrics span { color: rgba(255,255,255,0.76); font-size: 12px; font-weight: 700; }

.section {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 52px 0;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}
.section-kicker { color: var(--teal); }
h2 { max-width: 620px; margin-bottom: 0; font-size: clamp(25px, 3vw, 38px); line-height: 1.08; }
.section-head p { max-width: 380px; margin-bottom: 0; color: var(--muted); font-size: 14px; }
.category-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.category-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}
.category-tabs a.active { color: #fff; border-color: var(--blue); background: var(--blue); }
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.offer-card, .panel, .steps article, .voucher-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.offer-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.offer-image { height: 158px; background: #eee center / cover no-repeat; }
.offer-body { display: grid; gap: 10px; padding: 16px; }
.offer-meta, .partner-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}
.offer-card h3 { margin-bottom: 0; font-size: 18px; line-height: 1.15; }
.offer-card p { margin-bottom: 0; color: var(--muted); font-size: 13px; }
.offer-footer, .total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.price { display: grid; }
.price small { color: var(--muted); font-size: 12px; text-decoration: line-through; font-weight: 400; }
.price strong { color: var(--coral); font-size: 19px; font-weight: 500; }
.workflow { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 24px; }
.steps { display: grid; gap: 10px; }
.steps article { padding: 16px; box-shadow: none; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span, .note, .empty-state { color: var(--muted); font-size: 13px; }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(8, 17, 23, 0.5);
}
.drawer.open { display: block; }
.drawer-panel {
  width: min(460px, calc(100% - 24px));
  height: calc(100% - 24px);
  margin: 12px 12px 12px auto;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #fff;
  border-radius: 10px;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.drawer-head h2 { font-size: 24px; }
.drawer-head button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  font-size: 22px;
}
.drawer-body { overflow: auto; display: grid; align-content: start; gap: 12px; padding: 18px; }
.cart-item { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.cart-item strong { display: block; }
.cart-item span { color: var(--muted); font-size: 12px; font-weight: 700; }
.cart-item button { border: 0; color: var(--coral); background: transparent; font-weight: 800; cursor: pointer; }
.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.qty-controls button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--night);
  background: #fff;
}
.qty-controls span {
  min-width: 18px;
  text-align: center;
}

.page-shell { width: min(calc(100% - 32px), 900px); margin: 0 auto; padding: 38px 0; }
.panel { padding: 20px; margin-top: 16px; }
.form-grid { display: grid; gap: 12px; }
.admin-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; align-items: start; }
.table-actions, .form-actions { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; }
.table-actions form { margin: 0; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.voucher-list { display: grid; gap: 12px; }
.voucher-card {
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  box-shadow: none;
}
.voucher-card > div {
  min-width: 0;
}
.voucher-code {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.voucher-qr {
  width: 168px;
  height: 168px;
  object-fit: contain;
  border: 1px solid #edf0f2;
  border-radius: 10px;
  background: #fff;
}
.qr-thumb {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 1px solid #edf0f2;
  border-radius: 8px;
  background: #fff;
}
.pagination-note {
  padding-top: 14px;
  color: var(--muted);
  font-size: 13px;
}
.voucher-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 13px;
}
.voucher-card-actions {
  margin-top: 12px;
}
.customer-order-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}
.customer-order-hero-actions {
  justify-content: flex-end;
}
.cpay-redirect-panel {
  display: grid;
  gap: 12px;
  justify-items: start;
}
.status-unused { color: var(--teal); font-weight: 900; }
.status-used { color: var(--coral); font-weight: 900; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkbox-row input {
  width: 16px;
  min-height: 16px;
}

@media (max-width: 880px) {
  .search-panel, .offers-grid, .workflow, .admin-grid { grid-template-columns: 1fr; }
  .section-head, .metrics { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .topbar-inner { display: grid; padding: 14px 0; }
  .nav { flex-wrap: wrap; }
  .session-pill { max-width: 100%; }
  .cart-button { width: 100%; }
  .hero { min-height: auto; }
  .section { padding: 40px 0; }
  .weekday-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor-section { padding: 14px; }
  .sticky-form-actions { justify-content: stretch; }
  .sticky-form-actions .primary-button,
  .sticky-form-actions .link-button { width: 100%; }
}

/* Marketplace home: cleaner travel-platform treatment inspired by search-first tour marketplaces. */
.marketplace-home {
  --paper: #ffffff;
  --ink: #1f2933;
  --muted: #5f6b76;
  --line: rgba(31, 41, 51, 0.12);
  --blue: #0b6e69;
  --teal: #0b6e69;
  --coral: #ff5a1f;
  --night: #14213d;
  background: #fff;
}

.marketplace-home .topbar {
  background: #fff;
  border-bottom: 1px solid #edf0f2;
  backdrop-filter: none;
}

.marketplace-home .topbar-inner {
  min-height: 72px;
}

.marketplace-home .brand-mark {
  width: 34px;
  height: 34px;
  background: #0b6e69;
  border-radius: 7px;
  box-shadow: none;
}

.marketplace-home .brand-logo {
  width: 100px;
  height: 100px;
}

.marketplace-home .brand {
  font-size: 18px;
  font-weight: 500;
}

.marketplace-home .brand small {
  color: #697784;
}

.marketplace-home .nav a {
  font-size: 14px;
  font-weight: 500;
}

.marketplace-home .language-switch a {
  font-size: 11px;
}

.marketplace-home .cart-button {
  color: var(--night);
  background: #fff;
  border: 1px solid #dfe5ea;
  box-shadow: none;
}

.marketplace-home .cart-button span {
  color: #fff;
  background: var(--coral);
}

.marketplace-home .marketplace-hero {
  min-height: 440px;
  color: var(--ink);
  background: linear-gradient(180deg, #f5fbfa 0%, #fff 78%);
  background-image: linear-gradient(180deg, #f5fbfa 0%, #fff 78%);
}

.marketplace-home .hero-inner {
  display: grid;
  justify-items: center;
  padding: 58px 0 38px;
  text-align: center;
}

.marketplace-home .hero-copy {
  width: min(820px, 100%);
}

.marketplace-home .eyebrow {
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 12px;
}

.marketplace-home h1 {
  max-width: 860px;
  margin: 0 auto 14px;
  color: #1f2933;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.marketplace-home .hero p {
  max-width: 680px;
  margin: 0 auto 18px;
  color: #52606d;
  font-size: 17px;
}

.marketplace-home .search-panel {
  width: min(860px, 100%);
  grid-template-columns: minmax(260px, 1fr) 220px 132px;
  gap: 0;
  padding: 6px;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  box-shadow: 0 18px 48px rgba(20, 33, 61, 0.13);
}

.marketplace-home .search-panel label {
  gap: 2px;
  padding: 8px 18px;
  border-right: 1px solid #edf0f2;
  text-align: left;
}

.marketplace-home .search-panel label:nth-child(2) {
  border-right: 0;
}

.marketplace-home .search-panel input,
.marketplace-home .search-panel select {
  min-height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 15px;
}

.marketplace-home .search-panel .primary-button {
  min-height: 52px;
  border-radius: 999px;
  background: var(--coral);
  font-size: 15px;
  font-weight: 500;
}

.sticky-searchbar {
  position: sticky;
  top: 0;
  z-index: 18;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.94);
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  backdrop-filter: blur(16px);
}

.sticky-search-form {
  width: min(calc(100% - 32px), 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 118px;
  gap: 0;
  padding: 5px;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(20, 33, 61, 0.08);
}

.sticky-search-form label {
  gap: 1px;
  padding: 6px 16px;
  border-right: 1px solid #edf0f2;
}

.sticky-search-form label:nth-child(2) {
  border-right: 0;
}

.sticky-search-form input,
.sticky-search-form select {
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 14px;
}

.sticky-search-form .primary-button {
  min-height: 46px;
  border-radius: 999px;
  background: var(--coral);
  font-size: 14px;
  font-weight: 500;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.quick-links a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #344450;
  background: #fff;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.admin-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.partner-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.customer-page {
  --paper: #f6f7f9;
  --ink: #202830;
  --muted: #66717c;
  --line: rgba(32, 40, 48, 0.11);
  background: var(--paper);
  font-weight: 400;
  font-family: Arial, "Helvetica Neue", sans-serif;
}

.partner-page h1,
.partner-page h2,
.partner-page h3,
.partner-page strong,
.partner-page .brand {
  font-weight: 500;
}

.admin-page,
.partner-page,
.customer-page {
  color: #15202a;
  background:
    radial-gradient(circle at top left, rgba(60, 83, 100, 0.28), transparent 26%),
    linear-gradient(180deg, #0f1720 0, #121c25 180px, #e9edf1 181px, #eef2f5 100%);
}

.admin-page .topbar,
.partner-page .topbar {
  background: rgba(13, 21, 29, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(8, 14, 20, 0.18);
}

.admin-page .topbar-inner,
.partner-page .topbar-inner {
  max-width: none;
  width: min(calc(100% - 32px), 1380px);
  min-height: 64px;
}

.customer-page .topbar {
  background: rgba(13, 21, 29, 0.92);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(8, 14, 20, 0.18);
}

.customer-page .topbar-inner {
  max-width: none;
  width: min(calc(100% - 32px), 1180px);
  min-height: 64px;
}

.customer-page h1,
.customer-page h2,
.customer-page h3,
.customer-page strong,
.customer-page .brand {
  font-weight: 500;
}

.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-page strong,
.admin-page .brand {
  font-weight: 500;
}

.admin-page h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  letter-spacing: 0;
}

.admin-page .topbar::after,
.partner-page .topbar::after,
.customer-page .topbar::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.16) 20%, rgba(255,255,255,0.08) 80%, transparent 100%);
  pointer-events: none;
}


.admin-page .brand,
.partner-page .brand,
.customer-page .brand {
  gap: 10px;
  font-size: 16px;
  color: #f2f5f7;
}

.admin-page .brand-logo,
.partner-page .brand-logo,
.customer-page .brand-logo {
  width: 88px;
  height: 44px;
  object-fit: contain;
  object-position: left center;
}

.admin-page .brand small,
.partner-page .brand small,
.customer-page .brand small {
  margin-top: 3px;
  color: #98a9b7;
  font-size: 9px;
  letter-spacing: 0.14em;
}

.admin-page .nav,
.partner-page .nav,
.customer-page .nav {
  gap: 6px;
}

.admin-page .nav a,
.partner-page .nav a,
.customer-page .nav a {
  min-height: 34px;
  padding: 0 10px;
  border-radius: 7px;
  font-size: 12px;
  color: #98a9b7; 
}

.admin-page .nav a:hover,
.partner-page .nav a:hover,
.customer-page .nav a:hover {
  color: #000;
  background: rgba(255, 255, 255, 0.08);
}

.admin-page .session-pill,
.partner-page .session-pill,
.customer-page .session-pill {
  min-height: 32px;
  border-color: rgba(255,255,255,0.08);
  border-radius: 7px;
  background: rgba(255,255,255,0.08);
  color: #eef3f6;
  font-size: 11px;
}

.customer-shell {
  width: min(calc(100% - 40px), 1320px);
  margin: 0 auto;
  padding: 20px 0 56px;
}

.customer-shell-login {
  min-height: auto;
  display: grid;
  align-items: start;
  padding-top: 28px;
}

.customer-login-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 420px);
  gap: 32px;
  align-items: stretch;
  padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(135deg, rgba(11, 18, 25, 0.98) 0%, rgba(18, 29, 38, 0.96) 58%, rgba(234, 239, 243, 0.94) 58%, rgba(241, 244, 247, 0.98) 100%);
  box-shadow: 0 28px 60px rgba(8, 14, 20, 0.18);
}

.customer-login-copy {
  min-height: 540px;
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: 40px 32px;
  color: #f4f7f9;
  background: linear-gradient(180deg, rgba(10, 18, 25, 0.98) 0%, rgba(16, 26, 35, 0.92) 100%);
  border: 1px solid rgba(255,255,255,0.06);
}

.customer-login-copy h1 {
  max-width: 700px;
  margin-bottom: 16px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 0.98;
}

.customer-login-copy p {
  max-width: 620px;
  margin-bottom: 20px;
  color: #b7c5cf;
  font-size: 15px;
}

.customer-login-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.customer-login-highlights article,
.customer-summary-metrics article,
.customer-empty-state {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}

.customer-login-highlights strong,
.customer-summary-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.customer-login-highlights span,
.customer-summary-metrics span {
  color: #9db0bd;
  font-size: 12px;
}

.customer-login-card,
.customer-summary-panel,
.customer-booking-card,
.customer-empty-state {
  border: 1px solid #dbe4ea;
  background: #fdfefe;
  box-shadow: 0 24px 54px rgba(12, 21, 28, 0.08);
}

.customer-login-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 30px;
  align-self: stretch;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.customer-login-card-head h2,
.customer-summary-head h2,
.customer-group-head h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.customer-info-banner {
  padding: 12px 14px;
  border: 1px solid #cfdbe3;
  background: #f3f7fa;
  color: #24323c;
  font-size: 13px;
}

.customer-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  color: #f4f7f9;
}

.customer-hero-copy h1 {
  margin: 4px 0 8px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 0.98;
}

.customer-hero-copy p {
  margin: 0;
  color: #aec0cb;
  font-size: 14px;
}

.customer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-overview-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.customer-summary-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.customer-summary-metrics {
  display: grid;
  gap: 10px;
}

.customer-summary-metrics article {
  border-color: #e1e8ed;
  background: #f5f8fa;
}

.customer-summary-metrics strong {
  margin-bottom: 4px;
  color: #15212b;
  font-size: 24px;
}

.customer-filter-panel {
  display: grid;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #e6edf1;
}

.customer-filter-head h3 {
  margin: 4px 0 0;
  font-size: 18px;
}

.customer-content-column,
.customer-order-groups,
.customer-order-stack {
  display: grid;
  gap: 18px;
}

.customer-order-group {
  display: grid;
  gap: 14px;
}

.customer-group-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.customer-booking-card {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.customer-booking-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.customer-booking-top h3 {
  margin: 4px 0 0;
  font-size: 24px;
}

.customer-booking-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.customer-booking-meta,
.customer-voucher-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.customer-booking-meta span,
.customer-voucher-meta span {
  padding: 7px 10px;
  border: 1px solid #dbe4ea;
  background: #f3f7fa;
  font-size: 12px;
  color: #33424f;
}

.customer-voucher-grid {
  display: grid;
  gap: 14px;
}

.customer-voucher-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e1e8ed;
  background: #fbfdfe;
}

.customer-voucher-main {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.customer-voucher-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.customer-voucher-head h3 {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.04;
}

.customer-voucher-code {
  width: fit-content;
  padding: 0;
  border: 0;
  background: transparent;
  color: #16364a;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

.customer-voucher-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.customer-voucher-qr {
  justify-self: end;
}

.customer-pagination {
  margin-top: 18px;
}

.auth-page .topbar-inner {
  width: min(calc(100% - 40px), 1320px);
}

.auth-page {
  background: linear-gradient(180deg, #eef2f5 0%, #f5f7f9 100%);
}

.auth-page .topbar {
  position: relative;
  background: #ffffff;
  border-bottom: 1px solid #dde4ea;
  backdrop-filter: none;
  box-shadow: 0 8px 20px rgba(12, 21, 28, 0.04);
}

.rental-admin-auth-page .topbar {
  background: rgba(13, 21, 29, 0.97);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 24px rgba(8, 14, 20, 0.22);
}

.rental-admin-auth-page .brand {
  color: #ffffff;
}

/* show/hide password toggle */
.pw-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.pw-field-wrap input {
  width: 100%;
  padding-right: 40px !important;
}

.pw-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: #8a9bac;
  display: flex;
  align-items: center;
  line-height: 1;
}

.pw-toggle-btn:hover {
  color: #1a2533;
}

.auth-page .topbar::after {
  display: none;
}

.auth-page .brand {
  color: #17222c;
}

.auth-page .brand-logo {
  width: 116px;
  height: 64px;
}

.auth-page .language-switch {
  border-color: #d7e0e6;
  background: #ffffff;
}

.auth-page .language-switch a {
  color: #657684;
  border-right-color: #e0e6eb;
}

.auth-page .language-switch a.active {
  color: #ffffff;
  background: #15212b;
}

.auth-page .nav {
  margin-left: auto;
}

.auth-shell {
  width: min(calc(100% - 40px), 1120px);
  min-height: auto;
  margin: 0 auto;
  padding: 32px 0 56px;
  display: grid;
  align-items: start;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(340px, 1.1fr);
  background: #ffffff;
  border: 1px solid #dbe4ea;
  box-shadow: 0 24px 54px rgba(12, 21, 28, 0.08);
  overflow: hidden;
}

.auth-copy {
  display: grid;
  align-content: end;
  gap: 14px;
  min-height: 420px;
  padding: 38px 34px;
  color: #f4f7f9;
  background: linear-gradient(180deg, #111a22 0%, #1b2630 100%);
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 0.98;
}

.auth-copy p {
  max-width: 420px;
  margin: 0;
  color: #b6c5cf;
  font-size: 15px;
}

.auth-form {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 34px 34px 30px;
  background: #ffffff;
}

.admin-shell {
  width: min(calc(100% - 32px), 1380px);
  margin: 0 auto;
  padding: 10px 0 52px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}

.admin-sidebar-panel {
  position: sticky;
  align-self: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 18px;
  min-height: calc(100vh - 120px);
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0;
  color: #dbe4ea;
  background:
    linear-gradient(180deg, rgba(27, 39, 49, 0.98) 0%, rgba(18, 28, 37, 0.98) 100%);
  box-shadow: 0 30px 60px rgba(5, 12, 17, 0.28);
}

.admin-sidebar-panel > div:first-child {
  display: grid;
  gap: 8px;
  padding: 4px 6px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.admin-sidebar-panel .section-kicker,
.admin-sidebar-panel .note {
  color: #94a5b1;
}

.admin-sidebar-panel h1,
.admin-titlebar h1 {
  margin-bottom: 6px;
  font-size: 28px;
  line-height: 1.12;
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  align-content: start;
}

.admin-side-nav a {
  min-height: 46px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid transparent;
  border-radius: 0;
  color: #ced8df;
  font-size: 12px;
  font-weight: 500;
}

.admin-side-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}

.admin-side-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #1d8f8a 0%, #15626f 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 28px rgba(20, 98, 111, 0.24);
}

.admin-sidebar-panel .sidebar-logout {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  padding: 0 18px;
  margin-top: 10px;
  border-color: rgba(255,255,255,0.12);
  color: #f0f4f7;
  background: rgba(255,255,255,0.04);
}

.admin-sidebar-panel .sidebar-logout:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.16);
}

.admin-main {
  display: grid;
  gap: 18px;
  align-items: start;
  align-content: start;
}

.admin-two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.admin-main > * {
  min-width: 0;
}

.admin-titlebar,
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-titlebar {
  padding: 8px 2px 2px;
  color: #f4f7f9;
}

.admin-titlebar .link-button {
  background: #fff;
}

.admin-titlebar .table-actions {
  justify-content: flex-end;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.partner-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-grid article {
  padding: 14px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #fcfdfe 0%, #f5f8fa 100%);
  box-shadow: 0 18px 36px rgba(15, 26, 34, 0.08);
}

.stat-grid span {
  display: block;
  margin-bottom: 6px;
  color: #778591;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.stat-grid strong {
  font-size: 21px;
  line-height: 1.1;
}

.admin-page .panel {
  margin-top: 0;
  border-color: rgba(219, 227, 233, 0.9);
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 26, 34, 0.08);
}

.admin-page .panel-head .table-actions input,
.admin-page .panel-head .table-actions select {
  min-height: 36px;
}

.admin-page .section-kicker {
  color: #6f7f8d;
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.11em;
}

.admin-page h2 {
  font-size: 19px;
}

.admin-form-columns {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
}

.inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.admin-page input,
.admin-page select,
.admin-page textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c3d0d8;
  border-radius: 0;
  background: #f3f6f8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.partner-page input,
.partner-page select,
.partner-page textarea,
.customer-page input,
.customer-page select,
.customer-page textarea {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #c3d0d8;
  border-radius: 0;
  background: #f3f6f8;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.admin-page input:focus,
.admin-page select:focus,
.admin-page textarea:focus,
.partner-page input:focus,
.partner-page select:focus,
.partner-page textarea:focus,
.customer-page input:focus,
.customer-page select:focus,
.customer-page textarea:focus {
  border-color: #8ea8ba;
  box-shadow: 0 0 0 5px rgba(37, 92, 124, 0.12);
  background: #fff;
}

.admin-page input[type="file"] {
  padding: 9px 11px;
}

.admin-thumb {
  width: 58px;
  height: 46px;
  object-fit: cover;
  border-radius: 8px;
  background: #eef1f4;
}

.admin-preview {
  width: 180px;
  height: 128px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #e2e8ee;
  background: #eef1f4;
}

.image-edit-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 14px;
  align-items: start;
}

.offer-editor {
  padding: 0;
  overflow: clip;
}

.editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.offer-editor-nav {
  margin-bottom: 10px;
}

.editor-section {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  border-right: 1px solid #e9eef2;
  border-bottom: 1px solid #e9eef2;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.editor-section:nth-child(2n) {
  border-right: 0;
}

.editor-section:last-child {
  grid-column: 1 / -1;
  border-bottom: 0;
}

.editor-section-span {
  grid-column: 1 / -1;
}

.editor-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 2px;
}

.editor-section-head span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: linear-gradient(135deg, #17384a 0%, #25556f 100%);
  font-size: 11px;
}

.admin-page .editor-section-head h2 {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
}

.compact-grid {
  display: grid;
  gap: 10px;
}

.compact-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact-grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.vehicle-management-panel {
  display: grid;
  gap: 16px;
}

.vehicle-management-panel .panel-head {
  padding-bottom: 12px;
  border-bottom: 1px solid #edf2f5;
}

.vehicle-management-form {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
  border: 1px solid #e5edf2;
  background: #fbfdfe;
}

.vehicle-management-form label {
  grid-column: span 3;
  min-width: 0;
}

.vehicle-preset-form label:first-child {
  grid-column: span 6;
}

.vehicle-custom-extra-form label:nth-child(1),
.vehicle-custom-extra-form label:nth-child(2),
.vehicle-custom-extra-form label:nth-child(3),
.vehicle-custom-extra-form label:nth-child(4) {
  grid-column: span 3;
}

.vehicle-blackout-form label:nth-child(1),
.vehicle-blackout-form label:nth-child(2) {
  grid-column: span 2;
}

.vehicle-blackout-form label:nth-child(3) {
  grid-column: span 4;
}

.vehicle-blackout-form label:nth-child(4) {
  grid-column: span 2;
}

.vehicle-management-actions {
  grid-column: span 2;
  display: flex;
  align-items: end;
  justify-content: flex-start;
}

.vehicle-management-actions .primary-button {
  width: 100%;
  min-height: 44px;
}

.vehicle-management-table {
  table-layout: fixed;
}

.vehicle-management-table th,
.vehicle-management-table td {
  vertical-align: middle;
}

.vehicle-management-table td:first-child {
  color: #162733;
}

.vehicle-management-table small {
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

.vehicle-management-table .danger-button {
  min-height: 36px;
  padding: 0 12px;
}

.invoice-items-editor {
  display: grid;
  gap: 10px;
}

.invoice-items-head,
.invoice-item-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 90px 140px 140px 92px;
  gap: 10px;
  align-items: center;
}

.invoice-items-head {
  padding: 0 4px;
  color: #8ea0b2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-item-row {
  padding: 10px;
  border: 1px solid #e6edf4;
  border-radius: 10px;
  background: #f9fbfd;
}

.invoice-item-row input,
.invoice-item-row output {
  min-height: 42px;
}

.invoice-item-row output {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e7edf4;
  color: #12202f;
  font-size: 14px;
  font-weight: 700;
}

.invoice-edit-page {
  max-width: 1180px;
}

.invoice-edit-page .admin-titlebar {
  align-items: flex-end;
  padding-bottom: 12px;
}

.invoice-title-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.invoice-title-actions .link-button,
.invoice-title-actions .primary-button {
  min-height: 38px;
  padding-inline: 14px;
}

.invoice-editor-form {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.invoice-editor-section {
  border-right: 0;
  border-bottom: 1px solid #edf1f5;
  background: #fff;
  padding: 18px 20px 20px;
}

.invoice-editor-section:nth-child(2n) {
  border-right: 0;
}

.invoice-editor-section:last-child {
  border-bottom: 1px solid #edf1f5;
}

.invoice-edit-page .editor-section-head {
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef2f6;
}

.invoice-edit-page .editor-section-head span {
  width: 28px;
  height: 28px;
  font-size: 10px;
}

.invoice-details-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 0.85fr 0.65fr;
  gap: 12px;
  align-items: start;
}

.invoice-details-grid .editor-section-span {
  grid-column: 1 / -1;
}

.invoice-edit-page label span {
  margin-bottom: 6px;
  color: #7c8b99;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-edit-page input {
  min-height: 40px;
  width: 100%;
  padding: 0 11px;
  font-size: 13px;
  background: #fff;
}

.invoice-items-section {
  padding-bottom: 18px;
}

.invoice-edit-page .invoice-items-editor {
  gap: 8px;
}

.invoice-edit-page .invoice-items-head,
.invoice-edit-page .invoice-item-row {
  grid-template-columns: minmax(320px, 1fr) 76px 132px 132px 88px;
  gap: 8px;
}

.invoice-edit-page .invoice-items-head {
  padding: 0 10px 2px;
  color: #7f8d9b;
  font-size: 10px;
  font-weight: 700;
}

.invoice-edit-page .invoice-item-row {
  padding: 8px;
  border-radius: 10px;
  background: #fbfcfe;
  border-color: #e4eaf1;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.invoice-edit-page .invoice-item-row input,
.invoice-edit-page .invoice-item-row output {
  min-height: 38px;
  border-radius: 8px;
  font-size: 13px;
}

.invoice-edit-page .invoice-item-row output {
  color: #172536;
  background: #fff;
  font-weight: 600;
}

.invoice-edit-page .invoice-remove-row,
.invoice-edit-page .invoice-add-row {
  min-height: 38px;
  padding-inline: 12px;
  font-size: 12px;
  white-space: nowrap;
}

.invoice-edit-page .invoice-add-row {
  justify-self: start;
  margin-top: 4px;
}

.invoice-summary-card {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #e4e9ef;
  background: #f8fafc;
}

.invoice-summary-card > div {
  padding: 16px 20px;
  border-right: 1px solid #e4e9ef;
}

.invoice-summary-card > div:last-child {
  border-right: 0;
}

.invoice-summary-card .note {
  display: block;
  margin-bottom: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invoice-summary-card h3 {
  margin: 0;
  color: #172536;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
}

.invoice-summary-card .invoice-summary-total {
  background: #10212c;
}

.invoice-summary-card .invoice-summary-total .note {
  color: #9fb2c2;
}

.invoice-summary-card .invoice-summary-total h3 {
  color: #fff;
}

.invoice-form-actions {
  justify-content: flex-end;
  padding: 14px 20px;
  margin: 0;
  background: #fff;
}

.invoice-form-actions .primary-button {
  min-width: 180px;
}

.geo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vehicle-image-preview {
  width: 220px;
  max-width: 100%;
  margin-top: 10px;
  border-radius: 12px;
  border: 1px solid #e4e9ef;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.vehicle-upload-form {
  display: flex;
  gap: 10px;
  align-items: center;
}

.vehicle-upload-form input[type="file"] {
  flex: 1;
}

.vehicle-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.vehicle-photo-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4e9ef;
  background: #f7f9fb;
}

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

.vehicle-photo-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 34, 0.62);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s;
}

.vehicle-photo-remove:hover {
  background: rgba(200, 40, 40, 0.85);
}

.sticky-form-actions {
  justify-content: flex-end;
  padding: 14px 18px;
  border-top: 1px solid #e9eef2;
  background: #f7f9fb;
}

.vehicle-create-panel {
  padding: 0;
}

.vehicle-create-panel .form-error-panel,
.vehicle-create-panel > .panel:not(.vehicle-create-panel),
.vehicle-create-panel > .editor-grid,
.vehicle-create-panel > .sticky-form-actions {
  margin-left: 20px;
  margin-right: 20px;
}

.vehicle-create-panel .form-error-panel {
  margin-top: 20px;
}

.vehicle-create-panel > .panel-head {
  padding: 22px 24px 18px;
  border-bottom: 1px solid #e9eef2;
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.vehicle-create-panel > .panel-head h2 {
  margin: 0;
}

.vehicle-create-panel > .editor-grid {
  margin-top: 0;
}

.vehicle-create-panel > .sticky-form-actions {
  margin-left: 0;
  margin-right: 0;
}

.availability-panel {
  overflow: clip;
}

.availability-builder {
  display: grid;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e7ebef;
}

.weekday-picker {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.weekday-picker label {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 3px;
  padding: 8px 6px;
  border: 1px solid #d9e1e7;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #f8fafb 100%);
  cursor: pointer;
}

.weekday-picker input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-picker span {
  color: #18242d;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
}

.weekday-picker small {
  color: #66737d;
  font-size: 10px;
}

.weekday-picker label:has(input:checked) {
  border-color: #17384a;
  background: linear-gradient(180deg, #eef4f8 0%, #e6eef4 100%);
  box-shadow: inset 0 0 0 1px #17384a;
}

.time-builder-row {
  display: grid;
  grid-template-columns: 150px minmax(260px, 1fr) 140px 140px;
  gap: 10px;
  align-items: end;
}

.time-field input {
  font-variant-numeric: tabular-nums;
}

.time-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: end;
  min-height: 42px;
}

.time-presets button {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d7e0e6;
  border-radius: 0;
  color: #27333d;
  background: #f9fbfc;
  cursor: pointer;
}

.time-presets button.active,
.time-presets button:hover {
  border-color: #17384a;
  color: #17384a;
  background: #eef4f8;
}

.map-link {
  width: fit-content;
  margin-top: 8px;
}

.gallery-uploader {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 0.8fr) 110px auto;
  gap: 10px;
  align-items: end;
}

.gallery-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gallery-admin-grid article {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.gallery-admin-grid img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-admin-grid strong,
.gallery-admin-grid span {
  display: block;
  font-size: 12px;
}

.gallery-admin-grid span {
  color: var(--muted);
}

.gallery-admin-grid form {
  grid-column: 1 / -1;
}

.offers-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 140px 160px minmax(180px, 0.8fr) auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.offers-filter-bar--export {
  grid-template-columns: minmax(180px, 1fr) 100px 130px 150px 150px auto auto;
}

.invoice-turnover-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.invoice-turnover-summary article {
  padding: 18px 20px;
  border: 1px solid #e4e9ef;
  background: #fff;
}

.invoice-turnover-summary span,
.invoice-turnover-summary small {
  display: block;
  color: #7a8fa0;
  font-size: 11px;
}

.invoice-turnover-summary strong {
  display: block;
  margin: 6px 0 4px;
  color: #1a2736;
  font-size: 24px;
  font-weight: 600;
}

@media (max-width: 980px) {
  .offers-filter-bar--export,
  .invoice-turnover-summary {
    grid-template-columns: 1fr;
  }

  .offers-filter-bar--export .primary-button,
  .offers-filter-bar--export .secondary-button {
    width: 100%;
  }
}

.admin-orders-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) 170px minmax(180px, 1fr) 150px 150px auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.customer-account-filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px auto;
  gap: 10px;
  align-items: end;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.manifest-filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(180px, 1fr) 160px 160px auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fafcfd 0%, #f5f8fa 100%);
}

.booking-view-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.segmented-control {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid #d5dee4;
  border-radius: 8px;
  background: #f6f8fa;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

.segmented-control a {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: #5a6976;
  font-size: 12px;
}

.segmented-control button {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 6px;
  color: #5a6976;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.segmented-control a.active {
  color: #102028;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 34, 0.08);
}

.segmented-control button.active {
  color: #102028;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 26, 34, 0.08);
}

.compact-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-orders-stats,
.customer-account-stats {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.customer-account-stats {
  margin-bottom: 16px;
}

.customer-order-groups {
  display: grid;
  gap: 16px;
}

.customer-order-group .panel-head {
  margin-bottom: 14px;
}

.customer-order-card {
  margin-top: 0;
}

.customer-order-head {
  gap: 12px;
}

.customer-order-actions {
  justify-content: flex-end;
}

.customer-voucher-grid {
  gap: 10px;
}

.customer-voucher-card {
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.offer-admin-list {
  display: grid;
  gap: 10px;
}

.order-admin-list {
  display: grid;
  gap: 10px;
}

.offer-admin-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  box-shadow: 0 18px 40px rgba(15, 26, 34, 0.08);
}

.offer-admin-row > img {
  width: 112px;
  height: 84px;
  object-fit: cover;
  border-radius: 0;
  background: #eef1f4;
}

.offer-admin-main {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.offer-admin-title {
    display: flex;
    align-items: start;
    gap: 12px;
    flex-direction: column;
}

.admin-page .offer-admin-title h2 {
  margin: 0 0 3px;
  font-size: 16px;
  line-height: 1.25;
}

.offer-admin-title p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.offer-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.offer-admin-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  color: #43515d;
  background: #f4f7f9;
  font-size: 11px;
}

.offer-admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.offer-admin-actions form {
  margin: 0;
}

.order-admin-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fb 100%);
  box-shadow: 0 18px 40px rgba(15, 26, 34, 0.08);
}

.order-admin-main {
  min-width: 0;
  display: grid;
  gap: 9px;
}

.bulk-actions-bar {
  justify-content: flex-end;
}

.bulk-check-label,
.bulk-row-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.bulk-row-check {
  align-self: start;
  padding-top: 6px;
}

.order-admin-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.admin-page .order-admin-top h2 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.2;
}

.order-admin-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.order-admin-meta,
.order-admin-codes,
.order-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bulk-actions-bar select {
  min-height: 36px;
}

.order-payment-panel {
  margin-top: 16px;
}

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

.order-payment-grid article {
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: #f7f9fb;
}

.order-payment-grid span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 12px;
}

.order-admin-meta span,
.order-admin-codes span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #dde5ea;
  border-radius: 0;
  color: #475664;
  background: #f4f7f9;
  font-size: 11px;
}

.order-admin-actions {
  justify-content: flex-end;
}

.order-admin-actions form {
  margin: 0;
}

.partner-service-create {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.reservation-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  align-items: end;
}

.reservation-form .span-2 {
  grid-column: span 2;
}

.partner-service-create .primary-button,
.reservation-form .primary-button {
  min-width: 0;
  white-space: normal;
}

.form-error-panel {
  border-color: rgba(201, 86, 73, 0.34);
  color: #7c3029;
  background: #fff6f4;
  box-shadow: none;
  border-left: 4px solid #c95649;
  border-radius: 0;
}

.field-error {
  margin: -2px 0 0;
  color: #a83e35;
  font-size: 12px;
  font-weight: 600;
}

.booking-error {
  margin: 10px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(237, 50, 55, 0.32);
  border-radius: 8px;
  background: rgba(237, 50, 55, 0.08);
  color: #b42318;
  font-size: 14px;
  font-weight: 500;
}

.input-invalid,
input.input-invalid,
select.input-invalid,
textarea.input-invalid {
  border-color: rgba(201, 86, 73, 0.72);
  box-shadow: 0 0 0 3px rgba(201, 86, 73, 0.12);
}

.input-invalid:focus,
input.input-invalid:focus,
select.input-invalid:focus,
textarea.input-invalid:focus {
  border-color: rgba(201, 86, 73, 0.9);
  box-shadow: 0 0 0 4px rgba(201, 86, 73, 0.16);
}

.form-error-panel strong {
  display: block;
  margin-bottom: 6px;
}

.form-error-panel ul {
  margin: 0;
  padding-left: 18px;
}

.booking-service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: #fff;
}

.booking-service-row h3 {
  margin: 0 0 3px;
  font-size: 15px;
}

.booking-service-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.status-mini-form {
  display: inline-grid;
  grid-template-columns: 130px auto;
  gap: 6px;
  align-items: center;
}

.status-mini-form select {
  min-height: 34px;
}

.booking-calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.booking-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 8px;
}

.booking-weekdays span {
  padding: 0 6px;
  color: #667481;
  font-size: 11px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.booking-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}

.calendar-day {
  min-height: 96px;
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.calendar-day:hover {
  border-color: #bac7d1;
  box-shadow: 0 10px 24px rgba(16, 33, 44, 0.06);
}

.calendar-day.active {
  border-color: #0b6e69;
  box-shadow: inset 0 0 0 1px #0b6e69;
  background: #f5fbfa;
}

.calendar-day.is-today strong {
  color: #0b6e69;
}

.calendar-day.is-outside {
  color: #a2aeb8;
  background: #f6f8fa;
}

.calendar-day.is-outside strong,
.calendar-day.is-outside span,
.calendar-day.is-outside small {
  color: #a2aeb8;
}

.booking-calendar strong {
  font-size: 18px;
}

.booking-calendar span,
.booking-calendar small {
  color: var(--muted);
  font-size: 12px;
}

.reservation-edit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-edit-form .span-2 {
  grid-column: 1 / -1;
}

.reservation-card-list {
  display: grid;
  gap: 10px;
}

.reservation-card {
  padding: 14px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.reservation-card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.reservation-card-top strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.reservation-card-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.reservation-card-meta,
.reservation-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.reservation-card-meta span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid #e2e8ee;
  border-radius: 0;
  color: #4c5d69;
  background: #f8fafb;
  font-size: 12px;
}

.reservation-detail-drawer .drawer-panel {
  max-width: 760px;
}

.reservation-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.reservation-detail-grid article {
  display: grid;
  gap: 5px;
  padding: 12px;
  border: 1px solid #dce4e9;
  border-radius: 0;
  background: linear-gradient(180deg, #fff 0%, #fafcfd 100%);
}

.reservation-detail-grid article.span-2 {
  grid-column: 1 / -1;
}

.reservation-detail-grid span {
  color: #66737d;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.reservation-detail-grid strong {
  font-size: 14px;
  font-weight: 500;
}

.reservation-quick-edit {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.activity-log {
  display: grid;
  gap: 10px;
}

.activity-log-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
  box-shadow: 0 12px 28px rgba(15, 26, 34, 0.06);
}

.activity-log-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
}

.activity-log-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.activity-log-item > div {
  min-width: 0;
}

.activity-log-item .status-pill {
  justify-self: end;
}

.activity-log-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
}

.exception-builder-row {
  grid-template-columns: 160px 140px 160px 140px;
}

.preview-banner {
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid #d7dee5;
  border-radius: 0;
  color: #34424f;
  background: #fff;
  font-size: 13px;
}

.offer-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.offer-gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.offer-gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.offer-gallery-grid figcaption {
  padding: 8px 10px;
  color: var(--muted);
  font-size: 12px;
}

.status-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #53636f;
}

.status-pill.active {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.paused {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.pending_payment {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.paid,
.status-pill.unused {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.citypass {
  color: #17384a;
  border-color: #c7d7e2;
  background: #edf3f7;
}

.status-pill.manual {
  color: #56646f;
  border-color: #d9e1e6;
  background: #f3f6f8;
}

.status-pill.cancelled,
.status-pill.refunded,
.status-pill.used {
  color: #8d453d;
  border-color: #ebc8c2;
  background: #f9eeeb;
}

.status-pill.checked_in {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.no_show {
  color: #78511d;
  border-color: #e8d9ba;
  background: #f7efde;
}

.status-pill.blocked {
  color: #604958;
  border-color: #ddcfda;
  background: #f3edf2;
}

.status-pill.admin {
  color: #17384a;
  border-color: #c7d7e2;
  background: #edf3f7;
}

.status-pill.partner {
  color: #0f4f64;
  border-color: #bdd1db;
  background: #e9f1f6;
}

.status-pill.system {
  color: #56646f;
  border-color: #d9e1e6;
  background: #f3f6f8;
}

.admin-detail-page {
  width: 100%;
}

.admin-detail-shell {
  padding-top: 24px;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.9fr;
  gap: 18px;
  align-items: end;
}

.order-admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 16px;
}

.order-summary-panel,
.order-payment-panel {
  align-content: start;
}

.order-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-info-grid article {
  padding: 14px;
  border: 1px solid #e3e8ed;
  border-radius: 8px;
  background: #fbfcfd;
}

.order-info-grid span,
.order-info-grid p {
  color: var(--muted);
  font-size: 12px;
}

.order-info-grid span {
  display: block;
  margin-bottom: 6px;
}

.order-info-grid p {
  margin: 6px 0 0;
}

.order-update-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-update-form .span-2 {
  grid-column: 1 / -1;
}

.responsive-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.order-detail-grid h2 {
  margin-bottom: 4px;
}

.status-update {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.admin-page .rental-period-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-page .rental-period-form > * {
  min-width: 0;
}

.customer-order-card .panel-head {
  align-items: start;
}

.voucher-code-small {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  color: #202830;
}

button.voucher-code-small {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qr-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(12, 20, 28, 0.62);
}

.qr-lightbox.open {
  display: grid;
}

.qr-lightbox-panel {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
}

.qr-lightbox-panel img {
  width: min(320px, 76vw);
  height: min(320px, 76vw);
  object-fit: contain;
}

.qr-lightbox-panel div {
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 18px;
  color: var(--ink);
}

.qr-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  font-size: 24px;
  cursor: pointer;
}

.validator-panel {
  margin-top: 0;
}

.validator-form {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.voucher-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
}

.admin-page table {
  font-size: 12px;
  background: #fff;
}

.admin-page td {
  color: #27333d;
}

.admin-page .primary-button {
  background: linear-gradient(135deg, #1b455e 0%, #163446 100%);
  box-shadow: 0 14px 28px rgba(22, 52, 70, 0.18);
}

.admin-page .danger-button,
.partner-page .danger-button,
.admin-page .link-button,
.partner-page .link-button,
.admin-page .dark-button,
.partner-page .dark-button,
.admin-page .primary-button,
.partner-page .primary-button,
.admin-page .nav a,
.partner-page .nav a,
.admin-page label,
.partner-page label,
.admin-page input,
.partner-page input,
.admin-page select,
.partner-page select,
.admin-page textarea,
.partner-page textarea {
  font-weight: 400;
}

.admin-page .primary-button,
.partner-page .primary-button,
.customer-page .primary-button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: 0.01em;
}

.admin-page .link-button,
.partner-page .link-button,
.customer-page .link-button,
.admin-page .danger-button,
.partner-page .danger-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 12px;
}

.admin-page .link-button,
.partner-page .link-button,
.customer-page .link-button {
  border-color: #d3dde4;
  color: #25313b;
  background: #f8fbfc;
}

.admin-page .link-button:hover,
.partner-page .link-button:hover,
.customer-page .link-button:hover {
  background: #f4f7f9;
}

.admin-page .danger-button,
.partner-page .danger-button {
  border-color: #ebc2bc;
  color: #9a4137;
  background: #fff8f7;
}

.admin-page th,
.partner-page th {
  padding: 14px 10px;
  color: #8fa1ad;
  font-size: 10px;
  letter-spacing: 0.14em;
  background: #15202a;
}

.admin-page td,
.partner-page td {
  padding: 14px 10px;
  border-bottom: 1px solid #dfe7ec;
}

.admin-page tr:hover td,
.partner-page tr:hover td {
  background: #f0f4f7;
}

.admin-page table,
.partner-page table {
  border-collapse: separate;
  border-spacing: 0;
}

.admin-page thead th:first-child,
.partner-page thead th:first-child {
  border-left: 0;
}

.admin-page thead th,
.partner-page thead th {
  border-right: 1px solid rgba(255,255,255,0.08);
}

.admin-page tbody tr:nth-child(even) td,
.partner-page tbody tr:nth-child(even) td {
  background: #fbfdfe;
}

.admin-page tbody tr td:first-child,
.partner-page tbody tr td:first-child {
  border-left: 4px solid transparent;
}

.admin-page tbody tr:hover td:first-child,
.partner-page tbody tr:hover td:first-child {
  border-left-color: #17384a;
}

.responsive-table-wrap {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 24px 48px rgba(15, 26, 34, 0.08);
  overflow: hidden;
}

@media (max-width: 980px) {
  .sticky-search-form {
    grid-template-columns: minmax(220px, 1fr) 170px 104px;
  }

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

  .admin-sidebar-panel {
    position: static;
  }

  .admin-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-form-columns,
  .auth-card,
  .customer-login-hero,
  .customer-overview-grid,
  .image-edit-row,
  .order-detail-grid,
  .order-payment-grid,
  .order-admin-layout,
  .order-info-grid,
  .editor-grid,
  .compact-grid.two,
  .compact-grid.three,
  .compact-grid.four,
  .vehicle-management-form,
  .time-builder-row,
  .offers-filter-bar,
  .admin-orders-filter-bar,
  .customer-account-filter-bar,
  .gallery-uploader,
  .gallery-admin-grid,
  .offer-admin-row,
  .order-admin-row,
  .offer-gallery-grid,
  .partner-service-create,
  .reservation-form,
  .booking-service-row,
  .reservation-edit-form,
  .manifest-filter-bar,
  .reservation-detail-grid,
  .exception-builder-row {
    grid-template-columns: 1fr;
  }

  .reservation-form .span-2,
  .reservation-edit-form .span-2,
  .reservation-detail-grid article.span-2,
  .vehicle-management-form label,
  .vehicle-management-actions {
    grid-column: auto;
  }

  .invoice-items-head {
    display: none;
  }

  .invoice-details-grid,
  .invoice-summary-card {
    grid-template-columns: 1fr;
  }

  .invoice-title-actions {
    width: 100%;
    justify-content: stretch;
  }

  .invoice-title-actions .link-button,
  .invoice-title-actions .primary-button,
  .invoice-form-actions .primary-button {
    width: 100%;
  }

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

  .invoice-item-row output {
    justify-content: flex-start;
  }

  .booking-view-switch,
  .reservation-card-top,
  .activity-log-item,
  .order-admin-top,
  .customer-order-hero,
  .customer-order-head {
    display: grid;
    justify-content: stretch;
  }

  .booking-calendar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-weekdays {
    display: none;
  }

  .editor-section,
  .editor-section:nth-child(2n) {
    border-right: 0;
  }

  .weekday-picker {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .status-update {
    grid-template-columns: 1fr;
  }

  .order-update-form .span-2 {
    grid-column: auto;
  }

  .admin-orders-stats,
  .customer-account-stats {
    grid-template-columns: 1fr;
  }

  .validator-form,
  .voucher-result {
    grid-template-columns: 1fr;
  }

  .customer-order-actions,
  .customer-order-hero-actions,
  .order-admin-actions,
  .customer-hero,
  .customer-group-head,
  .customer-booking-top {
    justify-content: stretch;
  }

  .bulk-actions-bar {
    width: 100%;
    justify-content: stretch;
  }

  .bulk-actions-bar select,
  .bulk-actions-bar .primary-button {
    width: 100%;
  }

  .customer-voucher-card .qr-button,
  .voucher-card .qr-button {
    width: 100%;
  }

  .voucher-qr {
    width: min(100%, 184px);
    height: auto;
  }
}

@media (max-width: 760px) {
  .auth-shell {
    width: min(calc(100% - 24px), 1120px);
    padding-top: 24px;
  }

  .auth-copy,
  .auth-form {
    padding: 24px 22px;
  }

  .customer-shell {
    width: min(calc(100% - 24px), 1320px);
  }

  .customer-login-copy {
    padding: 18px 0 0;
  }

  .customer-login-highlights,
  .customer-voucher-card {
    grid-template-columns: 1fr;
  }

  .customer-hero-actions,
  .customer-booking-actions,
  .customer-voucher-actions {
    justify-content: stretch;
  }

  .customer-voucher-qr {
    justify-self: start;
  }

  .stacked-table thead {
    display: none;
  }

  .stacked-table,
  .stacked-table tbody,
  .stacked-table tr,
  .stacked-table td {
    display: block;
    width: 100%;
  }

  .stacked-table tr {
    padding: 12px 0;
    border-bottom: 1px solid #e7ebef;
  }

  .stacked-table td {
    padding: 8px 0;
    border-bottom: 0;
  }

  .stacked-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }
}

.marketplace-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding-top: 24px;
  padding-bottom: 28px;
}

.marketplace-strip article {
  padding: 18px;
  border: 1px solid #edf0f2;
  border-radius: 12px;
  background: #fff;
}

.marketplace-strip strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.marketplace-strip span {
  color: var(--muted);
  font-size: 13px;
}

.marketplace-home .section {
  padding: 42px 0;
}

.marketplace-home .section-head {
  align-items: start;
}

.marketplace-home .section-kicker {
  color: var(--coral);
}

.marketplace-home h2 {
  font-size: clamp(24px, 2.7vw, 34px);
}

.marketplace-home .category-tabs {
  gap: 10px;
}

.marketplace-home .category-tabs a {
  min-height: 40px;
  padding: 0 16px;
  color: #344450;
  border-color: #dfe5ea;
  background: #fff;
}

.marketplace-home .category-tabs a.active {
  color: #fff;
  border-color: #14213d;
  background: #14213d;
}

.marketplace-home .offers-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.marketplace-home .offer-card {
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  box-shadow: none;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.marketplace-home .offer-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(20, 33, 61, 0.12);
}

.marketplace-home .offer-image {
  height: 176px;
}

.marketplace-home .offer-body {
  gap: 9px;
  padding: 14px;
}

.marketplace-home .offer-meta,
.marketplace-home .partner-line {
  font-size: 12px;
}

.marketplace-home .offer-card h3 {
  min-height: 42px;
  font-size: 16px;
  line-height: 1.28;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: #5f6b76;
  font-size: 12px;
}

.rating-line strong {
  color: #0b6e69;
}

.marketplace-home .offer-card p {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.marketplace-home .offer-footer {
  align-items: end;
  margin-top: 4px;
}

.marketplace-home .price span {
  color: #5f6b76;
  font-size: 11px;
  font-weight: 400;
}

.marketplace-home .price strong {
  color: #1f2933;
  font-size: 18px;
  font-weight: 500;
}

.marketplace-home .dark-button {
  min-height: 36px;
  color: #fff;
  background: #14213d;
}

.marketplace-home .workflow {
  display: none;
}

.offer-detail-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  padding: 34px 0 56px;
}

.offer-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
}

.offer-detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.offer-detail-hero h1 {
  font-size: clamp(32px, 4.2vw, 52px);
  color: var(--ink);
}

.offer-detail-hero p {
  color: var(--muted);
  font-size: 16px;
}

.detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-badges span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}

.offer-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-top: 32px;
}

.detail-content {
  display: grid;
  gap: 22px;
}

.detail-content section,
.booking-panel {
  padding: 20px;
  border: 1px solid #dfe5ea;
  border-radius: 14px;
  background: #fff;
}

.detail-content h2,
.booking-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.detail-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}

.detail-list div {
  padding: 12px;
  border: 1px solid #edf0f2;
  border-radius: 10px;
}

.detail-list dt {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.detail-list dd {
  margin: 4px 0 0;
  font-size: 14px;
}

.detail-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.booking-panel {
  position: sticky;
  top: 92px;
  align-self: start;
  display: grid;
  gap: 14px;
}

.booking-panel .primary-button {
  width: 100%;
}

.booking-fields {
  display: grid;
  gap: 10px;
}

@media (max-width: 1080px) {
  .marketplace-home .offers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .offer-detail-layout,
  .offer-detail-hero {
    grid-template-columns: 1fr;
  }

  .booking-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .marketplace-home .search-panel,
  .sticky-search-form,
  .marketplace-strip {
    grid-template-columns: 1fr;
  }

  .marketplace-home .search-panel,
  .sticky-search-form {
    border-radius: 18px;
  }

  .marketplace-home .search-panel label,
  .sticky-search-form label,
  .sticky-search-form label:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #edf0f2;
  }

  .sticky-searchbar {
    padding: 8px 0;
  }

  .sticky-search-form {
    width: min(calc(100% - 24px), 560px);
  }

  .marketplace-home .offers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .marketplace-home .topbar-inner {
    gap: 12px;
  }

  .sticky-searchbar {
    top: 112px;
  }

  .marketplace-home .nav {
    gap: 6px;
  }

  .marketplace-home .nav a {
    font-size: 13px;
  }

  .marketplace-home .cart-button {
    width: auto;
  }

  .marketplace-home .hero-inner {
    padding: 42px 0 26px;
  }

  .marketplace-home h1 {
    font-size: 34px;
  }

  .marketplace-home .offers-grid {
    grid-template-columns: 1fr;
  }

  .detail-list,
  .detail-columns {
    grid-template-columns: 1fr;
  }
}

.rental-vertical-page .hero.marketplace-hero {
  background: linear-gradient(180deg, #0f1722 0%, #17212c 100%);
}

.rental-vertical-page {
  width: 100%;
  max-width: 100vw;
  background: #f5f5f5;
  color: #111111;
  overflow-x: hidden;
}

html:has(.rental-vertical-page) {
  max-width: 100%;
  overflow-x: hidden;
}

.rental-vertical-page .topbar,
.rental-vertical-page .drive-topbar,
.insideauto-checkout-page,
.insideauto-checkout-shell,
.insideauto-checkout-topbar,
.insideauto-checkout-trip,
.insideauto-selected-car,
.insideauto-checkout-layout,
.insideauto-review-layout,
.insideauto-terms-strip,
.insideauto-panel,
.insideauto-booking-overview {
  min-width: 0;
  max-width: 100%;
}

.rental-vertical-page .topbar {
  position: static;
}

.drive-topbar {
  background: linear-gradient(180deg, #0d0d0d 0%, #141414 100%);
  border-bottom: 1px solid rgba(237, 50, 55, 0.2);
}
.drive-topbar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #ed3237 20%, #f05458 50%, #ed3237 80%, transparent 100%);
  z-index: 1;
}

.drive-topbar-inner {
  width: min(calc(100% - 48px), 1280px);
  min-height: 80px;
  gap: 0;
}

/* Elegant nav links */
.drive-nav {
  gap: 0;
}
.drive-nav > a {
  position: relative;
  padding: 0 16px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.2s;
  overflow: visible;
}
.drive-nav > a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 16px; right: 16px;
  height: 1px;
  background: #ed3237;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}
.drive-nav > a:hover {
  color: rgba(255, 255, 255, 0.95);
}
.drive-nav > a:hover::after {
  transform: scaleX(1);
}

/* Vertical divider */
.drive-nav-divider {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  margin: 0 8px;
}

/* CTA Резервирај button — matches insideauto-search-cta style */
.drive-cta-button {
  display: inline-flex !important;
  align-items: center;
  padding: 0 22px !important;
  height: 38px;
  min-height: 38px !important;
  background: #ed3237;
  color: #ffffff !important;
  font-size: 13px !important;
  letter-spacing: 0.03em;
  text-transform: none;
  font-weight: 600 !important;
  border-radius: 12px !important;
  border: 0;
  flex-shrink: 0;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
}
.drive-cta-button:hover {
  background: #c92226 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}
.drive-cta-button::after { display: none !important; }
.drive-cta-button::before { display: none !important; }

/* Currency / language switches */
.drive-nav .currency-switch,
.drive-nav .language-switch {
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  margin: 0 6px;
}
.drive-nav .currency-switch a,
.drive-nav .language-switch a {
  color: rgba(255, 255, 255, 0.42);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.15s;
}
.drive-nav .currency-switch a:hover,
.drive-nav .language-switch a:hover {
  color: rgba(255, 255, 255, 0.8);
}
.drive-nav .currency-switch a.active,
.drive-nav .language-switch a.active {
  background: rgba(237, 50, 55, 0.18);
  color: #ed3237;
}

/* Hamburger toggle — hidden on desktop, margin-left: auto pushes it right */
.drive-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.drive-nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 1px;
  transition: transform 0.22s, opacity 0.18s;
}
.drive-nav-toggle:hover { border-color: rgba(237, 50, 55, 0.6); }
body.drive-drawer-open .drive-nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.drive-drawer-open .drive-nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.drive-drawer-open .drive-nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile slide-in drawer */
.drive-mobile-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: #0f0f0f;
  border-left: 1px solid rgba(237, 50, 55, 0.2);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 600;
  padding-top: 66px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.drive-mobile-drawer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: #ed3237;
}
body.drive-drawer-open .drive-mobile-drawer { transform: translateX(0); }
body.drive-drawer-open::after {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 599;
}
body.drive-drawer-open { overflow: hidden; }

.drive-mobile-drawer a {
  display: flex;
  align-items: center;
  padding: 17px 28px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.15s, background 0.15s;
  gap: 10px;
}
.drive-mobile-drawer a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.03);
}

.drive-drawer-switches {
  display: flex;
  gap: 12px;
  padding: 20px 28px 0;
  flex-wrap: wrap;
}
.drive-drawer-switches .currency-switch,
.drive-drawer-switches .language-switch {
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.drive-drawer-switches .currency-switch a,
.drive-drawer-switches .language-switch a {
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.drive-drawer-switches .currency-switch a.active,
.drive-drawer-switches .language-switch a.active {
  background: rgba(237, 50, 55, 0.18);
  color: #ed3237;
}

.drive-drawer-cta {
  margin: 24px 28px 0;
  width: calc(100% - 56px);
  justify-content: center;
  height: 46px !important;
  min-height: 46px !important;
  font-size: 14px !important;
  letter-spacing: 0.01em;
}

.insideauto-shell {
  width: min(calc(100% - 48px), 1280px);
  max-width: 100%;
  margin: 0 auto;
}

.insideauto-results-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ed3237;
}

.insideauto-offerlist-hero {
  position: sticky;
  top: 0;
  z-index: 18;
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(17, 17, 17, 0.92)),
    radial-gradient(circle at center, rgba(255, 95, 0, 0.12), transparent 40%);
  padding: 10px 0 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.drive-search-is-fixed .insideauto-offerlist-hero {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

.drive-search-is-fixed .insideauto-offerlist-results {
  padding-top: var(--drive-sticky-offset, 0);
}

.insideauto-offerlist,
.insideauto-checkout-page {
  max-width: 100%;
  overflow-x: clip;
}

.drive-home-page .insideauto-offerlist {
  overflow-x: visible;
}

.insideauto-searchbar {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.16);
}

.insideauto-searchbar-expanded {
  display: grid;
  gap: 10px;
}

.insideauto-mobile-search-card {
  display: none;
}

.insideauto-searchbar-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.insideauto-searchbar-summary {
  display: none;
}

.insideauto-searchbar-route {
  display: grid;
  gap: 2px;
  padding: 6px 10px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #f7f7f7;
  color: #161616;
}

.insideauto-searchbar-route small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a7a7a;
}

.insideauto-searchbar-route strong {
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
}

.insideauto-searchbar-route span {
  font-size: 11px;
  color: #6a6a6a;
}

.insideauto-same-dropoff {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  padding: 0 4px;
  border-radius: 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  color: #4a4a4a;
  cursor: pointer;
}

.insideauto-same-dropoff input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.insideauto-same-dropoff-switch {
  position: relative;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  border: 1.5px solid #9a9a9a;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.insideauto-same-dropoff-switch::after {
  content: "+";
  display: block;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  color: #9a9a9a;
  transition: transform 0.2s ease, color 0.2s ease;
}

.insideauto-same-dropoff input:checked + .insideauto-same-dropoff-switch {
  border-color: #ed3237;
  background: #ed3237;
}

.insideauto-same-dropoff input:checked + .insideauto-same-dropoff-switch::after {
  content: "\2713";
  color: #ffffff;
  font-size: 11px;
}

.insideauto-searchbar-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr 1.25fr auto;
  gap: 10px;
  align-items: end;
}

.insideauto-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.insideauto-field span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666666;
}

.insideauto-field input,
.insideauto-field select,
.insideauto-field textarea {
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  box-sizing: border-box;
}

.insideauto-field textarea {
  min-height: 110px;
  padding: 14px 16px;
  resize: vertical;
}

.insideauto-field--location select {
  padding-left: 32px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 10px center;
  background-size: 15px 15px;
}

.insideauto-field-combo {
  min-width: 0;
}

.insideauto-combo-shell {
  display: flex;
  align-items: stretch;
  min-height: 44px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
}

.insideauto-combo-shell .insideauto-picker-shell {
  flex: 1 1 0;
  min-width: 0;
}

.insideauto-combo-shell .insideauto-picker-trigger {
  height: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.insideauto-combo-divider {
  align-self: stretch;
  width: 1px;
  margin: 8px 0;
  flex: 0 0 auto;
  background: #e2e2e2;
}

.insideauto-picker-shell {
  position: relative;
}

.insideauto-picker-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid #d6d6d6;
  background: #ffffff;
  color: #111111;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.insideauto-picker-trigger-icon {
  flex: 0 0 auto;
  font-size: 13px;
  opacity: 0.7;
}

.insideauto-picker-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  width: min(620px, 92vw);
  border-radius: 18px;
  border: 1px solid #e4e4e4;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.insideauto-calendar-popover {
  padding: 18px;
}

.insideauto-calendar-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.insideauto-calendar-nav-button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: #f2f2f2;
  color: #171717;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.insideauto-calendar-nav-button:hover {
  background: #111111;
  color: #ffffff;
}

.insideauto-calendar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insideauto-calendar-month {
  display: grid;
  gap: 10px;
}

.insideauto-calendar-month-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.insideauto-calendar-month-head strong {
  font-size: 16px;
  font-weight: 700;
}

.insideauto-calendar-weekdays,
.insideauto-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.insideauto-calendar-weekdays span {
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
  text-align: center;
  text-transform: uppercase;
}

.insideauto-calendar-day,
.insideauto-calendar-blank {
  display: grid;
  place-items: center;
  min-height: 34px;
  border-radius: 10px;
}

.insideauto-calendar-day {
  width: 34px;
  height: 34px;
  min-height: 0;
  padding: 0;
  justify-self: center;
  align-self: center;
  border: 0;
  background: transparent;
  color: #191919;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.insideauto-calendar-day:hover:not(.is-selected):not(.is-disabled):not(:disabled) {
  background: #111111;
  color: #ffffff;
}

.insideauto-calendar-day.is-selected {
  background: #111111;
  color: #ffffff;
}

.insideauto-calendar-day.is-selected:hover {
  background: #111111;
}

.insideauto-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px #ed3237;
  color: #ed3237;
}

.insideauto-calendar-day.is-selected.is-today {
  color: #ffffff;
}

.insideauto-time-popover {
  width: min(360px, 92vw);
  padding: 14px;
}

.insideauto-time-popover-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
}

.insideauto-time-popover-head strong {
  font-size: 16px;
  font-weight: 700;
}

.insideauto-time-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.insideauto-time-option {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f3f3;
  color: #181818;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.insideauto-time-option:hover:not(.is-selected) {
  background: #111111;
  color: #ffffff;
}

.insideauto-time-option.is-selected {
  background: #111111;
  color: #ffffff;
}

.insideauto-time-option.is-selected:hover {
  background: #111111;
}

.insideauto-time-option.is-outside-hours {
  position: relative;
}

.insideauto-time-option.is-outside-hours::after {
  content: attr(data-note);
  display: block;
  font-size: 10px;
  font-weight: 500;
  color: inherit;
  opacity: 0.72;
}

.insideauto-search-cta {
  min-height: 44px;
  padding: 0 26px;
  border: 0;
  border-radius: 10px;
  background: #ed3237;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s ease;
}

.insideauto-search-cta:hover {
  background: #d32a2f;
}

.insideauto-searchbar-note {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 10px;
  color: #666666;
}

.insideauto-offerlist-results {
  padding: 22px 0 72px;
}

.insideauto-results-header {
  display: grid;
  gap: 14px;
  padding: 10px 0 20px;
}

.insideauto-results-header h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #141414;
  font-weight: 700;
}

.insideauto-results-meta,
.insideauto-filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insideauto-results-meta span,
.insideauto-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e3e3e3;
  font-size: 13px;
  font-weight: 500;
  color: #181818;
  text-decoration: none;
  cursor: pointer;
}

.insideauto-filter-chip b {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ed3237;
  color: #ffffff;
  font-size: 11px;
  line-height: 1;
}

.insideauto-filter-chip.is-active,
.insideauto-filter-chip-dark {
  background: #111111;
  color: #ffffff;
  border-color: #111111;
}

.insideauto-filter-chip:hover {
  border-color: #111111;
}

.insideauto-sort-control {
  position: relative;
}

.insideauto-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 40;
  width: 224px;
  padding: 18px 14px;
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
}

.insideauto-sort-menu strong {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
}

.insideauto-sort-menu a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-top: 8px;
  border-radius: 8px;
  background: #f3f3f3;
  color: #181818;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.insideauto-sort-menu a.is-active {
  background: #111111;
  color: #ffffff;
}

.insideauto-filter-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.insideauto-filter-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
}

.insideauto-filter-drawer-panel {
  width: min(520px, 100vw);
  min-height: 100%;
  background: #ffffff;
  color: #111111;
  transform: translateX(-100%);
  transition: transform 0.22s ease;
  overflow: auto;
}

.insideauto-filter-drawer.is-open .insideauto-filter-drawer-panel {
  transform: translateX(0);
}

.insideauto-filter-drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px 22px;
  background: #ffffff;
  border-bottom: 1px solid #eeeeee;
}

.insideauto-filter-drawer-head button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.insideauto-filter-drawer-head strong {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.insideauto-filter-drawer-head a {
  color: #111111;
  font-size: 14px;
  font-weight: 600;
}

.insideauto-filter-form {
  display: grid;
  gap: 30px;
  padding: 28px 22px 96px;
}

.insideauto-filter-form section {
  display: grid;
  gap: 14px;
}

.insideauto-filter-form h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.2;
}

.insideauto-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insideauto-filter-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.insideauto-filter-options label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 8px;
  background: #f3f3f3;
  border: 1px solid transparent;
  color: #222222;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.insideauto-filter-options-tight label {
  min-width: 52px;
  padding: 0 14px;
}

.insideauto-filter-options input:checked + label {
  background: #111111;
  color: #ffffff;
}

.insideauto-filter-submit {
  position: sticky;
  bottom: 16px;
  min-height: 54px;
  border: 0;
  border-radius: 8px;
  background: #ed3237;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(237, 50, 55, 0.24);
}

.insideauto-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.insideauto-vehicle-card {
  min-width: 0;
}

.insideauto-vehicle-card-link {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 12px;
  min-height: 100%;
  padding: 18px 18px 16px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 34%, rgba(215, 229, 237, 0.95), rgba(96, 112, 122, 0.88) 30%, transparent 54%),
    linear-gradient(180deg, #101315 0%, #2e3a40 48%, #0d1011 100%);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.insideauto-vehicle-card-link:hover {
  border-color: #ed3237;
  transform: translateY(-2px);
}

.insideauto-vehicle-card-head h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.06;
  color: #ffffff;
  font-weight: 800;
}

.insideauto-vehicle-card-head h2 span {
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  color: rgba(255, 255, 255, 0.88);
}

.insideauto-vehicle-card-head p {
  margin: 7px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.insideauto-vehicle-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insideauto-vehicle-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 11px;
  font-weight: 400;
}

.insideauto-card-icon {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  opacity: 0.95;
}

.insideauto-card-icon-person::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.insideauto-card-icon-person::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 9px;
  height: 5px;
  border-radius: 8px 8px 2px 2px;
  background: currentColor;
}

.insideauto-card-icon-bag::before {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 2px;
  width: 9px;
  height: 7px;
  border-radius: 2px;
  border: 2px solid currentColor;
}

.insideauto-card-icon-bag::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 4px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
}

.insideauto-card-icon-gear::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px dotted currentColor;
  border-radius: 50%;
}

.insideauto-card-icon-gear::after {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.insideauto-vehicle-stage {
  min-height: 236px;
  display: grid;
  place-items: end center;
  margin: -6px -8px 0;
}

.insideauto-vehicle-stage img {
  width: 100%;
  max-height: 224px;
  object-fit: contain;
}

.insideauto-vehicle-included {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.insideauto-vehicle-included span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

.insideauto-vehicle-included span::before {
  content: "✓";
  color: #25c15f;
  font-weight: 900;
}

.insideauto-vehicle-equipment {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 10px;
  margin-top: -6px;
}

.insideauto-vehicle-equipment span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 11px;
  font-weight: 400;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insideauto-vehicle-equipment span::before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: #25c15f;
  color: #ffffff;
  font-size: 8px;
  line-height: 1;
}

.insideauto-vehicle-equipment-more {
  color: rgba(255, 255, 255, 0.56) !important;
  font-style: italic;
}

.insideauto-vehicle-equipment-more::before {
  content: "" !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}

.insideauto-vehicle-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding-top: 0;
  border-top: 0;
}

.insideauto-vehicle-price strong {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-size: 24px;
  line-height: 1;
  color: #ffffff;
  font-weight: 850;
}

.insideauto-vehicle-price strong small {
  font-size: 13px;
  color: #ffffff;
  font-weight: 750;
}

.insideauto-vehicle-price span {
  margin-left: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 400;
}

.insideauto-vehicle-action {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 40px;
  border-radius: 12px;
  background: #ed3237;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
}

.insideauto-empty-state {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
}

.insideauto-empty-state h2,
.insideauto-empty-state p {
  margin: 0;
}

.insideauto-empty-state p {
  margin-top: 8px;
  color: #666666;
}

.insideauto-checkout-page {
  padding: 28px 0 72px;
}

.insideauto-checkout-shell {
  width: min(calc(100% - 48px), 1280px);
  max-width: 100%;
  margin: 0 auto;
}

.insideauto-checkout-topbar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.insideauto-back-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #e1e1e1;
  color: #171717;
  font-size: 13px;
  font-weight: 500;
}

.insideauto-checkout-trip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insideauto-checkout-trip article {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #111111;
  color: #ffffff;
}

.insideauto-checkout-trip strong {
  font-size: 14px;
  font-weight: 600;
}

.insideauto-checkout-trip span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
}

.insideauto-alert {
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #f4c4c4;
  background: #fff1f1;
}

.insideauto-alert strong {
  display: block;
  margin-bottom: 8px;
}

.insideauto-alert-success {
  border-color: #cfe8d6;
  background: #f0fbf3;
}

.insideauto-alert ul {
  margin: 0;
  padding-left: 18px;
}

.insideauto-inline-error {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #f0b8b8;
  background: #fff3f3;
  color: #a02020;
  font-size: 13px;
  font-weight: 500;
}

.insideauto-field.is-invalid select,
.insideauto-field.is-invalid input,
.insideauto-field.is-invalid .insideauto-picker-trigger {
  border-color: #d53b3b;
  box-shadow: 0 0 0 3px rgba(213, 59, 59, 0.1);
}

.insideauto-selected-car {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 420px);
  gap: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.08);
}

.insideauto-selected-car-copy {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
}

.insideauto-selected-car-copy h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #101010;
  font-weight: 700;
}

.insideauto-selected-car-copy p {
  margin: -4px 0 0;
  font-size: 15px;
  color: #666666;
}

.insideauto-selected-car-badges,
.insideauto-selected-car-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.insideauto-selected-car-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid #dfdfdf;
  background: #fafafa;
  color: #202020;
  font-size: 12px;
  font-weight: 500;
}

.insideauto-selected-car-equipment {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #ececec;
  background: #fbfbfb;
}

.insideauto-selected-car-equipment-title {
  display: block;
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.insideauto-selected-car-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.insideauto-selected-car-equipment-grid span {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: #242424;
  overflow-wrap: anywhere;
}

.insideauto-selected-car-equipment-grid span::before {
  content: "✓";
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #25c15f;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
}

.insideauto-selected-car-specs article {
  display: grid;
  gap: 4px;
  min-width: 116px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #f6f6f6;
}

.insideauto-selected-car-specs strong {
  font-size: 15px;
  color: #111111;
  overflow-wrap: anywhere;
  font-weight: 600;
}

.insideauto-selected-car-specs span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #757575;
}

.insideauto-selected-car-stage {
  display: grid;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 70% 28%, rgba(230, 236, 241, 0.92), transparent 28%),
    linear-gradient(180deg, #191c1f 0%, #495662 50%, #111315 100%);
}

.insideauto-selected-car-stage img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
}

.insideauto-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
  margin-top: 24px;
}

.insideauto-checkout-main,
.insideauto-checkout-side {
  display: grid;
  gap: 18px;
}

.insideauto-panel,
.insideauto-booking-overview,
.insideauto-terms-strip article {
  background: #ffffff;
  border: 1px solid #e4e8ed;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.055);
}

.insideauto-panel {
  padding: 22px 24px;
}

.insideauto-panel-head {
  display: grid;
  gap: 4px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.insideauto-panel-head h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #111;
  font-weight: 700;
}

.insideauto-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.insideauto-field-span {
  grid-column: 1 / -1;
}

.insideauto-form-grid-single {
  grid-template-columns: minmax(0, 420px);
}

.insideauto-form-grid-period {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insideauto-addon-list {
  display: grid;
  gap: 12px;
}

.insideauto-addon-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 96px;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid #dddddd;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.insideauto-addon-row:hover {
  border-color: #cfcfcf;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.insideauto-addon-main {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}

.insideauto-addon-icon {
  position: relative;
  width: 24px;
  height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: #111111;
}

.insideauto-addon-icon::before,
.insideauto-addon-icon::after {
  content: "";
  position: absolute;
  background: #ffffff;
}

.insideauto-addon-icon::before {
  left: 6px;
  top: 11px;
  width: 12px;
  height: 2px;
  border-radius: 999px;
}

.insideauto-addon-icon::after {
  left: 11px;
  top: 6px;
  width: 2px;
  height: 12px;
  border-radius: 999px;
}

.insideauto-addon-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.insideauto-addon-copy strong {
  font-size: 16px;
  line-height: 1.15;
  color: #121212;
  font-weight: 600;
}

.insideauto-addon-copy span {
  color: #111111;
  font-size: 13px;
  font-weight: 600;
}

.insideauto-addon-copy p {
  margin: 0;
  color: #666666;
  font-size: 12px;
  line-height: 1.35;
  max-width: 48ch;
}

.insideauto-addon-meta a,
.insideauto-addon-details summary {
  color: #171717;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  list-style: none;
}

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

.insideauto-addon-details {
  position: relative;
}

.insideauto-addon-details p {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  width: min(240px, 70vw);
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  background: #ffffff;
  color: #555555;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.insideauto-addon-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: end;
  min-width: 150px;
}

.insideauto-addon-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.insideauto-addon-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.insideauto-addon-switch {
  position: relative;
  width: 54px;
  height: 32px;
  flex: 0 0 54px;
  border-radius: 999px;
  background: #d7d9db;
  transition: background 0.18s ease;
}

.insideauto-addon-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  transition: transform 0.18s ease;
}

.insideauto-addon-toggle input:checked + .insideauto-addon-switch {
  background: #ed3237;
}

.insideauto-addon-toggle input:checked + .insideauto-addon-switch::after {
  transform: translateX(22px);
}

.insideauto-addon-toggle em {
  font-style: normal;
  font-size: 11px;
  color: #686868;
}

.insideauto-addon-toggle.is-required em {
  font-weight: 700;
  color: #ed3237;
}

.insideauto-booking-overview {
  position: sticky;
  top: 16px;
  padding: 20px;
  overflow: hidden;
}

.insideauto-booking-price {
  display: grid;
  gap: 0;
  margin-top: 8px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e8ed;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.insideauto-booking-price > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 18px 20px 16px;
  background: #f7f8fa;
  border-bottom: 1px solid #e4e8ed;
}

.insideauto-booking-price span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #888;
}

.insideauto-booking-price strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #111111;
  font-weight: 800;
}

.insideauto-booking-price button {
  width: 100%;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  background: #ed3237;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 180ms ease;
}

.insideauto-booking-price button:hover {
  background: #c8282c;
}

.insideauto-booking-details {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.insideauto-booking-details h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.insideauto-booking-details ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insideauto-booking-details li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eeeeee;
}

.insideauto-booking-details li span {
  color: #555555;
  font-size: 13px;
}

.insideauto-booking-details li strong {
  color: #121212;
  font-size: 14px;
  text-align: right;
  font-weight: 600;
}

.insideauto-booking-info {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: #f3f3f3;
}

.insideauto-booking-info p {
  margin: 0;
  color: #4f4f4f;
  font-size: 13px;
  line-height: 1.45;
}

/* ── Dashboard revenue chart ── */
.fc-dash-chart-panel {
  padding: 20px 20px 16px;
}

.fc-dash-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 180px;
  padding-top: 28px;
  margin-top: 12px;
  border-bottom: 2px solid #e8edf2;
}

.fc-dash-bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.fc-dash-bar-val {
  font-size: 9px;
  color: #5a7080;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  max-width: 100%;
  text-overflow: ellipsis;
}

.fc-dash-bar-wrap {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.fc-dash-bar {
  width: 100%;
  min-height: 2px;
  background: linear-gradient(180deg, #0fb8b0 0%, #0a8f89 100%);
  border-radius: 4px 4px 0 0;
  transition: opacity 0.15s;
}

.fc-dash-bar:hover {
  opacity: 0.8;
}

.fc-dash-bar-label {
  font-size: 9px;
  color: #8a9bac;
  text-align: center;
  margin-top: 6px;
  white-space: nowrap;
}

/* ── Vehicle profit table ── */
.fc-profit-table {
  width: 100%;
  table-layout: auto;
}

.fc-profit-table thead th {
  background: #f8fafc;
  color: #6b7a8a;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 8px;
  border-bottom: 1px solid #e4eaf0;
  text-align: center;
}

.fc-profit-table tbody tr:hover td {
  background: #f5f8fb;
}

.fc-profit-table tbody td {
  border-bottom: 1px solid #edf0f4;
  font-size: 13px;
  color: #1a2533;
}

/* ── Waitlist / interest section ── */
.insideauto-waitlist-section {
  background: #f8fafc;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  padding: 28px 28px 24px;
  margin-top: 22px;
}

.insideauto-waitlist-copy {
  margin-bottom: 20px;
}

.insideauto-waitlist-copy h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
}

.insideauto-waitlist-copy p {
  margin: 0;
  color: #5a6a7a;
  font-size: 14px;
}

.insideauto-waitlist-form .insideauto-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.insideauto-waitlist-form .insideauto-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 700px) {
  .insideauto-waitlist-form .insideauto-form-grid {
    grid-template-columns: 1fr;
  }
}

.insideauto-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 14px 16px;
  color: #166534;
}

.insideauto-alert-success strong {
  display: block;
  margin-bottom: 4px;
}

/* ── Terms strip ── */
.insideauto-terms-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.insideauto-terms-strip article {
  padding: 18px;
}

.insideauto-terms-strip h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.05;
  font-weight: 700;
}

.insideauto-terms-strip p {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.5;
}

.insideauto-review-title {
  display: grid;
  gap: 4px;
}

.insideauto-review-title h1 {
  margin: 0;
  color: #111111;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  font-weight: 700;
}

.insideauto-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 24px;
  align-items: start;
}

.insideauto-review-main {
  display: grid;
  gap: 18px;
}

.insideauto-review-side {
  display: grid;
  gap: 18px;
}

.insideauto-review-car {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e6e6e6;
}

.insideauto-review-car img {
  width: 86px;
  height: 58px;
  object-fit: contain;
  border-radius: 10px;
  background:
    radial-gradient(circle at 70% 28%, rgba(230, 236, 241, 0.92), transparent 30%),
    linear-gradient(180deg, #191c1f 0%, #495662 55%, #111315 100%);
}

.insideauto-review-car strong {
  display: block;
  color: #111111;
  font-size: 17px;
  font-weight: 700;
}

.insideauto-review-car span {
  display: block;
  margin-top: 3px;
  color: #666666;
  font-size: 13px;
}

.insideauto-reservation-layout {
  margin-top: 24px;
}

.insideauto-reservation-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.insideauto-reservation-facts article,
.insideauto-reservation-timeline article {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border-radius: 14px;
  background: #f6f6f6;
}

.insideauto-reservation-facts span,
.insideauto-reservation-timeline span {
  color: #727272;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insideauto-reservation-facts strong,
.insideauto-reservation-timeline strong {
  color: #111111;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.insideauto-reservation-timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.insideauto-reservation-timeline p,
.insideauto-reservation-note {
  margin: 0;
  color: #5f5f5f;
  font-size: 13px;
  line-height: 1.45;
}

.insideauto-reservation-extras {
  display: grid;
  gap: 10px;
}

.insideauto-reservation-extras article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e3e3e3;
  background: #ffffff;
}

.insideauto-reservation-extras strong {
  display: block;
  color: #111111;
  font-size: 14px;
  font-weight: 600;
}

.insideauto-reservation-extras span {
  display: block;
  margin-top: 3px;
  color: #666666;
  font-size: 12px;
}

.insideauto-reservation-extras em {
  color: #111111;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.insideauto-reservation-notes-head {
  margin-top: 18px;
}

.insideauto-pay-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 132px;
  padding: 0 16px;
  border-radius: 12px;
  background: #ed3237;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .admin-two-column,
  .insideauto-card-grid,
  .insideauto-checkout-layout,
  .insideauto-review-layout,
  .insideauto-selected-car,
  .insideauto-terms-strip {
    grid-template-columns: 1fr;
  }

  .insideauto-searchbar-grid,
  .insideauto-form-grid-period {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insideauto-search-cta {
    grid-column: 1 / -1;
  }

  .insideauto-searchbar-top,
  .insideauto-searchbar-summary {
    grid-template-columns: 1fr;
  }

  .insideauto-calendar-grid {
    grid-template-columns: 1fr;
  }

  .insideauto-booking-overview {
    position: static;
  }
}

@media (max-width: 760px) {
  html,
  body.rental-vertical-page {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  body.rental-vertical-page {
    position: relative;
  }

  .drive-vehicle-page * {
    min-width: 0;
  }

  .drive-vehicle-page .drive-topbar,
  .drive-home-page .drive-topbar {
    width: 100vw;
    max-width: 100vw;
  }

  .drive-brand-logo {
    width: 160px !important;
    max-width: 52vw;
    height: auto !important;
  }

  .insideauto-shell,
  .insideauto-checkout-shell {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .drive-topbar-inner {
    width: calc(100vw - 32px);
    max-width: calc(100vw - 32px);
    min-width: 0;
    min-height: 62px;
  }

  /* Hide desktop nav, show hamburger */
  .drive-nav { display: none; }
  .drive-topbar-inner { position: relative; }
  .drive-nav-toggle {
    display: flex;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    margin-left: 0;
  }

  .insideauto-searchbar-top,
  .insideauto-searchbar-summary,
  .insideauto-searchbar-grid,
  .insideauto-review-layout,
  .insideauto-form-grid,
  .insideauto-form-grid-period,
  .insideauto-reservation-facts,
  .insideauto-reservation-timeline,
  .insideauto-checkout-trip {
    grid-template-columns: 1fr;
  }

  .insideauto-search-cta {
    grid-column: 1 / -1;
  }

  .insideauto-results-header h1,
  .insideauto-selected-car-copy h1 {
    font-size: 30px;
  }

  .insideauto-checkout-page {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .insideauto-checkout-topbar,
  .insideauto-checkout-trip,
  .insideauto-checkout-layout,
  .insideauto-review-layout,
  .insideauto-terms-strip,
  .insideauto-selected-car {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .drive-vehicle-page .insideauto-checkout-page {
    padding: 14px 0 42px;
  }

  .drive-vehicle-page .insideauto-checkout-topbar {
    margin-bottom: 10px;
  }

  .drive-vehicle-page .insideauto-checkout-trip {
    display: none;
  }

  .drive-vehicle-page .insideauto-back-link {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .drive-vehicle-page .insideauto-selected-car {
    border-radius: 16px;
  }

  .drive-vehicle-page .insideauto-selected-car-copy {
    gap: 10px;
  }

  .drive-vehicle-page .insideauto-selected-car-copy h1 {
    font-size: 24px;
    line-height: 1.02;
  }

  .drive-vehicle-page .insideauto-selected-car-copy p {
    font-size: 13px;
  }

  .drive-vehicle-page .insideauto-selected-car-badges,
  .drive-vehicle-page .insideauto-selected-car-specs {
    gap: 8px;
  }

  .drive-vehicle-page .insideauto-selected-car-badges span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .drive-vehicle-page .insideauto-selected-car-specs article {
    flex: 1 1 calc(50% - 8px);
    padding: 9px 10px;
    border-radius: 10px;
  }

  .drive-vehicle-page .insideauto-selected-car-equipment {
    padding: 13px 14px;
  }

  .drive-vehicle-page .insideauto-selected-car-equipment-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .drive-vehicle-page .insideauto-selected-car-specs strong {
    font-size: 13px;
  }

  .drive-vehicle-page .insideauto-selected-car-specs span {
    font-size: 9px;
  }

  .drive-vehicle-page .insideauto-selected-car-stage {
    min-height: 176px;
    padding: 16px;
  }

  .drive-vehicle-page .insideauto-selected-car-stage img {
    max-height: 180px;
  }

  .drive-vehicle-page .insideauto-checkout-layout {
    gap: 12px;
    margin-top: 14px;
  }

  .drive-vehicle-page .insideauto-checkout-main,
  .drive-vehicle-page .insideauto-checkout-side {
    gap: 12px;
  }

  .drive-vehicle-page .insideauto-panel,
  .drive-vehicle-page .insideauto-booking-overview {
    border-radius: 16px;
  }

  .drive-vehicle-page .insideauto-panel-head h2 {
    font-size: 18px;
  }

  .insideauto-selected-car-copy,
  .insideauto-selected-car-stage,
  .insideauto-panel,
  .insideauto-booking-overview,
  .insideauto-terms-strip article {
    padding: 18px;
  }

  .insideauto-offerlist-hero {
    padding: 8px 0;
  }

  .insideauto-searchbar {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .insideauto-searchbar-expanded {
    display: none;
  }

  .insideauto-searchbar.is-expanded {
    position: fixed;
    inset: 0;
    z-index: 300;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    padding: 12px 12px 56px;
    background: #111111;
    align-content: start;
  }

  .insideauto-searchbar.is-expanded .insideauto-searchbar-expanded {
    display: grid;
    gap: 10px;
    margin-top: 10px;
    padding: 12px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  }

  body.drive-search-open {
    overflow: hidden;
  }

  .insideauto-searchbar.is-expanded .insideauto-picker-popover {
    z-index: 310;
  }

  body.drive-search-open.drive-picker-open::before {
    display: none;
  }

  .insideauto-mobile-search-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 0 16px;
    border: 1px solid #e2e2e2;
    border-radius: 18px;
    background: #ffffff;
    color: #111111;
    text-align: left;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
  }

  .insideauto-mobile-search-icon {
    flex: 0 0 auto;
    position: relative;
    width: 24px;
    height: 24px;
    font-size: 0;
    line-height: 1;
  }

  .insideauto-mobile-search-icon::before,
  .insideauto-mobile-search-icon::after {
    content: "";
    position: absolute;
    display: block;
  }

  .insideauto-mobile-search-icon::before {
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border: 3px solid #111111;
    border-radius: 50%;
  }

  .insideauto-mobile-search-icon::after {
    right: 3px;
    bottom: 4px;
    width: 10px;
    height: 3px;
    border-radius: 999px;
    background: #111111;
    transform: rotate(45deg);
    transform-origin: center;
  }

  .insideauto-mobile-search-copy {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .insideauto-mobile-search-copy strong {
    overflow: hidden;
    color: #111111;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .insideauto-mobile-search-copy small {
    color: #6a6a6a;
    font-size: 12px;
    font-weight: 400;
  }

  .insideauto-picker-popover {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0 !important;
    right: 0;
    width: 100% !important;
    max-height: 78vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 20px 20px 0 0;
    transform: none !important;
    z-index: 200;
  }

  .insideauto-time-popover {
    width: 100%;
  }

  body.drive-picker-open::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 199;
  }

  body.drive-picker-open {
    overflow: hidden;
  }

  .insideauto-addon-row,
  .insideauto-addon-main,
  .insideauto-booking-price,
  .insideauto-checkout-topbar {
    grid-template-columns: 1fr;
    display: grid;
  }

  .insideauto-addon-row {
    gap: 12px;
    min-height: 0;
    padding: 14px;
  }

  .insideauto-selected-car-badges span,
  .insideauto-selected-car-specs article {
    min-width: 0;
    max-width: 100%;
  }

  .insideauto-selected-car-stage img {
    max-width: 100%;
  }

  .insideauto-addon-main {
    grid-template-columns: 28px minmax(0, 1fr);
  }

  .insideauto-addon-meta {
    width: 100%;
    justify-content: space-between;
    min-width: 0;
  }

  .insideauto-booking-price button {
    width: 100%;
    min-width: 0;
  }

  .insideauto-contact-shell {
    width: min(calc(100% - 24px), 1120px);
  }

  .insideauto-contact-grid {
    grid-template-columns: 1fr;
  }

  .insideauto-chat {
    right: 8px;
    bottom: 76px;
    width: calc(100vw - 16px);
  }

  .insideauto-chat-body {
    min-height: 260px;
  }

  .insideauto-chat-form {
    grid-template-columns: 1fr 44px;
  }

  .insideauto-chat-form input,
  .insideauto-chat-form textarea {
    grid-column: 1;
  }

  .insideauto-chat-form button {
    grid-column: 2;
    grid-row: 1 / 4;
  }
}

.rental-vertical-page :is(h1, h2, h3, h4, strong, b, button, .insideauto-results-kicker, .insideauto-filter-chip, .insideauto-vehicle-card-head h2, .insideauto-vehicle-price strong) {
  font-weight: 500;
}

.rental-vertical-page :is(.insideauto-selected-car-specs strong, .insideauto-booking-price strong, .insideauto-panel-head h2, .insideauto-results-header h1) {
  font-weight: 500;
}

.insideauto-checkout-same-dropoff {
  width: fit-content;
  margin: -4px 0 14px;
}

/* --- Coupon & Agreement panel overrides (smaller, less prominent) --- */
.insideauto-coupon-panel,
.insideauto-agreement-panel {
  padding: 16px 18px;
}

.insideauto-coupon-panel .insideauto-panel-head,
.insideauto-agreement-panel .insideauto-panel-head {
  margin-bottom: 12px;
  gap: 3px;
}

.insideauto-coupon-panel .insideauto-panel-head h2,
.insideauto-agreement-panel .insideauto-panel-head h2 {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0;
  color: #2a2a2a;
}

.insideauto-coupon-panel .insideauto-results-kicker,
.insideauto-agreement-panel .insideauto-results-kicker {
  font-size: 9px;
  letter-spacing: 0.07em;
}

/* --- Coupon code --- */
.insideauto-coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 8px;
  row-gap: 0;
  align-items: end;
}

.insideauto-coupon-label {
  grid-column: 1 / -1;
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #666666;
  margin-bottom: 6px;
}

.insideauto-coupon-input {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d6d6d6;
  border-radius: 12px;
  background: #ffffff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111111;
  box-sizing: border-box;
}

.insideauto-coupon-input::placeholder {
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: #b8b8b8;
  font-size: 13px;
}

.insideauto-coupon-input:focus {
  outline: none;
  border-color: #999999;
}

.insideauto-coupon-apply-btn {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  background: #111111 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 12px;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
  box-sizing: border-box;
}

.insideauto-coupon-apply-btn:hover {
  background: #333333 !important;
}

.insideauto-coupon-apply-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.insideauto-coupon-msg {
  grid-column: 1 / -1;
  grid-row: 2;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 7px;
}

.insideauto-coupon-msg-ok  { color: #1a7a3c; }
.insideauto-coupon-msg-error { color: #cc1f1f; }

.insideauto-discount-value { color: #1a7a3c; }

/* --- Rental agreement --- */
.insideauto-agreement-text {
  max-height: 200px;
  overflow-y: auto;
  padding: 12px 14px;
  background: #f7f7f7;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.7;
  color: #555555;
  white-space: pre-wrap;
  margin-bottom: 12px;
}

.insideauto-agreement-placeholder {
  padding: 4px 0 10px;
}

.insideauto-agreement-placeholder .note {
  font-size: 12px;
  color: #999999;
}

.insideauto-agreement-check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 12px 0 10px;
  border-radius: 12px;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  font-size: 12px;
  font-weight: 400;
  color: #444444;
  cursor: pointer;
  user-select: none;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s;
  line-height: 1.35;
}

.insideauto-agreement-check:hover {
  border-color: #bbbbbb;
}

.insideauto-agreement-check input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.insideauto-agreement-switch {
  position: relative;
  flex-shrink: 0;
  width: 34px;
  height: 20px;
  border-radius: 999px;
  background: #d8d8d8;
  transition: background 0.2s ease;
}

.insideauto-agreement-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease;
}

.insideauto-agreement-check input:checked + .insideauto-agreement-switch {
  background: #ed3237;
}

.insideauto-agreement-check input:checked + .insideauto-agreement-switch::after {
  transform: translateX(14px);
}

.insideauto-agreement-check.is-error {
  border-color: #cc1f1f;
  background: #fff5f5;
}

.insideauto-field-error {
  font-size: 11px;
  font-weight: 500;
  color: #cc1f1f;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════════════
   ADMIN REDESIGN — modern dark sidebar + clean rounded cards (v2)
   Targets .admin-page, .partner-page (sidebar variant) only.
   Does NOT touch public-facing or drive (rent-a-car public) styles.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Global admin background ───────────────────────────────────────── */
body.admin-page {
  background: #eef0f4;
}

/* ── Admin shell spacing ───────────────────────────────────────────── */
.admin-page .admin-shell {
  padding: 28px 0 72px;
  gap: 24px;
}

/* ── Sidebar ───────────────────────────────────────────────────────── */
.admin-page .admin-sidebar-panel {
  border-radius: 20px;
  top: 28px;
  padding: 22px 14px 18px;
  min-height: calc(100vh - 140px);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: linear-gradient(168deg, #1c2b3a 0%, #101922 100%);
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow:
    0 4px 6px rgba(0,0,0,0.06),
    0 12px 40px rgba(5, 12, 22, 0.30),
    inset 0 1px 0 rgba(255,255,255,0.06);
  gap: 20px;
}

.admin-page .admin-sidebar-panel > div:first-child {
  padding: 6px 10px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 3px;
}

.admin-page .admin-sidebar-panel h1 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #f4f7fa;
  margin-bottom: 0;
}

.admin-page .admin-sidebar-panel .section-kicker {
  font-size: 9px;
  letter-spacing: 0.15em;
  color: #4d8fa8;
  margin-bottom: 4px;
}

.admin-page .admin-sidebar-panel .note {
  font-size: 11.5px;
  color: #6e8899;
}

/* Nav items */
.admin-page .admin-side-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.admin-page .admin-side-nav a {
  border-radius: 11px;
  min-height: 42px;
  width: 100%;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: #b0c2cf;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: color 0.13s, background 0.13s, border-color 0.13s, box-shadow 0.13s;
}

.admin-page .admin-side-nav a:hover {
  color: #e8f0f5;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
}

.admin-page .admin-side-nav a.active {
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, #0d9e97 0%, #0a6b79 100%);
  border-color: rgba(255,255,255,0.1);
  box-shadow: 0 3px 12px rgba(13, 158, 151, 0.38), inset 0 1px 0 rgba(255,255,255,0.12);
}

.admin-page .admin-sidebar-panel .sidebar-logout {
  border-radius: 11px;
  min-height: 40px;
  font-size: 13px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.1);
  color: #a0b4c2;
  transition: background 0.13s, border-color 0.13s, color 0.13s;
}

.admin-page .admin-sidebar-panel .sidebar-logout:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  color: #d8e6ef;
}

/* ── Main area ─────────────────────────────────────────────────────── */
.admin-page .admin-main {
  gap: 18px;
}

/* ── Titlebar ──────────────────────────────────────────────────────── */
.admin-page .admin-titlebar {
  padding: 2px 0 10px;
  border-bottom: none;
}

.admin-page .admin-titlebar h1 {
  font-size: 26px;
  font-weight: 800;
  color: #1a2736;
  letter-spacing: -0.5px;
  margin-bottom: 2px;
}

.admin-page .admin-titlebar .section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #0d9e97;
  margin-bottom: 4px;
}

.admin-page .admin-titlebar .link-button {
  background: #fff;
  border-color: #d0d9e2;
  color: #354454;
  border-radius: 10px;
}

/* ── Stat cards ────────────────────────────────────────────────────── */
.admin-page .stat-grid article {
  border-radius: 16px;
  padding: 18px 16px 16px;
  background: #fff;
  border: 1px solid #e4e9ef;
  box-shadow: 0 1px 3px rgba(10,20,34,0.05), 0 4px 12px rgba(10,20,34,0.05);
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.15s;
}

.admin-page .stat-grid article:hover {
  box-shadow: 0 2px 6px rgba(10,20,34,0.07), 0 8px 20px rgba(10,20,34,0.08);
}

.admin-page .stat-grid article::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 16px 16px 0 0;
}

.admin-page .stat-grid article:nth-child(5n+1)::before { background: linear-gradient(90deg,#0d9e97,#0a6b79); }
.admin-page .stat-grid article:nth-child(5n+2)::before { background: linear-gradient(90deg,#3b82f6,#1d5bbf); }
.admin-page .stat-grid article:nth-child(5n+3)::before { background: linear-gradient(90deg,#8b5cf6,#5b21b6); }
.admin-page .stat-grid article:nth-child(5n+4)::before { background: linear-gradient(90deg,#f59e0b,#b45309); }
.admin-page .stat-grid article:nth-child(5n+5)::before { background: linear-gradient(90deg,#10b981,#047857); }

.admin-page .stat-grid span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8a9bac;
  margin-bottom: 10px;
}

.admin-page .stat-grid strong {
  font-size: 24px;
  font-weight: 800;
  color: #1a2736;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

/* ── Panels ────────────────────────────────────────────────────────── */
.admin-page .panel {
  border-radius: 16px;
  border: 1px solid #e4e9ef;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10,20,34,0.04), 0 4px 12px rgba(10,20,34,0.04);
  padding: 22px 22px 24px;
}

.admin-page .panel-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0f3f7;
}

.admin-page .panel-head h2 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2736;
  letter-spacing: -0.2px;
  margin: 0;
}

.admin-page .section-kicker {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  color: #0d9e97;
}

/* ── Primary & link buttons ────────────────────────────────────────── */
.admin-page .primary-button {
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.01em;
  background: linear-gradient(135deg, #0d9e97 0%, #0a6b79 100%);
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(13,158,151,0.28), inset 0 1px 0 rgba(255,255,255,0.14);
  transition: transform 0.12s, box-shadow 0.12s, filter 0.12s;
}

.admin-page .primary-button:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(13,158,151,0.38);
}

.admin-page .primary-button:active {
  transform: translateY(0);
  filter: brightness(0.97);
}

.admin-page .link-button {
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  background: #fff;
  border-color: #d0d9e2;
  color: #354454;
  transition: background 0.12s, border-color 0.12s;
}

.admin-page .link-button:hover {
  background: #f5f8fc;
  border-color: #b0bfcc;
}

.admin-page .danger-button {
  border-radius: 10px;
  font-weight: 500;
  font-size: 13px;
  min-height: 42px;
  padding: 0 14px;
  color: #b91c1c;
  background: #fff;
  border-color: rgba(185, 28, 28, 0.25);
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.admin-page .danger-button:hover {
  background: #fff1f1;
  border-color: rgba(185, 28, 28, 0.5);
  color: #991b1b;
}

/* Danger button (used inline via style="background:#dc2626") — add radius via specificity */
.admin-page button[style*="background:#dc2626"],
.admin-page button[style*="background: #dc2626"] {
  border-radius: 10px;
}

/* ── Inputs & selects ──────────────────────────────────────────────── */
.admin-page input,
.admin-page select,
.admin-page textarea {
  border-radius: 9px;
  border-color: #d0d9e2;
  background: #f8fafc;
  transition: border-color 0.14s, box-shadow 0.14s, background 0.14s;
}

.admin-page input:focus,
.admin-page select:focus,
.admin-page textarea:focus {
  border-color: #0d9e97;
  box-shadow: 0 0 0 3px rgba(13,158,151,0.14);
  background: #fff;
  outline: none;
}

/* ── Filter bars ───────────────────────────────────────────────────── */
.admin-page .offers-filter-bar,
.admin-page .admin-orders-filter-bar,
.admin-page .manifest-filter-bar {
  border-radius: 13px;
  border-color: #e4e9ef;
  background: linear-gradient(180deg, #fafcfd 0%, #f3f6f9 100%);
  box-shadow: 0 1px 3px rgba(10,20,34,0.04);
  padding: 16px;
}

/* ── Row cards in lists ────────────────────────────────────────────── */
.admin-page .order-admin-row,
.admin-page .offer-admin-row {
  border-radius: 13px;
  border: 1px solid #e4e9ef;
  background: #fff;
  box-shadow: 0 1px 3px rgba(10,20,34,0.04), 0 2px 8px rgba(10,20,34,0.04);
  transition: box-shadow 0.14s, border-color 0.14s;
}

.admin-page .order-admin-row:hover,
.admin-page .offer-admin-row:hover {
  border-color: #c6d2de;
  box-shadow: 0 2px 8px rgba(10,20,34,0.07), 0 8px 24px rgba(10,20,34,0.07);
}

.admin-page .offer-admin-row > img {
  border-radius: 9px;
}

/* ── Meta / codes chips ────────────────────────────────────────────── */
.admin-page .order-admin-meta span,
.admin-page .order-admin-codes span,
.admin-page .offer-admin-meta span {
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  background: #f0f4f8;
  border-color: #dde5ec;
  color: #3e5164;
}

/* ── Status pills (redesign — more vivid, fully rounded) ───────────── */
.status-pill {
  border-radius: 20px;
  border: 1px solid transparent;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* Rental-specific statuses */
.status-pill.pending {
  color: #92520d;
  background: #fff3dc;
  border-color: #f5d9a0;
}

.status-pill.confirmed {
  color: #0a6040;
  background: #d1fae5;
  border-color: #6ee7b7;
}

.status-pill.completed {
  color: #1e3a5f;
  background: #dbeafe;
  border-color: #93c5fd;
}

.status-pill.no_show {
  color: #7c3830;
  background: #fee2e2;
  border-color: #fca5a5;
}

.status-pill.cancelled,
.status-pill.refunded {
  color: #7c3830;
  background: #fee2e2;
  border-color: #fca5a5;
}

.status-pill.paid {
  color: #0a6040;
  background: #d1fae5;
  border-color: #6ee7b7;
}

.status-pill.active {
  color: #0a5a6e;
  background: #e0f2fe;
  border-color: #7dd3fc;
}

.status-pill.paused,
.status-pill.pending_payment {
  color: #92520d;
  background: #fff3dc;
  border-color: #f5d9a0;
}

/* ── Payment grid ──────────────────────────────────────────────────── */
.admin-page .order-payment-grid article {
  border-radius: 10px;
  border-color: #e4e9ef;
  background: #f7f9fc;
}

/* ── Form error panel ──────────────────────────────────────────────── */
.admin-page .form-error-panel {
  border-radius: 12px;
}

/* ── Editor sections (vehicle create / edit) ───────────────────────── */
.admin-page .editor-section-head span {
  border-radius: 9px;
  width: 30px;
  height: 30px;
}

.admin-page .gallery-admin-grid article {
  border-radius: 12px;
  border-color: #e4e9ef;
  background: #fafcfd;
}

/* ── Weekday picker ────────────────────────────────────────────────── */
.admin-page .weekday-picker label {
  border-radius: 10px;
  border-color: #dde5ec;
}

.admin-page .weekday-picker label:has(input:checked) {
  border-color: #0d9e97;
  background: linear-gradient(180deg, #e6f7f7 0%, #d8f2f1 100%);
  box-shadow: inset 0 0 0 1px #0d9e97;
}

/* ── Time presets ──────────────────────────────────────────────────── */
.admin-page .time-presets button {
  border-radius: 7px;
}

.admin-page .time-presets button.active,
.admin-page .time-presets button:hover {
  border-color: #0d9e97;
  color: #0d9e97;
  background: #e6f7f7;
}

/* ── Sticky form actions ───────────────────────────────────────────── */
.admin-page .sticky-form-actions {
  border-top-color: #e4e9ef;
  background: #f5f8fb;
  border-radius: 0 0 16px 16px;
}

/* ── Admin detail stats ────────────────────────────────────────────── */
.admin-page .order-payment-panel {
  margin-top: 0;
}

/* ── Booking service rows ──────────────────────────────────────────── */
.admin-page .booking-service-row {
  border-radius: 10px;
  border-color: #e4e9ef;
}

/* ── Reservation cards ─────────────────────────────────────────────── */
.admin-page .reservation-card {
  border-radius: 12px;
  border-color: #e4e9ef;
  background: #fff;
}

/* ── Table actions bar ─────────────────────────────────────────────── */
.admin-page .table-actions {
  gap: 8px;
}

/* ── Activity log pill ─────────────────────────────────────────────── */
.activity-log-item .status-pill {
  border-radius: 20px;
}

/* ── Fleet calendar cells ──────────────────────────────────────────── */
.admin-page .fleet-cell-booked { border-radius: 4px; }
.admin-page .fleet-cell-pending { border-radius: 4px; }
.admin-page .fleet-cell-blackout { border-radius: 4px; }

/* ── Two-column gap ────────────────────────────────────────────────── */
.admin-page .admin-two-column {
  gap: 18px;
}

/* Dashboard recent activity: compact rows with plain metadata. */
.admin-page .dashboard-recent-panel {
  padding-bottom: 8px;
}

.admin-page .dashboard-recent-list {
  gap: 0;
  border-top: 1px solid #e5eaf0;
}

.admin-page .dashboard-recent-row,
.admin-page .dashboard-recent-row:hover {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 15px 2px;
  border: 0;
  border-bottom: 1px solid #e5eaf0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.admin-page .dashboard-recent-row:hover {
  background: #f7f9fb;
}

.admin-page .dashboard-recent-titleline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 5px;
}

.admin-page .dashboard-recent-titleline .section-kicker,
.admin-page .dashboard-recent-titleline h2 {
  margin: 0;
}

.admin-page .dashboard-recent-titleline .status-pill {
  min-height: 0;
  padding: 2px 0 2px 7px;
  border: 0;
  border-left: 2px solid currentColor;
  border-radius: 0;
  background: transparent;
  line-height: 1.2;
}

.admin-page .dashboard-recent-row .order-admin-meta,
.admin-page .dashboard-recent-row .offer-admin-meta {
  gap: 0;
  color: #526171;
}

.admin-page .dashboard-recent-row .order-admin-meta span,
.admin-page .dashboard-recent-row .offer-admin-meta span {
  min-height: 0;
  padding: 0 9px;
  border: 0;
  border-right: 1px solid #d7dfe7;
  border-radius: 0;
  background: transparent;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
}

.admin-page .dashboard-recent-row .order-admin-meta span:first-child,
.admin-page .dashboard-recent-row .offer-admin-meta span:first-child {
  padding-left: 0;
}

.admin-page .dashboard-recent-row .order-admin-meta span:last-child,
.admin-page .dashboard-recent-row .offer-admin-meta span:last-child {
  border-right: 0;
}

.admin-page .dashboard-vehicle-row {
  grid-template-columns: 72px minmax(0, 1fr) auto;
}

.admin-page .dashboard-vehicle-row > img {
  width: 72px;
  height: 54px;
  border-radius: 3px;
}

@media (max-width: 640px) {
  .admin-page .dashboard-recent-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .admin-page .dashboard-vehicle-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-page .dashboard-vehicle-row > img {
    width: 64px;
    height: 48px;
  }

  .admin-page .dashboard-vehicle-row .offer-admin-actions {
    grid-column: 1 / -1;
  }

  .admin-page .dashboard-recent-row .order-admin-actions,
  .admin-page .dashboard-recent-row .offer-admin-actions {
    justify-content: flex-start;
  }
}

/* ── Note text ─────────────────────────────────────────────────────── */
.admin-page .note {
  color: #7a8fa0;
  font-size: 12.5px;
}

/* ── Admin h2 ──────────────────────────────────────────────────────── */
.admin-page h2 {
  color: #1a2736;
}

/* ── Segmented control ─────────────────────────────────────────────── */
.admin-page .segmented-control {
  border-radius: 10px;
  border-color: #dde5ec;
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE HAMBURGER SIDEBAR
   ═══════════════════════════════════════════════════════════════════════ */

.admin-mobile-topbar {
  display: none;
}

.admin-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 34, 0.48);
  backdrop-filter: blur(3px);
  z-index: 119;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.admin-sidebar-backdrop.is-visible {
  opacity: 1;
}

.topbar-hamburger {
  display: none;
  flex-shrink: 0;
}

@media (max-width: 860px) {
  .topbar-hamburger {
    display: flex;
    margin-left: 12px;
  }

  /* Keep admin/partner topbar as a single flex row on small screens */
  .admin-page .topbar-inner,
  .partner-page .topbar-inner {
    display: flex;
    flex-wrap: nowrap;
    padding: 0;
  }

  .admin-page .topbar-inner .nav,
  .partner-page .topbar-inner .nav {
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 8px;
  }
}

/* Rental admin list: quiet, column-based reservation rows. */
.admin-page .rentals-titlebar {
  align-items: flex-end;
}

.admin-page .rentals-title-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.admin-page .rentals-filter-panel,
.admin-page .rentals-export-panel {
  padding: 18px 20px;
  border: 1px solid #dfe5ea;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(15, 26, 34, 0.045);
}

.admin-page .rentals-tool-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid #e7ebef;
}

.admin-page .rentals-tool-head .section-kicker { margin-bottom: 3px; }
.admin-page .rentals-tool-head h2 { margin: 0; font-size: 18px; }

.admin-page .rentals-reset-link {
  color: #667786;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.admin-page .rentals-filter-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) minmax(210px, 1.2fr) minmax(145px, .8fr) minmax(155px, .85fr) auto;
  gap: 12px;
  align-items: end;
}

.admin-page .rentals-filter-grid label,
.admin-page .rentals-export-panel label {
  min-width: 0;
}

.admin-page .rentals-filter-grid input,
.admin-page .rentals-filter-grid select,
.admin-page .rentals-export-panel input,
.admin-page .rentals-export-panel select {
  width: 100%;
}

.admin-page .rentals-export-panel {
  padding-top: 14px;
  padding-bottom: 14px;
  background: #f8fafb;
}

.admin-page .rentals-export-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 13px;
  padding-bottom: 11px;
  border-bottom: 1px solid #e1e7eb;
}

.admin-page .rentals-export-head .section-kicker { margin: 0 0 2px; }
.admin-page .rentals-export-head h2 { margin: 0; color: #23313e; font-size: 16px; }
.admin-page .rentals-export-head > span { color: #71808e; font-size: 11px; }

.admin-page .rentals-export-grid {
  display: grid;
  grid-template-columns: minmax(155px, .85fr) minmax(155px, .85fr) minmax(220px, 1.25fr) minmax(145px, .75fr) minmax(155px, .8fr) 126px;
  gap: 12px;
  align-items: end;
}

.admin-page .rentals-export-button {
  width: 126px;
  white-space: nowrap;
}

.admin-page .rentals-list-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 24px 0 10px;
  padding: 0 2px;
}

.admin-page .rentals-list-head div > span,
.admin-page .rentals-list-head div > strong { display: block; }
.admin-page .rentals-list-head .section-kicker { margin: 0 0 2px; }
.admin-page .rentals-list-head strong { color: #23313e; font-size: 15px; }
.admin-page .rentals-list-head > span { color: #8493a1; font-size: 11px; }

.admin-page .order-admin-list {
  gap: 12px;
}

.admin-page .order-admin-row {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 18px 20px;
  border: 1px solid #dfe5ea;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 26, 34, 0.055);
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.admin-page .order-admin-row:hover,
.admin-page .order-admin-row:focus-within {
  border-color: #c9d7df;
  background: #f6fafb;
  box-shadow: 0 7px 20px rgba(15, 26, 34, 0.075);
}

.admin-page .rental-admin-action-button {
  width: 190px;
  max-width: 100%;
  justify-self: start;
}

.admin-page .rental-refund-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.admin-page .rental-refund-actions {
  margin-top: 14px;
}

.admin-page .rental-refund-button {
  background: #dc2626;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.24);
}

.admin-page .rental-refund-button:hover {
  background: #bd1e1e;
}

.admin-page .order-admin-main {
  gap: 15px;
}

.admin-page .order-admin-idline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 5px;
}

.admin-page .order-admin-idline .section-kicker {
  margin: 0;
  color: #152331;
  font-size: 12px;
  letter-spacing: 0;
}

.admin-page .order-status-label {
  display: inline-flex;
  align-items: center;
  min-height: 18px;
  padding-left: 8px;
  border-left: 2px solid #8a99a7;
  color: #657483;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-page .order-status-label.pending { border-color: #c7800a; color: #9a6206; }
.admin-page .order-status-label.confirmed { border-color: #0a938c; color: #08756f; }
.admin-page .order-status-label.completed { border-color: #2670c9; color: #205fa9; }
.admin-page .order-status-label.cancelled,
.admin-page .order-status-label.no_show,
.admin-page .order-status-label.refunded { border-color: #c75249; color: #a64139; }

.admin-page .order-admin-meta {
  display: grid;
  grid-template-columns: minmax(165px, 1.35fr) repeat(5, minmax(105px, 1fr));
  gap: 0;
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid #e7ebef;
}

.admin-page .order-admin-meta .order-admin-meta-item {
  min-width: 0;
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 0 13px;
  border: 0;
  border-right: 1px solid #e7ebef;
  border-radius: 0;
  color: #23313e;
  background: transparent;
  font-size: 12px;
}

.admin-page .order-admin-meta .order-admin-meta-item:first-child { padding-left: 0; }
.admin-page .order-admin-meta .order-admin-meta-item:last-child { padding-right: 0; border-right: 0; }

.admin-page .order-admin-meta-item small {
  color: #8493a1;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: uppercase;
}

.admin-page .order-admin-meta-item strong {
  overflow-wrap: anywhere;
  color: #23313e;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.admin-page .order-admin-meta-item em {
  color: #71808e;
  font-size: 10.5px;
  font-style: normal;
  line-height: 1.25;
}

.admin-page .order-admin-payment.pending strong,
.admin-page .order-admin-payment.pending_payment strong { color: #9a6206; }
.admin-page .order-admin-payment.paid strong { color: #08756f; }
.admin-page .order-admin-payment.failed strong,
.admin-page .order-admin-payment.refunded strong { color: #a64139; }

@media (max-width: 1180px) {
  .admin-page .rentals-filter-grid,
  .admin-page .rentals-export-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page .order-admin-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-page .order-admin-meta .order-admin-meta-item {
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #e7ebef;
  }

  .admin-page .order-admin-meta .order-admin-meta-item:nth-last-child(-n + 3) { border-bottom: 0; }
  .admin-page .order-admin-meta .order-admin-meta-item:first-child { padding-left: 12px; }
  .admin-page .order-admin-meta .order-admin-meta-item:last-child { padding-right: 12px; }
}

@media (max-width: 700px) {
  .admin-page .rentals-titlebar,
  .admin-page .rentals-tool-head,
  .admin-page .rentals-export-head,
  .admin-page .rentals-list-head {
    align-items: stretch;
  }

  .admin-page .rentals-title-actions,
  .admin-page .rentals-tool-head,
  .admin-page .rentals-export-head,
  .admin-page .rentals-list-head {
    width: 100%;
  }

  .admin-page .rentals-title-actions > *,
  .admin-page .rentals-filter-grid > *,
  .admin-page .rentals-export-grid > * { width: 100%; }

  .admin-page .rentals-filter-grid,
  .admin-page .rentals-export-grid {
    grid-template-columns: 1fr;
  }

  .admin-page .rentals-filter-panel,
  .admin-page .rentals-export-panel { padding: 16px; }

  .admin-page .order-admin-row {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .admin-page .order-admin-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-page .order-admin-meta .order-admin-meta-item:nth-last-child(-n + 3) { border-bottom: 1px solid #e7ebef; }
  .admin-page .order-admin-meta .order-admin-meta-item:nth-last-child(-n + 2) { border-bottom: 0; }
  .admin-page .order-admin-actions,
  .admin-page .order-admin-actions .link-button { width: 100%; }
  .admin-page .rental-admin-action-button { width: 100%; }

  /* Rental detail: keep every operation readable inside the mobile viewport. */
  .admin-page .admin-detail-page,
  .admin-page .admin-detail-shell,
  .admin-page .admin-detail-page .admin-main,
  .admin-page .admin-detail-page .order-admin-layout,
  .admin-page .admin-detail-page .panel,
  .admin-page .admin-detail-page form,
  .admin-page .admin-detail-page form > *,
  .admin-page .admin-detail-page label {
    min-width: 0;
    max-width: 100%;
  }

  .admin-page .admin-detail-page .admin-main {
    padding: 12px 12px 42px;
  }

  .admin-page .admin-detail-page .admin-titlebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding-inline: 2px;
  }

  .admin-page .admin-detail-page .admin-titlebar .table-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 7px;
  }

  .admin-page .admin-detail-page .admin-titlebar .table-actions .link-button,
  .admin-page .admin-detail-page .admin-titlebar .table-actions .primary-button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    text-align: center;
    white-space: normal;
  }

  .admin-page .admin-detail-page .panel {
    padding: 18px 16px 20px;
    border-radius: 12px;
  }

  .admin-page .admin-detail-page .panel-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    align-items: start;
  }

  .admin-page .admin-detail-page .panel-head > *,
  .admin-page .admin-detail-page .panel-head .table-actions {
    min-width: 0;
    width: 100%;
  }

  .admin-page .admin-detail-page .panel-head h2 {
    overflow-wrap: anywhere;
    font-size: 17px;
    line-height: 1.35;
  }

  .admin-page .admin-detail-page .panel-head .table-actions .link-button {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .admin-page .admin-detail-page .order-info-grid,
  .admin-page .admin-detail-page .order-update-form,
  .admin-page .admin-detail-page .agreement-field-row,
  .admin-page .admin-detail-page .agreement-option-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .admin-page .admin-detail-page .order-update-form .span-2 {
    grid-column: 1;
  }

  .admin-page .admin-detail-page input,
  .admin-page .admin-detail-page select,
  .admin-page .admin-detail-page textarea,
  .admin-page .admin-detail-page button {
    max-width: 100%;
  }

  .admin-page .admin-detail-page .note,
  .admin-page .admin-detail-page p,
  .admin-page .admin-detail-page td,
  .admin-page .admin-detail-page strong {
    overflow-wrap: anywhere;
  }

  .admin-page .rental-billing-panel .responsive-table-wrap {
    padding: 4px 14px 8px;
    border: 1px solid #edf1f4;
    border-radius: 8px;
    background: #fafcfd;
    box-shadow: none;
  }

  .admin-page .rental-billing-panel .stacked-table tr {
    padding: 8px 0;
  }

  .admin-page .rental-agreement-panel .order-update-form {
    gap: 14px;
  }

  .admin-page .rental-agreement-panel .agreement-field-row {
    gap: 14px !important;
  }

  .admin-page .rental-agreement-panel .weekday-picker label {
    min-height: auto;
  }

  .admin-page .rental-refund-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .admin-page .rental-refund-fields label,
  .admin-page .rental-refund-fields input,
  .admin-page .rental-refund-fields select {
    width: 100%;
    min-width: 0;
  }

  .admin-page .rental-refund-actions,
  .admin-page .rental-refund-actions .rental-refund-button {
    width: 100%;
  }

  .admin-page .rental-refund-button {
    min-height: 48px;
    padding: 12px 14px;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }
}

.admin-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 9px 10px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.15s;
}

.admin-hamburger.topbar-hamburger {
  display: none;
}

.admin-hamburger:hover {
  background: rgba(255,255,255,0.15);
}

.admin-hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

/* Animate to X when open */
.admin-sidebar-panel.is-open ~ * .admin-hamburger span:nth-child(1),
[aria-expanded="true"].admin-hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
[aria-expanded="true"].admin-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
[aria-expanded="true"].admin-hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .admin-hamburger.topbar-hamburger {
    display: flex;
  }

  /* Show mobile topbar, hide desktop sidebar in grid */
  .admin-page .admin-shell {
    grid-template-columns: 1fr;
    padding-top: 0;
    gap: 0;
  }

  .admin-mobile-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    height: 56px;
    background: linear-gradient(135deg, #1c2b3a 0%, #101922 100%);
    position: sticky;
    top: 0;
    z-index: 120;
    box-shadow: 0 2px 12px rgba(5,12,22,0.28);
  }

  .admin-mobile-brand {
    font-size: 15px;
    font-weight: 700;
    color: #f0f5f9;
    letter-spacing: -0.2px;
  }

  .admin-sidebar-backdrop {
    display: block;
    pointer-events: none;
  }

  .admin-sidebar-backdrop.is-visible {
    pointer-events: auto;
  }

  /* Sidebar becomes a fixed drawer */
  .admin-page .admin-sidebar-panel {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    border-radius: 0 20px 20px 0;
    z-index: 130;
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    min-height: 100dvh;
    overflow-y: auto;
  }

  .admin-page .admin-sidebar-panel.is-open {
    transform: translateX(0);
  }

  .admin-page .admin-main {
    padding: 16px 16px 48px;
  }

  .admin-page .admin-titlebar h1 {
    font-size: 20px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   FLEET CALENDAR  — Gantt bar design
   ═══════════════════════════════════════════════════════════════════════ */

/* Override global admin-page table rules for the fleet calendar table */
.fc-table th {
  background: #f8fafc;
  color: #8a9bac;
  padding: 0;
  letter-spacing: 0;
  border-right: none;
}

.fc-table td {
  padding: 0;
  border-bottom: none;
}

.admin-page .fc-table tr:hover td,
.admin-page .fc-table tr:hover td:first-child {
  background: transparent;
}

/* Month nav */
.fc-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  padding: 0 12px;
  min-height: 34px;
  border-radius: 9px;
}

.fc-today-btn {
  font-weight: 600;
}

.fc-month-label {
  font-size: 16px;
  font-weight: 700;
  color: #1a2736;
  letter-spacing: -0.2px;
  white-space: nowrap;
  align-self: center;
}

/* ── Summary strip ── */
.fc-summary-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fc-summary-item {
  flex: 1 1 110px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 16px 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e4e9ef;
  box-shadow: 0 1px 3px rgba(10,20,34,0.04);
}

.fc-summary-item span {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a9bac;
}

.fc-summary-item strong {
  font-size: 22px;
  font-weight: 800;
  color: #1a2736;
  letter-spacing: -0.4px;
  line-height: 1.1;
}

.fc-confirmed { color: #059669; }
.fc-pending   { color: #d97706; }
.fc-blocked   { color: #64748b; }
.fc-occ       { color: #6366f1; }

/* Occupancy progress bar inside summary card */
.fc-occ-progress {
  margin-top: 6px;
  height: 4px;
  border-radius: 4px;
  background: #eef0f5;
  overflow: hidden;
}

.fc-occ-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #6366f1, #818cf8);
  transition: width 0.4s ease;
}

/* ── Calendar container ── */
.fc-wrap {
  padding: 0;
  overflow: hidden;
}

.fc-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ── Table ── */
.fc-table {
  width: 100%;
  min-width: var(--fc-calendar-width, 1344px);
  border-collapse: collapse;
  table-layout: fixed;
}

/* ── Header ── */
.fc-th-vehicle {
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  padding: 11px 16px;
  text-align: left;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9bac;
  background: #f8fafc;
  border-bottom: 2px solid #e8ecf0;
  position: sticky;
  left: 0;
  z-index: 5;
  white-space: nowrap;
}

.fc-th-day {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  padding: 8px 2px 6px;
  text-align: center;
  background: #f8fafc;
  border-bottom: 2px solid #e8ecf0;
  border-left: 1px solid #edf0f4;
}

.fc-th-day.fc-weekend {
  background: #f3f4f7;
}

.fc-th-day.fc-today-col {
  background: linear-gradient(180deg, #e8f8f7 0%, #d8f4f2 100%);
  border-bottom-color: #0d9e97;
}

.fc-th-occ-col {
  width: 80px;
  min-width: 70px;
  padding: 11px 12px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a9bac;
  background: #f8fafc;
  border-bottom: 2px solid #e8ecf0;
  border-left: 2px solid #e8ecf0;
  white-space: nowrap;
}

.fc-weekday-label {
  display: block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #b0bbc8;
  margin-bottom: 3px;
}

.fc-day-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #4a5568;
  line-height: 1;
}

.fc-today-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0d9e97;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

/* ── Rows ── */
.fc-row:hover .fc-td-vehicle {
  background: #f4f7fb;
}

.fc-row-alt .fc-td-vehicle {
  background: #fbfcfe;
}

.fc-row:hover .fc-cell {
  background-color: rgba(0,0,0,0.01);
}

.fc-td-vehicle {
  position: sticky;
  left: 0;
  z-index: 4;
  background: #fff;
  padding: 10px 14px;
  border-bottom: 1px solid #edf0f4;
  border-right: 2px solid #e8ecf0;
  width: 210px;
  min-width: 210px;
  max-width: 210px;
  transition: background 0.12s;
}

.fc-vehicle-link {
  display: block;
  text-decoration: none;
}

.fc-vehicle-link strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1a2736;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
  transition: color 0.12s;
}

.fc-vehicle-link:hover strong {
  color: #0d9e97;
}

.fc-vehicle-link span {
  display: block;
  font-size: 11px;
  color: #8a9bac;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 190px;
  margin-top: 1px;
}

/* ── Cells ── */
.admin-page .fc-cell {
  width: 34px;
  min-width: 34px;
  max-width: 34px;
  height: 44px !important;
  padding: 9px 0 !important;
  border-bottom: 1px solid #edf0f4 !important;
  border-left: 1px solid #edf0f4 !important;
  border-right: none !important;
  vertical-align: top !important;
  position: relative;
  overflow: hidden;
  background: transparent !important;
}

.admin-page .fc-cell.fc-cell-weekend {
  background: #f9fafb !important;
}

.admin-page .fc-cell.fc-cell-today {
  background: rgba(13, 158, 151, 0.06) !important;
  box-shadow: inset 2px 0 0 rgba(13,158,151,0.4), inset -2px 0 0 rgba(13,158,151,0.4);
}

/* ── Gantt bars — in-flow display:block, cross-browser safe ── */
.fc-bar {
  display: block !important;
  height: 26px !important;
  width: 100% !important;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: filter 0.12s;
}

.fc-row:hover .fc-bar {
  filter: brightness(1.08);
}

.fc-reservation-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  padding: 9px 0;
  cursor: pointer;
  text-decoration: none;
}

.fc-reservation-link:hover .fc-bar,
.fc-reservation-link:focus-visible .fc-bar {
  filter: brightness(1.13) saturate(1.08);
}

.fc-reservation-link:focus-visible {
  outline: 2px solid #0d9e97;
  outline-offset: -2px;
}

/* Start: left indent + left rounding */
.fc-bar-s {
  width: auto !important;
  margin-left: 4px !important;
  border-radius: 7px 0 0 7px !important;
}

/* End: right indent + right rounding */
.fc-bar-e {
  width: calc(100% - 4px) !important;
  border-radius: 0 7px 7px 0 !important;
}

/* Single-day pill: both sides indented */
.fc-bar-s.fc-bar-e {
  margin-left: 5px !important;
  width: calc(100% - 10px) !important;
  border-radius: 7px !important;
}

/* Bar colours */
.fc-bar-booked {
  background: linear-gradient(90deg, #0a8f89 0%, #0fb8b0 100%) !important;
  box-shadow: 0 2px 4px rgba(13,158,151,0.3);
}

.fc-bar-pending {
  background: linear-gradient(90deg, #c47d0a 0%, #f5a623 100%) !important;
  box-shadow: 0 2px 4px rgba(245,166,35,0.3);
}

.fc-bar-blackout {
  background: repeating-linear-gradient(
    -45deg,
    #dde3ea 0px,
    #dde3ea 5px,
    #eaecf0 5px,
    #eaecf0 10px
  ) !important;
  border-top: 1px solid #c8cdd5;
  border-bottom: 1px solid #c8cdd5;
}

.fc-bar-blackout.fc-bar-s {
  border-left: 1px solid #c8cdd5;
}

.fc-bar-blackout.fc-bar-e {
  border-right: 1px solid #c8cdd5;
}

/* ── Per-vehicle occupancy column ── */
.fc-td-occ-col {
  border-bottom: 1px solid #edf0f4;
  border-left: 2px solid #e8ecf0;
  padding: 0 12px;
  width: 80px;
  vertical-align: middle;
}

.fc-veh-occ-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

.fc-veh-occ-bar {
  flex: 1;
  height: 5px;
  border-radius: 5px;
  background: #eef0f5;
  overflow: hidden;
}

.fc-veh-occ-fill {
  height: 100%;
  border-radius: 5px;
  background: #d1d5db;
  transition: width 0.3s ease;
}

.fc-veh-occ-fill.fc-veh-occ-active {
  background: linear-gradient(90deg, #0d9e97, #38c8c0);
}

.fc-veh-occ-pct {
  font-size: 11px;
  font-weight: 600;
  color: #8a9bac;
  white-space: nowrap;
  width: 28px;
  text-align: right;
}

/* ── Empty state ── */
.fc-empty {
  padding: 56px 16px;
  text-align: center;
  color: #8a9bac;
  font-size: 14px;
}

/* ── Legend ── */
.fc-legend {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 18px;
  border-top: 1px solid #edf0f4;
  background: #f8fafc;
}

.fc-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #5a6a7a;
  font-weight: 500;
}

.fc-legend-bar {
  display: inline-block;
  width: 28px;
  height: 10px;
  border-radius: 4px;
  flex-shrink: 0;
}

.fc-legend-bar-booked {
  background: linear-gradient(90deg, #0a8f89, #0fb8b0);
}

.fc-legend-bar-pending {
  background: linear-gradient(90deg, #c47d0a, #f5a623);
}

.fc-legend-bar-blackout {
  background: repeating-linear-gradient(
    -45deg,
    #dde3ea 0px,
    #dde3ea 4px,
    #eaecf0 4px,
    #eaecf0 8px
  );
  border: 1px solid #c8cdd5;
}

.fc-legend-today-item .fc-legend-today-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0d9e97;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

/* Preserve unfinished admin input when a long rental form is interrupted. */
.rental-draft-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  padding: 9px 11px;
  border: 1px solid #b7e3df;
  background: #f0fbfa;
  color: #376561;
}

.rental-draft-status[hidden] {
  display: none;
}

.rental-draft-discard {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #087f79;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.rental-draft-discard:hover {
  color: #075e59;
  text-decoration: underline;
}

.rental-payment-link-active {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid #dbe4ea;
  background: #f8fafc;
}

.rental-payment-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  margin: 0;
  text-align: center;
}

.rental-payment-qr img {
  display: block;
  width: 168px;
  height: 168px;
  padding: 8px;
  border: 1px solid #d9e1e7;
  background: #fff;
}

.rental-payment-qr figcaption {
  color: #263746;
  font-size: 13px;
  font-weight: 700;
}

.rental-payment-qr a {
  color: #087f79;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.rental-payment-qr a:hover {
  text-decoration: underline;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .fc-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .fc-summary-item {
    padding: 10px 12px;
  }

  .fc-summary-item strong {
    font-size: 18px;
  }

  .fc-month-label {
    font-size: 14px;
  }

  .admin-page .admin-titlebar .table-actions {
    gap: 6px;
  }

  .fc-th-occ-col,
  .fc-td-occ-col {
    display: none;
  }

  .rental-draft-status {
    align-items: flex-start;
    flex-direction: column;
  }

  .rental-payment-link-active {
    grid-template-columns: 1fr;
  }
}
.rental-extras-editor {
  display: grid;
  gap: 16px;
  margin: 0 0 20px;
  padding: 18px;
  border: 1px solid #dbe3ea;
  background: #f8fafc;
}

.rental-extras-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rental-extra-option {
  align-items: flex-start;
  min-height: 66px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #dbe3ea;
  background: #fff;
}

.rental-extra-option span,
.rental-extra-option strong,
.rental-extra-option small {
  display: block;
  text-transform: none;
  letter-spacing: 0;
}

.rental-extra-option strong {
  color: var(--ink);
  font-size: 14px;
}

.rental-extra-option small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rental-extras-quote {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rental-extras-notify {
  margin: 0;
}

.rental-extras-paid-warning {
  color: #9a3412;
}

.rental-agreement-insurance-summary {
  display: grid;
  gap: 5px;
  margin-top: 8px;
  padding: 14px 16px;
  border-left: 3px solid #0f9f99;
  background: #f4f8f8;
}

.rental-agreement-insurance-summary strong,
.rental-agreement-insurance-summary span,
.rental-agreement-insurance-summary small {
  display: block;
  letter-spacing: 0;
  text-transform: none;
}

.rental-agreement-insurance-summary small {
  color: var(--muted);
}

@media (max-width: 720px) {
  .rental-extras-editor {
    padding: 14px;
  }

  .rental-extras-options,
  .rental-extras-quote {
    grid-template-columns: 1fr;
  }

  .rental-extras-editor .rental-admin-action-button {
    width: 100%;
  }
}

/* Keep dashboard recent rows stable after the rentals-list overrides. */
.admin-page .dashboard-recent-list .dashboard-recent-row,
.admin-page .dashboard-recent-list .dashboard-recent-row:hover,
.admin-page .dashboard-recent-list .dashboard-recent-row:focus-within {
  align-items: start;
  padding: 15px 2px;
  border: 0;
  border-bottom: 1px solid #e5eaf0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.admin-page .dashboard-recent-list .dashboard-recent-row:hover,
.admin-page .dashboard-recent-list .dashboard-recent-row:focus-within {
  background: #f7f9fb;
}

.admin-page .dashboard-recent-list .order-admin-actions,
.admin-page .dashboard-recent-list .offer-admin-actions {
  align-self: start;
  justify-self: end;
  justify-content: flex-end;
  margin: 0;
}

.admin-page .dashboard-recent-list .order-admin-actions .link-button,
.admin-page .dashboard-recent-list .offer-admin-actions .link-button {
  width: auto;
  min-height: 36px;
  padding: 0 12px;
}

.admin-page .dashboard-recent-list .dashboard-vehicle-row,
.admin-page .dashboard-recent-list .dashboard-vehicle-row:hover,
.admin-page .dashboard-recent-list .dashboard-vehicle-row:focus-within {
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 85px;
  transition: background-color 140ms ease;
}

.admin-page .dashboard-recent-list .dashboard-vehicle-row > img,
.admin-page .dashboard-recent-list .dashboard-vehicle-row:hover > img {
  width: 72px;
  height: 54px;
  border-radius: 3px;
  transform: none;
}

.admin-page .dashboard-recent-list .dashboard-vehicle-row .offer-admin-actions {
  align-self: center;
}

@media (max-width: 640px) {
  .admin-page .dashboard-recent-list .order-admin-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .admin-page .dashboard-recent-list .order-admin-actions,
  .admin-page .dashboard-recent-list .order-admin-actions .link-button {
    width: auto;
  }

  .admin-page .dashboard-recent-list .dashboard-vehicle-row,
  .admin-page .dashboard-recent-list .dashboard-vehicle-row:hover,
  .admin-page .dashboard-recent-list .dashboard-vehicle-row:focus-within {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .admin-page .dashboard-recent-list .dashboard-vehicle-row > img,
  .admin-page .dashboard-recent-list .dashboard-vehicle-row:hover > img {
    width: 64px;
    height: 48px;
  }

  .admin-page .dashboard-recent-list .dashboard-vehicle-row .offer-admin-actions {
    grid-column: 1 / -1;
    justify-self: start;
  }
}
