:root {
  --bg: #090d16;
  --panel: #111827;
  --panel2: #182235;
  --accent: #3978ff;
  --muted: #9ba9bf;
  --border: #263247;
  --text: #f4f7fe;
  color-scheme: dark;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 16px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
  color: inherit;
  background: none;
  border: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a {
  color: #88adff;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Manrope", Arial, sans-serif;
}
h1 {
  font-size: 2.5rem;
  letter-spacing: -1.5px;
  line-height: 1.2;
}
h2 {
  font-size: 1.8rem;
  letter-spacing: -0.7px;
}
h3 {
  font-size: 1.1rem;
}
p {
  line-height: 1.7;
}
small,
.small {
  font-size: 0.875rem;
}
svg {
  flex-shrink: 0;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.875rem;
  font-weight: 500;
}
input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  min-height: 46px;
  background: #0c1320;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
}
textarea {
  resize: vertical;
  min-height: 85px;
}
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
input[type="color"] {
  width: 60px;
  padding: 4px;
}
input::placeholder {
  color: #8390a4;
}
.muted,
.hint {
  color: var(--muted);
}
.hint {
  font-size: 0.875rem;
  line-height: 1.65;
}
.eyebrow {
  display: block;
  color: #83aaff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--border);
  background: #1b2840;
  border-radius: 8px;
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  min-height: 46px;
  transition:
    background 0.2s,
    transform 0.2s;
  text-decoration: none;
}
.btn:hover {
  background: #2a3a56;
  transform: translateY(-1px);
}
.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}
.btn.primary:hover {
  filter: brightness(1.13);
}
.btn.outline {
  background: transparent;
}
.btn.small-btn {
  padding: 9px 13px;
  min-height: 36px;
}
.full {
  width: 100%;
}
.spaced {
  margin-top: 22px;
}
.demo-strip {
  padding: 8px 4%;
  background: #15233d;
  color: #c0d1ef;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  letter-spacing: 0.5px;
}
.demo-strip > span {
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-strip i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ba5ff;
}
.demo-strip button {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  color: #e4edff;
  white-space: nowrap;
}
.public-header {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 24px;
  background: #0c111b;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.brand > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.brand strong {
  font-family: Manrope, Arial;
  font-size: 1.6rem;
  letter-spacing: 3px;
  max-width: 250px;
  overflow-wrap: anywhere;
}
.brand small {
  font-size: 0.65rem;
  letter-spacing: 4px;
  color: var(--muted);
}
.brand-mark {
  font-weight: 800;
  font-size: 2.6rem;
  font-style: italic;
  line-height: 1;
  color: var(--accent);
  position: relative;
}
.brand-mark span {
  position: absolute;
  width: 24px;
  height: 4px;
  background: var(--text);
  bottom: 9px;
  left: 6px;
  transform: skew(-20deg);
}
.brand-logo {
  width: 58px;
  height: 50px;
  object-fit: contain;
}
.logo-button {
  text-align: left;
  padding: 0;
}
.public-header nav {
  display: flex;
  gap: 30px;
}
.public-header nav button {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 12px 0;
}
.public-header nav button.active {
  color: white;
  border-bottom: 2px solid var(--accent);
}
.hero {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 16%,
    rgba(0, 0, 0, 0.4) 35%,
    rgba(0, 0, 0, 0.8) 56%,
    #000 76%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.08) 16%,
    rgba(0, 0, 0, 0.4) 35%,
    rgba(0, 0, 0, 0.8) 56%,
    #000 76%
  );
  background-size: cover;
  background-position: center 55%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #090d16 0%,
      #090d16f5 16%,
      #090d16b8 37%,
      #090d1650 63%,
      #090d1626 100%
    ),
    linear-gradient(0deg, #090d16 0%, transparent 35%);
}
.hero-content {
  position: relative;
  margin: 50px 5% 90px;
  max-width: 540px;
  z-index: 1;
}
.hero h1 {
  font-size: 4.5rem;
  letter-spacing: -3.5px;
  line-height: 1.09;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: #709dff;
}
.hero p {
  max-width: 420px;
  color: #b9c5d8;
  font-size: 1rem;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.hero-actions > span {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 0.75rem;
  max-width: 155px;
  color: #bac5d6;
  line-height: 1.5;
}
.hero-caption {
  position: absolute;
  right: 5%;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: right;
  text-shadow: 0 2px 8px #000;
}
.hero-caption span {
  font-size: 0.65rem;
  letter-spacing: 2px;
}
.hero-caption strong {
  font-size: 1.1rem;
}
.search-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: end;
  margin: -44px 5% 0;
  background: #142035;
  border: 1px solid #31425e;
  box-shadow: 0 20px 50px #0004;
  padding: 26px 30px;
  border-radius: 13px;
}
.search-intro {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: center;
}
.search-intro svg {
  color: #7da7ff;
}
.section {
  margin: 76px auto;
  max-width: 1440px;
  padding: 0 5%;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.section-heading h1,
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading .eyebrow {
  margin-bottom: 10px;
}
.car-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.car-card {
  background: #111a2a;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition:
    transform 0.2s,
    border-color 0.2s;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: #5279b8;
}
.car-image {
  height: 220px;
  position: relative;
  background: #1a2332;
  overflow: hidden;
}
.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.car-card:hover .car-image img {
  transform: scale(1.04);
}
.car-category,
.car-featured {
  position: absolute;
  top: 15px;
  background: #0b1425e8;
  border: 1px solid #6d84a355;
  border-radius: 5px;
  padding: 6px 10px;
  font-size: 0.75rem;
}
.car-category {
  left: 15px;
}
.car-featured {
  right: 15px;
  background: #285ccded;
}
.car-body {
  padding: 22px;
}
.car-body h3 {
  font-size: 1.35rem;
  margin: 8px 0 15px;
}
.specs {
  display: flex;
  gap: 14px;
  color: var(--muted);
  font-size: 0.8rem;
}
.specs span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.car-bottom {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.car-bottom strong {
  font-size: 1.2rem;
}
.car-bottom small {
  color: var(--muted);
  font-size: 0.75rem;
}
.how {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 30px;
}
.steps article {
  padding: 22px 0;
}
.steps b {
  display: block;
  color: #7c9ff6;
  font-size: 2rem;
  margin-bottom: 18px;
  font-family: Manrope;
}
.steps p {
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 320px;
}
.contact-band {
  margin: 0 5% 70px;
  padding: 40px;
  background: linear-gradient(110deg, #182d52, #142038);
  border: 1px solid #304c7a;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.contact-band h2 {
  margin-bottom: 14px;
}
.contact-band p {
  margin-bottom: 0;
  color: #b2c2df;
}
.contact-band .btn {
  white-space: nowrap;
}
footer {
  border-top: 1px solid var(--border);
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
footer p {
  margin-bottom: 5px;
  font-size: 0.875rem;
}
footer small {
  color: var(--muted);
  font-size: 0.75rem;
}
footer button {
  font-size: 0.75rem;
  color: var(--muted);
}
.catalog {
  min-height: 65vh;
  margin-top: 50px;
}
.count {
  display: inline-block;
  font-size: 1rem;
  color: #9abaff;
  background: #1d3155;
  border-radius: 6px;
  padding: 6px 10px;
  vertical-align: middle;
  margin-left: 18px;
  letter-spacing: 0;
}
.search-box {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  background: #111a29;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 13px;
  min-width: 260px;
}
.search-box input {
  border: 0;
  background: none;
  padding-left: 0;
}
.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 25px 0;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chips button {
  font-size: 0.875rem;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 7px;
  color: #b2bfd2;
}
.chips button.selected {
  background: #24447c;
  border-color: #4a79ce;
  color: white;
}
.date-pair {
  display: flex;
  gap: 15px;
}
.date-pair label {
  font-size: 0.75rem;
}
.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 0.875rem;
  color: var(--muted);
}
.check-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.875rem;
  gap: 10px;
  line-height: 1.55;
  margin: 12px 0;
}
.empty {
  text-align: center;
  padding: 70px 20px;
}
.empty svg {
  color: var(--muted);
  margin-bottom: 20px;
}
.admin-shell {
  display: grid;
  grid-template-columns: 245px 1fr;
  min-height: calc(100vh - 35px);
}
.sidebar {
  background: #0e1623;
  border-right: 1px solid var(--border);
  padding: 35px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar .brand {
  margin: 0 0 40px 8px;
}
.sidebar .brand strong {
  font-size: 1.25rem;
}
.sidebar > button {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  color: var(--muted);
  font-size: 0.875rem;
  padding: 13px 14px;
  border-radius: 8px;
}
.sidebar > button.selected {
  background: #1b355c;
  color: #9fc0ff;
}
.sidebar > button > span {
  margin-left: auto;
  background: #2f5ca3;
  border-radius: 5px;
  padding: 2px 6px;
  color: white;
  font-size: 0.75rem;
}
.nav-label {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  color: #8f9db4;
  margin: 0 14px 12px;
}
.sidebar-bottom {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 70px;
  padding-bottom: 20px;
}
.sidebar-bottom strong {
  font-size: 0.75rem;
}
.sidebar-bottom small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  margin-top: 4px;
}
.avatar {
  border-radius: 50%;
  background: #263b5c;
  padding: 11px;
  font-size: 0.75rem;
}
.admin-main {
  padding: 42px 4%;
  min-width: 0;
}
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}
.admin-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.admin-header p {
  font-size: 0.875rem;
  margin-bottom: 0;
}
.admin-header .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.stat {
  background: #121d2e;
  border: 1px solid var(--border);
  padding: 22px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.stat > span {
  color: #85aaff;
  margin-bottom: 22px;
}
.stat strong {
  font-family: Manrope;
  font-size: 2rem;
  letter-spacing: -1px;
}
.stat small {
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 7px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}
.panel {
  background: #111b2b;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  min-width: 0;
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.panel-heading h2 {
  font-size: 1.1rem;
  letter-spacing: 0;
  margin: 0;
}
.panel-heading button {
  color: #8fb2ff;
  font-size: 0.8rem;
}
.booking-row {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding: 17px 0;
  text-align: left;
}
.booking-row > span:nth-child(2) {
  flex: 1;
}
.booking-row strong {
  font-size: 0.9rem;
}
.booking-row small {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 5px;
}
.date-tile {
  background: #1c2c46;
  border: 1px solid #304867;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 1.25rem;
  text-align: center;
  line-height: 1.1;
}
.date-tile small {
  font-size: 0.6rem;
  color: #a1b2ce;
}
.badge {
  display: inline-block;
  border: 1px solid transparent;
  padding: 5px 9px;
  font-size: 0.75rem;
  border-radius: 5px;
  white-space: nowrap;
}
.badge.green {
  background: #123c34;
  color: #83dec4;
  border-color: #21614e;
}
.badge.blue {
  background: #193862;
  color: #9bc4ff;
  border-color: #2c5482;
}
.badge.yellow {
  background: #44391d;
  color: #f2cf77;
  border-color: #645126;
}
.badge.gray {
  background: #293142;
  color: #c1cada;
  border-color: #3a465b;
}
.fleet-status {
  margin-bottom: 23px;
}
.fleet-status > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.bar {
  height: 5px;
  border-radius: 5px;
  background: #25334a;
}
.bar i {
  display: block;
  background: var(--accent);
  height: 5px;
  border-radius: 5px;
}
.blue-callout {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 25px;
  background: #172e50;
  border: 1px solid #2c4d7d;
  border-radius: 12px;
  margin-top: 25px;
}
.blue-callout > svg {
  color: #92b9ff;
}
.blue-callout h3 {
  margin-bottom: 6px;
}
.blue-callout p {
  font-size: 0.875rem;
  color: #b5c9e5;
  margin-bottom: 0;
}
.blue-callout .btn {
  margin-left: auto;
  white-space: nowrap;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #111b2b;
}
table {
  border-collapse: collapse;
  width: 100%;
  min-width: 780px;
  text-align: left;
  font-size: 0.875rem;
}
th {
  font-weight: 500;
  font-size: 0.75rem;
  color: var(--muted);
  padding: 16px 20px;
  background: #142034;
}
td {
  padding: 18px 20px;
  border-top: 1px solid var(--border);
}
td small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 7px;
}
.table-car {
  display: flex;
  align-items: center;
  gap: 14px;
}
.table-car img {
  width: 74px;
  height: 54px;
  object-fit: cover;
  border-radius: 7px;
}
.table-car strong {
  white-space: nowrap;
}
.brand-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  align-items: start;
}
.logo-preview {
  height: 150px;
  border-radius: 10px;
  border: 1px dashed #4c5d77;
  background: #0b1423;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.logo-preview img {
  max-height: 120px;
  max-width: 90%;
  object-fit: contain;
}
.logo-preview strong {
  font-size: 2.5rem;
  letter-spacing: 3px;
}
.upload {
  border: 1px dashed #405372;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 22px;
  color: #d3def0;
}
.upload input {
  padding: 5px;
  border: 0;
  background: none;
  font-size: 0.8rem;
  min-height: 32px;
}
.upload small {
  font-size: 0.75rem;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.span2 {
  grid-column: span 2;
}
.color-control {
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}
.notice {
  background: #172947;
  border-left: 3px solid #6195ff;
  padding: 16px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #bfcfed;
}
.text-button {
  font-size: 0.875rem;
  color: #9abbff;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: #020710cc;
  backdrop-filter: blur(7px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
}
.modal {
  width: 660px;
  max-width: 100%;
  max-height: 92vh;
  background: #111b2b;
  border: 1px solid #34415a;
  border-radius: 15px;
  box-shadow: 0 30px 90px #0007;
  overflow: auto;
}
.modal > header {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 25px;
  background: #111b2bf5;
  border-bottom: 1px solid var(--border);
}
.modal > header h2 {
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: 0;
}
.modal-close {
  display: flex;
  padding: 7px;
}
.modal-content {
  padding: 25px;
}
.modal-content h3 {
  margin-top: 24px;
}
.detail-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 10px;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 25px 0;
}
.detail-heading h2 {
  font-size: 1.6rem;
  margin: 0;
}
.detail-heading .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 8px;
}
.detail-heading > strong {
  white-space: nowrap;
  font-size: 1.2rem;
}
.detail-heading small {
  font-size: 0.75rem;
  color: var(--muted);
}
.detail-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.detail-specs span {
  background: #1a293f;
  padding: 12px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
}
.detail-specs svg {
  color: #8aaeff;
}
.mini-car {
  display: flex;
  align-items: center;
  gap: 18px;
}
.mini-car img {
  width: 105px;
  height: 75px;
  object-fit: cover;
  border-radius: 8px;
}
.mini-car small {
  display: block;
  color: var(--muted);
  margin-top: 8px;
  font-size: 0.875rem;
}
.receipt {
  background: #17243a;
  border: 1px solid #293b59;
  padding: 18px;
  border-radius: 8px;
  margin: 22px 0;
}
.receipt > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0;
  font-size: 0.875rem;
  color: #adbed6;
}
.receipt b {
  color: #f1f5fd;
  text-align: right;
}
.receipt .total {
  border-top: 1px solid #3c4c64;
  margin-top: 10px;
  padding-top: 15px;
  font-size: 1.05rem;
}
.success {
  text-align: center;
}
.success-icon {
  display: inline-flex;
  border-radius: 50%;
  padding: 20px;
  background: #153f37;
  color: #6addbb;
  margin: 10px 0 25px;
}
.success h2 {
  font-size: 1.65rem;
}
.success p {
  color: #b2c1d7;
}
.edit-car-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.proof-image {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  border-radius: 5px;
}
.text-list {
  line-height: 1.8;
  color: #b9c6db;
}
.text-list li {
  margin-bottom: 12px;
}
.tour {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 360px;
  max-width: calc(100vw - 30px);
  background: #172943;
  border: 1px solid #6085bb;
  border-radius: 15px;
  box-shadow: 0 20px 80px #0009;
  padding: 27px;
  z-index: 80;
}
.tour .eyebrow {
  font-size: 0.65rem;
  margin-bottom: 15px;
}
.tour h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.tour p {
  font-size: 0.875rem;
  color: #bed0ea;
  line-height: 1.6;
}
.tour-close {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 5px;
}
.tour-dots {
  display: flex;
  gap: 5px;
  margin: 18px 0;
}
.tour-dots i {
  width: 18px;
  height: 3px;
  background: #38516f;
}
.tour-dots .on {
  background: #8eb4ff;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  z-index: 200;
  padding: 15px 23px;
  background: #23415d;
  border: 1px solid #7596b6;
  border-radius: 10px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 10px 50px #0007;
  font-size: 0.875rem;
}
@media (min-width: 1600px) {
  .hero-content {
    margin-left: calc((100vw - 1440px) / 2 + 40px);
  }
  .hero {
    min-height: 650px;
  }
}
@media (max-width: 1150px) {
  .public-header nav {
    gap: 17px;
  }
  .hero h1 {
    font-size: 3.8rem;
  }
  .hero-caption {
    display: none;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .search-intro {
    display: none;
  }
  .car-grid {
    gap: 15px;
  }
  .car-body {
    padding: 17px;
  }
  .car-image {
    height: 180px;
  }
  .car-bottom {
    flex-wrap: wrap;
  }
  .admin-shell {
    grid-template-columns: 205px 1fr;
  }
  .sidebar {
    padding: 30px 12px;
  }
  .admin-main {
    padding: 30px 3%;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .blue-callout {
    flex-wrap: wrap;
  }
  .brand-settings {
    grid-template-columns: 1fr;
  }
  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }
  .specs {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  footer {
    flex-wrap: wrap;
  }
  .booking-row .badge {
    margin-left: auto;
  }
}
@media (max-width: 760px) {
  .demo-extra {
    display: none !important;
  }
  .demo-strip {
    font-size: 0.62rem;
    padding: 9px 4%;
  }
  .demo-strip button {
    font-size: 0.65rem;
  }
  .public-header {
    height: auto;
    min-height: 80px;
    padding: 18px 5%;
    flex-wrap: wrap;
    gap: 17px;
  }
  .brand strong {
    font-size: 1.3rem;
  }
  .brand-mark {
    font-size: 2.1rem;
  }
  .brand-mark span {
    width: 20px;
    left: 5px;
  }
  .brand small {
    font-size: 0.55rem;
  }
  .public-header > .btn {
    font-size: 0.75rem;
    padding: 9px 11px;
    min-height: 38px;
  }
  .public-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 35px;
    border-top: 1px solid var(--border);
    padding-top: 5px;
  }
  .public-header nav button {
    font-size: 0.8rem;
  }
  .hero {
    min-height: 520px;
    align-items: flex-start;
  }
  .hero-photo {
    inset: 0;
    -webkit-mask-image: none;
    mask-image: none;
    background-position: 62% center;
  }
  .hero-overlay {
    background:
      linear-gradient(90deg, #090d16ea, #090d1660),
      linear-gradient(0deg, #090d16 0%, transparent 60%);
  }
  .hero-content {
    margin: 45px 5% 90px;
  }
  .hero h1 {
    font-size: 3.6rem;
    letter-spacing: -2.4px;
  }
  .hero p {
    max-width: 310px;
    font-size: 0.95rem;
  }
  .hero .eyebrow {
    font-size: 0.65rem;
  }
  .hero-actions > span {
    display: none;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
    padding: 20px;
    gap: 16px;
    margin-top: -45px;
  }
  .search-panel .btn {
    grid-column: span 2;
  }
  .search-panel label {
    font-size: 0.8rem;
  }
  .search-panel input {
    padding: 10px 7px;
    min-width: 0;
    font-size: 0.85rem;
  }
  .section {
    margin: 48px auto;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .section-heading h2 {
    font-size: 1.7rem;
  }
  .car-grid {
    grid-template-columns: 1fr;
  }
  .car-image {
    height: 235px;
  }
  .car-body {
    padding: 22px;
  }
  .car-bottom {
    flex-wrap: nowrap;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .steps article {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
  }
  .steps b {
    float: left;
    margin: 0 23px 25px 0;
    font-size: 1.7rem;
  }
  .steps p {
    max-width: none;
    margin-bottom: 0;
    font-size: 0.875rem;
  }
  .contact-band {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
  }
  .contact-band h2 {
    font-size: 1.65rem;
  }
  footer {
    padding: 30px 5%;
    align-items: flex-start;
    gap: 24px;
  }
  footer > div:nth-child(2) {
    width: 100%;
  }
  .catalog {
    margin-top: 35px;
  }
  .catalog h1 {
    font-size: 2rem;
  }
  .catalog .search-box {
    width: 100%;
  }
  .catalog-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .date-pair {
    width: 100%;
    gap: 12px;
  }
  .date-pair label {
    min-width: 0;
    flex: 1;
  }
  .date-pair input {
    padding: 10px 8px;
  }
  .chips {
    gap: 6px;
  }
  .chips button {
    padding: 9px 12px;
    font-size: 0.8rem;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 18px 4%;
    border-right: 0;
    border-bottom: 1px solid var(--border);
    gap: 5px;
  }
  .sidebar .brand {
    width: 100%;
    margin: 0 0 12px;
  }
  .sidebar .nav-label,
  .sidebar-bottom {
    display: none;
  }
  .sidebar > button {
    padding: 9px 10px;
    font-size: 0.75rem;
    gap: 6px;
  }
  .sidebar > button svg {
    width: 16px;
  }
  .sidebar > button:last-child {
    display: none;
  }
  .sidebar > button > span {
    display: none;
  }
  .admin-main {
    padding: 27px 5%;
  }
  .admin-header {
    align-items: flex-start;
  }
  .admin-header h1 {
    font-size: 1.7rem;
    letter-spacing: -1px;
  }
  .admin-header p {
    font-size: 0.8rem;
  }
  .admin-header > .btn {
    font-size: 0.7rem;
    padding: 8px;
    min-width: 75px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 18px;
  }
  .stat strong {
    font-size: 1.65rem;
  }
  .stat small {
    font-size: 0.75rem;
    line-height: 1.5;
  }
  .stat > span {
    margin-bottom: 15px;
  }
  .panel {
    padding: 18px;
  }
  .booking-row {
    gap: 9px;
    flex-wrap: wrap;
  }
  .booking-row strong {
    font-size: 0.8rem;
  }
  .booking-row .badge {
    font-size: 0.65rem;
  }
  .booking-row small {
    font-size: 0.7rem;
  }
  .date-tile {
    padding: 7px 9px;
  }
  .blue-callout {
    padding: 22px;
  }
  .blue-callout > .btn {
    margin-left: 0;
    width: 100%;
  }
  .toolbar {
    flex-direction: column;
  }
  .toolbar > .btn {
    align-self: flex-start;
  }
  .toolbar .search-box {
    min-width: 0;
  }
  .form-grid {
    gap: 16px;
    grid-template-columns: 1fr;
  }
  .span2 {
    grid-column: auto;
  }
  .modal-backdrop {
    padding: 12px;
  }
  .modal {
    max-height: 94vh;
  }
  .modal-content {
    padding: 20px;
  }
  .modal > header {
    padding: 16px 18px;
  }
  .detail-img {
    height: 220px;
  }
  .detail-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .detail-specs {
    gap: 9px;
  }
  .detail-specs span {
    font-size: 0.75rem;
    padding: 10px;
  }
  .receipt > span {
    font-size: 0.8rem;
  }
  .mini-car img {
    width: 85px;
    height: 65px;
  }
  .tour {
    bottom: 15px;
    right: 15px;
    width: 340px;
    padding: 23px;
  }
  .toast {
    bottom: 14px;
    width: 90%;
    padding: 13px 17px;
  }
  .text-list {
    padding-left: 20px;
  }
  h1,
  h2 {
    overflow-wrap: anywhere;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
/* Application additions */
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
fieldset:disabled {
  opacity: 0.65;
}
.saving {
  color: #a8c5ff;
}
.app-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
}
.app-loading svg {
  color: #6c9aff;
  margin-bottom: 25px;
}
.login-card {
  max-width: 500px;
  margin: 60px auto;
  padding: 35px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: var(--panel);
}
.login-card h1 {
  font-size: 2rem;
}
.tracking {
  max-width: 850px;
  min-height: 65vh;
}
.availability-bar {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 20px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  margin: 25px 0;
}
.prewrap {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.error-box {
  background: #492529;
  border: 1px solid #925059;
  color: #ffd2d7;
  padding: 16px;
  border-radius: 9px;
  line-height: 1.6;
  margin: 15px 0;
}
.gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumbs button {
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  flex: 0 0 80px;
}
.gallery-thumbs img {
  width: 80px;
  height: 55px;
  object-fit: cover;
}
.gallery-editor {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}
.gallery-editor > div {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.gallery-editor img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}
.gallery-editor small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin: 7px;
}
.gallery-editor button {
  padding: 8px;
  color: #e9b4bb;
  font-size: 14px;
}
.policy {
  padding: 15px;
  background: #18263c;
  border-radius: 8px;
  margin: 12px 0;
  line-height: 1.6;
}
.policy summary {
  cursor: pointer;
}
.policy p {
  margin-top: 15px;
  font-size: 14px;
}
.bank-card,
.bank-editor {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #132138;
  margin: 18px 0;
}
.bank-card p {
  margin: 10px 0;
}
.schedule-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.schedule-item p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0;
}
.agenda-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.agenda-card {
  padding: 22px;
  background: #18273d;
  border: 1px solid #293e5b;
  border-radius: 10px;
}
.agenda-card h3 {
  margin: 15px 0;
}
.agenda-card p {
  font-size: 14px;
  margin-bottom: 0;
  color: #bac9de;
}
.list-editor {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 15px;
  align-items: end;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}
.settings-save {
  position: sticky;
  bottom: 0;
  padding: 20px 0;
  background: #090d16ed;
  margin-top: 20px;
}
.wide {
  width: 900px;
}
.payment-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
.payment-row small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 5px;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}
.proof-grid img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #0b1320;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.proof-grid small {
  display: block;
  font-size: 13px;
  margin: 10px 0;
}
.compact-title {
  font-size: 18px;
  margin-bottom: 25px;
}
.print-document {
  margin: 25px 0;
}
pre {
  font-size: 13px;
  max-width: 420px;
  white-space: pre-wrap;
}
.admin-shell {
  min-height: 100vh;
}
.sidebar {
  min-height: 100vh;
}
.sidebar-bottom {
  padding-top: 35px;
}
.sidebar .brand strong {
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.public-header .brand strong {
  font-size: 1.3rem;
  letter-spacing: 2px;
}
.search-panel {
  grid-template-columns: 0.8fr 1fr 1fr 1fr;
}
.search-panel input {
  font-size: 14px;
  min-width: 0;
}
.stat strong {
  font-size: 1.7rem;
}
.hero-photo:empty {
  background-color: #18283f;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid #a3c2ff;
}
.mini-car > .badge {
  margin-left: auto;
}
@media (max-width: 1100px) {
  .search-panel {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .agenda-grid {
    grid-template-columns: 1fr 1fr;
  }
  .admin-header .button-row {
    flex-direction: column;
  }
  .list-editor {
    grid-template-columns: 1fr 1fr;
  }
  .list-editor .btn {
    grid-column: span 2;
  }
}
@media (max-width: 760px) {
  .login-card {
    margin: 35px 5%;
    padding: 25px;
  }
  .availability-bar {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .agenda-grid {
    grid-template-columns: 1fr;
  }
  .list-editor {
    grid-template-columns: 1fr;
  }
  .list-editor .btn {
    grid-column: auto;
  }
  .public-header .brand strong {
    font-size: 1.1rem;
    letter-spacing: 1px;
    max-width: 180px;
  }
  .sidebar {
    min-height: auto;
  }
  .sidebar > button:last-child {
    display: flex;
  }
  .sidebar .brand {
    width: 100%;
  }
  .search-panel {
    grid-template-columns: 1fr 1fr;
  }
  .search-panel .btn {
    grid-column: span 2;
  }
  .search-panel input {
    font-size: 12px;
    padding: 8px 5px;
  }
  .admin-header h1 {
    font-size: 1.6rem;
  }
  .admin-header .button-row {
    gap: 7px;
  }
  .admin-header .btn {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 36px;
  }
  .gallery-editor {
    grid-template-columns: 1fr 1fr;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .mini-car {
    flex-wrap: wrap;
  }
  .mini-car > .badge {
    margin-left: 0;
  }
  .stat strong {
    font-size: 1.4rem;
  }
  .stats .stat {
    min-width: 0;
  }
  .table-wrap {
    max-width: 100%;
  }
  .list-editor input {
    min-width: 0;
  }
}
@media print {
  body * {
    visibility: hidden;
  }
  body {
    background: white;
    color: black;
  }
  .print-document,
  .print-document * {
    visibility: visible;
    color: black !important;
    background: white !important;
    border-color: #ccc !important;
  }
  .modal-backdrop {
    position: absolute;
    display: block;
    padding: 0;
    background: white;
    backdrop-filter: none;
  }
  .modal {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: none;
    overflow: visible;
    border: 0;
    box-shadow: none;
  }
  .modal > header,
  .no-print,
  .chips,
  .toast {
    display: none !important;
  }
  .modal-content {
    padding: 0;
  }
  .print-document {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    padding: 20px;
    margin: 0;
  }
  .receipt {
    break-inside: avoid;
  }
}

/* Transparent branding and accessible, localized document controls. */
.brand-logo {
  width: auto;
  max-width: 116px;
  height: 54px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}
.file-input,
.upload input.file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  opacity: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.upload:focus-within {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.file-choose {
  display: block;
  font-weight: 600;
  margin: 8px 0;
  color: var(--accent);
}
.document-section {
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.document-upload {
  border: 1px dashed #536278;
  border-radius: 12px;
  padding: 18px;
  margin: 14px 0;
  display: grid;
  gap: 10px;
}
.document-upload small {
  overflow-wrap: anywhere;
  color: var(--muted);
}
.document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.document-preview {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
  border-radius: 8px;
  background: #0b1423;
}
.language-switch {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  padding: 3px;
  border: 1px solid #536278;
  border-radius: 9px;
  flex-shrink: 0;
}
.language-switch button {
  padding: 6px 8px;
  border-radius: 6px;
  color: inherit;
  font-size: 12px;
}
.language-switch button[aria-pressed="true"] {
  background: var(--accent);
  color: white;
}
.sidebar .language-switch {
  margin: 12px 0;
  align-self: flex-start;
}
@media (max-width: 700px) {
  .brand-logo {
    max-width: 84px;
    height: 44px;
  }
  .public-header {
    flex-wrap: wrap;
  }
}

.modal > header {
  flex-wrap: wrap;
  gap: 12px;
}
.modal > header h2 {
  flex: 1;
  min-width: 160px;
}
.modal > header .language-switch {
  margin-left: auto;
}

/* Persistent booking receipt and prominent private-link action. */
.booking-followup {
  padding: clamp(20px, 4vw, 32px);
  margin-bottom: 36px;
  background: linear-gradient(135deg, #14263f, #101b2d);
  border: 1px solid #3e679c;
  border-radius: 18px;
  box-shadow: 0 14px 42px #0003;
}
.followup-heading {
  display: flex;
  gap: 16px;
  align-items: center;
}
.followup-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  background: #1a493e;
  color: #9eefd6;
  border-radius: 50%;
}
.booking-followup h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  letter-spacing: -0.7px;
  margin: 6px 0 0;
}
.followup-message {
  margin: 20px 0;
  line-height: 1.65;
  color: #dfebff;
}
.private-link-callout {
  display: grid;
  gap: 18px;
  border-top: 1px solid #345073;
  padding-top: 20px;
}
.private-link-callout h2 {
  font-size: 1.1rem;
  margin: 0 0 8px;
  letter-spacing: 0;
}
.private-link-callout p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
  color: #c1cee2;
}
.copy-link-button {
  width: 100%;
  min-height: 56px;
  font-size: 1rem;
  gap: 10px;
  justify-content: center;
}
.private-link-field {
  display: grid;
  gap: 8px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: #c5d4eb;
}
.private-link-field input {
  width: 100%;
  min-width: 0;
  font-size: 0.8rem;
  text-overflow: ellipsis;
}
.copy-help {
  margin: 12px 0 0;
  line-height: 1.6;
}
.followup-refresh {
  margin-top: 16px;
}
.payment-notice p {
  margin: 10px 0 0;
}
@media (max-width: 600px) {
  .booking-followup {
    padding: 20px 16px;
  }
  .followup-heading {
    gap: 10px;
  }
  .followup-heading .eyebrow {
    font-size: 0.58rem;
  }
  .followup-icon {
    flex-basis: 36px;
    height: 36px;
  }
}

/* 1.3: fluid layouts, touch controls, delivery location and editable cover. */
:root {
  --line: var(--border);
}
html {
  scroll-padding-top: 24px;
}
#root,
main,
form,
section,
header,
nav,
label,
.form-grid > *,
.search-panel > *,
.brand > span:last-child {
  min-width: 0;
}
input,
select,
textarea {
  min-width: 0;
  max-width: 100%;
}
img {
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #a3c2ff;
  border-color: var(--accent);
}
.search-panel {
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1fr) minmax(
      0,
      1fr
    );
}
.form-grid,
.brand-settings {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.public-header nav {
  align-items: center;
}
.public-header nav .admin-access {
  padding: 12px 16px;
  color: var(--text);
}
.menu-toggle {
  display: none;
}
.public-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}
.footer-contact {
  overflow-wrap: anywhere;
}
.footer-contact a {
  font-size: 0.875rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.footer-legal button {
  min-height: 44px;
  padding: 10px 8px;
  font-size: 0.875rem;
}
.footer-legal > span {
  color: var(--muted);
}
.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
}
.form-section-title > span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  color: #bfd4ff;
  background: #263e64;
  font-size: 0.875rem;
}
.reservation-form .document-section {
  border-top: 0;
  padding-top: 0;
}
.reservation-submit {
  position: sticky;
  bottom: -25px;
  z-index: 2;
  margin: 20px -25px -25px;
  padding: 14px 25px 22px;
  background: #111b2bf5;
  border-top: 1px solid var(--border);
}
.reservation-submit small {
  display: block;
  margin-bottom: 10px;
  text-align: center;
  color: #c5d6f0;
}
.location-card,
.delivery-agreement {
  padding: 20px;
  margin-top: 16px;
  border: 1px solid #344c70;
  border-radius: 12px;
  background: #142137;
}
.location-card > h3 {
  margin-top: 0;
}
.location-card > .hint {
  margin: 14px 0;
}
.location-card > small {
  display: block;
  margin-top: 14px;
}
.location-result {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  color: #bee9d8;
}
.location-result p {
  margin: 0;
}
.hero-preview {
  position: relative;
  display: flex;
  align-items: center;
  height: 210px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 18px;
  padding: 22px;
  background-size: cover;
  background-color: #192c46;
  overflow: hidden;
}
.hero-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #090d16dd, #090d1610);
}
.hero-preview span {
  position: relative;
  font-size: 1.7rem;
  font-weight: 700;
  max-width: 160px;
}
.hero-settings input[type="range"] {
  accent-color: var(--accent);
  padding: 0;
}
.receipt > span,
.receipt p,
.booking-row,
.mini-car,
.bank-card,
.brand small {
  overflow-wrap: anywhere;
}
.receipt b {
  min-width: 0;
}
.receipt > span > b {
  max-width: 65%;
}
.table-wrap {
  max-width: 100%;
  overscroll-behavior-x: contain;
}
.table-wrap:focus-visible {
  outline: 2px solid #a3c2ff;
}
.modal {
  min-width: 0;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.modal-close {
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal > header h2 {
  min-width: 0;
}
.sample-credit {
  font-size: 11px;
  line-height: 1.5;
  color: #acbad0;
  margin: 8px 0;
}
.sample-credit a {
  color: inherit;
}
@media (max-width: 1150px) {
  .public-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
    gap: 16px;
  }
  .public-header nav {
    margin-left: auto;
  }
  .search-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-panel .btn {
    grid-column: 1 / -1;
  }
  .brand-settings {
    grid-template-columns: minmax(0, 1fr);
  }
  .public-footer {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .footer-legal {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  :root {
    font-size: 16px;
  }
  input,
  select,
  textarea,
  .search-panel input {
    font-size: 16px;
  }
  input[type="datetime-local"] {
    display: block;
    -webkit-appearance: none;
    appearance: none;
  }
  input::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.5em;
  }
  .btn,
  .btn.small-btn,
  .chips button,
  .sidebar > button,
  .language-switch button {
    min-height: 44px;
  }
  .language-switch button {
    padding: 8px 12px;
    font-size: 13px;
  }
  .public-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px 20px;
  }
  .public-header .logo-button {
    grid-column: 1;
  }
  .public-header .brand {
    gap: 8px;
  }
  .public-header .brand strong {
    font-size: 1rem;
    letter-spacing: 0.6px;
  }
  .public-header .brand small {
    letter-spacing: 1px;
    line-height: 1.5;
  }
  .public-header .brand-logo {
    max-width: 64px;
    height: 42px;
  }
  .public-header > .language-switch {
    grid-row: 2;
    grid-column: 1 / -1;
    justify-self: start;
  }
  .public-header .menu-toggle {
    display: inline-flex;
    grid-row: 1;
    grid-column: 2;
    min-width: 44px;
    padding: 10px;
    font-size: 0.8rem;
  }
  .public-header #public-navigation {
    display: none;
    grid-column: 1 / -1;
    margin: 0;
    padding-top: 12px;
    width: 100%;
    gap: 6px;
  }
  .public-header #public-navigation.is-open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .public-header nav button {
    text-align: left;
    min-height: 44px;
    padding: 12px;
    font-size: 0.95rem;
    border-radius: 8px;
  }
  .public-header nav button.active {
    border: 0;
    background: #1b3153;
  }
  .public-header nav .admin-access {
    justify-content: flex-start;
    margin-top: 4px;
  }
  .hero {
    min-height: 465px;
  }
  .hero-content {
    margin: 34px 20px 80px;
    width: calc(100% - 40px);
    max-width: 480px;
  }
  .hero h1 {
    font-size: clamp(2.45rem, 9.8vw, 3.6rem);
    letter-spacing: -1.8px;
  }
  .hero p {
    max-width: 340px;
  }
  .search-panel {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .search-panel .btn {
    grid-column: auto;
  }
  .search-panel label {
    font-size: 0.875rem;
  }
  .search-panel input {
    padding: 12px;
  }
  .section {
    padding: 0 20px;
  }
  .form-grid,
  .brand-settings,
  .list-editor {
    grid-template-columns: minmax(0, 1fr);
  }
  .car-bottom {
    flex-wrap: wrap;
  }
  .car-bottom .btn {
    flex: 1 0 120px;
  }
  .public-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 30px 20px;
  }
  .public-footer > div:nth-child(2) {
    width: auto;
  }
  .public-footer .brand strong {
    font-size: 1.15rem;
    letter-spacing: 1px;
  }
  .public-footer .brand small {
    letter-spacing: 1.5px;
  }
  .footer-legal {
    gap: 8px;
    margin-left: -8px;
  }
  .modal-backdrop {
    padding: 0;
    align-items: stretch;
  }
  .modal,
  .modal.wide {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
    scrollbar-gutter: auto;
  }
  .modal > header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    padding: max(12px, env(safe-area-inset-top)) 16px 12px;
    gap: 10px;
  }
  .modal > header h2 {
    grid-column: 1;
    font-size: 1.08rem;
  }
  .modal > header .modal-close {
    grid-column: 2;
    grid-row: 1;
  }
  .modal > header .language-switch {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    margin: 0;
  }
  .modal-content {
    padding: 20px 16px max(22px, env(safe-area-inset-bottom));
  }
  .reservation-submit {
    bottom: -22px;
    margin: 20px -16px -22px;
    padding: 12px 16px max(22px, env(safe-area-inset-bottom));
  }
  .location-card,
  .delivery-agreement,
  .document-upload,
  .receipt {
    padding: 16px;
  }
  .location-card .button-row > * {
    flex: 1 1 160px;
  }
  .mini-car {
    gap: 12px;
  }
  .mini-car > div {
    flex: 1;
    min-width: 0;
  }
  .mini-car img {
    width: 76px;
    height: 58px;
    flex-shrink: 0;
  }
  .receipt > span {
    gap: 10px;
    align-items: flex-start;
    font-size: 0.875rem;
  }
  .admin-header {
    flex-wrap: wrap;
  }
  .admin-header .button-row {
    flex-direction: row;
  }
  .admin-header .btn {
    min-height: 44px;
    font-size: 0.875rem;
  }
  .sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .sidebar .brand,
  .sidebar .language-switch {
    grid-column: 1 / -1;
  }
  .sidebar .language-switch {
    justify-self: start;
  }
  .sidebar > button {
    font-size: 0.8rem;
    padding: 10px;
  }
  .admin-main {
    padding: 26px 16px;
  }
  .settings-save .btn {
    width: 100%;
  }
  .payment-row {
    flex-wrap: wrap;
  }
  .tracking {
    padding: 0 16px;
  }
  .booking-followup {
    padding: 20px 16px;
  }
  .private-link-callout {
    padding: 16px;
  }
  .hero-preview {
    height: 250px;
  }
}
@media (max-width: 360px) {
  .public-header {
    padding: 14px 16px;
  }
  .public-header .brand-logo {
    max-width: 48px;
  }
  .detail-specs {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
}
.hero-credit {
  position: absolute;
  right: 5%;
  bottom: 51px;
  left: 5%;
  text-align: right;
}
.hero-credit .sample-credit {
  font-size: 10px;
  margin: 0;
}
@media (max-width: 760px) {
  .hero-credit {
    bottom: 52px;
    left: 20px;
    right: 20px;
    text-align: left;
  }
}
@media (max-width: 760px) {
  .table-wrap::before {
    content: attr(data-hint);
    display: block;
    position: sticky;
    left: 0;
    padding: 12px 16px;
    color: var(--muted);
    font-size: 0.8rem;
    background: #142034;
  }
  .modal input,
  .modal select,
  .modal textarea {
    scroll-margin-top: 145px;
    scroll-margin-bottom: 110px;
  }
}

/* 1.4 · Clear operational views and customer self-service. */
.badge.red {
  background: #45252c;
  color: #ffb4bd;
  border-color: #7d414d;
}
.recovery-page {
  max-width: 820px;
  min-height: 65vh;
}
.recovery-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}
.recovery-page .panel {
  margin-top: 24px;
}
.recovery-page input {
  max-width: 100%;
}
.recovery-page b {
  overflow-wrap: anywhere;
}
.recovered-list,
.customer-directory,
.history-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.recovered-list h2 {
  font-size: 1.35rem;
  margin: 20px 0 12px;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 24px 0;
}
.pagination span {
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}
.customer-options {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  max-height: 300px;
  overflow: auto;
}
.customer-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
}
.customer-options .customer-option {
  padding: 14px;
  background: #17263d;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.customer-option:hover {
  border-color: #638ccc;
  background: #182b45;
}
.customer-option small {
  color: var(--muted);
  line-height: 1.6;
}
.customer-option > span {
  color: #9bbfff;
  font-size: 0.85rem;
}
.customer-picker {
  margin: 22px 0;
}
.customer-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.customer-totals .panel {
  display: grid;
  gap: 12px;
}
.customer-totals strong {
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}
.customer-totals span {
  color: var(--muted);
  font-size: 0.85rem;
}
.proof-review-grid {
  display: grid;
  gap: 20px;
  margin: 20px 0;
}
.proof-review-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  background: #091220;
  border-radius: 8px;
}
.proof-review-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 14px 0;
}
.proof-review-meta small {
  color: var(--muted);
}
.proof-review-card h3 {
  margin-top: 24px;
}
.daily-operations {
  margin: 0 0 32px;
}
.daily-operations > label {
  max-width: 270px;
  margin-bottom: 20px;
}
.daily-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.daily-group h3 {
  margin: 0;
}
.daily-group .panel-heading {
  margin-bottom: 10px;
}
.operation-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 14px;
  padding: 18px 0;
  text-align: left;
  border-top: 1px solid var(--border);
}
.operation-item > div {
  min-width: 0;
  overflow-wrap: anywhere;
}
.operation-item small {
  display: block;
  color: var(--muted);
  line-height: 1.65;
  margin-top: 5px;
}
.operation-item > span {
  color: #9bbfff;
  font-size: 0.8rem;
}
.operation-item:hover {
  color: #aaccff;
}
.overdue-alert {
  padding: 20px;
  margin-bottom: 22px;
  background: #321d29;
  border: 1px solid #793948;
  border-radius: 12px;
}
.overdue-alert strong {
  color: #ffb6be;
}
.overdue-alert p {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #eac4cc;
}
.daily-group.is-overdue {
  border-color: #723d4b;
}
.booking-calendar {
  margin: 0 0 36px;
}
.calendar-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}
.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.calendar-scroll {
  max-width: 100%;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  overscroll-behavior-x: contain;
}
.calendar-board {
  display: grid;
  grid-template-columns: 180px repeat(7, minmax(145px, 1fr));
  min-width: 1195px;
  background: #101a29;
}
.calendar-head {
  padding: 16px 12px;
  background: #192840;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: capitalize;
}
.calendar-board .vehicle-label {
  position: sticky;
  left: 0;
  z-index: 1;
  background: #152238;
  padding: 18px 14px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.vehicle-label strong,
.vehicle-label small {
  display: block;
  overflow-wrap: anywhere;
}
.vehicle-label small {
  color: var(--muted);
  margin: 8px 0;
}
.calendar-cell {
  min-height: 130px;
  padding: 8px;
  border-right: 1px solid #22344b;
  border-bottom: 1px solid #22344b;
}
.calendar-board .today {
  background: #182c49;
}
.calendar-event {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 12px 9px;
  background: #1a3b68;
  border: 1px solid #386095;
  border-left: 3px solid #81adff;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 0.75rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.calendar-event small {
  font-size: 0.7rem;
  color: #d1dcee;
}
.calendar-event.active-rental {
  background: #173f38;
  border-color: #37705f;
  border-left-color: #6bc8ad;
}
.calendar-event.overdue {
  background: #452831;
  border-color: #894a59;
  border-left-color: #ff9eac;
}
.calendar-event.maintenance {
  background: #3b341d;
  border-color: #6d5d31;
  border-left-color: #e6c56d;
  cursor: default;
  opacity: 1;
}
.calendar-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.calendar-list h3 {
  text-transform: capitalize;
}
.calendar-list .calendar-event {
  font-size: 0.9rem;
}
.calendar-list .calendar-event small {
  font-size: 0.8rem;
}
.calendar-list .hint {
  margin-bottom: 8px;
}
.admin-created input {
  font-size: 0.85rem;
}
.public-header {
  height: auto;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.public-header nav {
  flex-wrap: wrap;
  gap: 18px;
}
@media (max-width: 1100px) {
  .calendar-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .calendar-controls > .button-row {
    grid-column: 1/-1;
  }
  .customer-totals {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 760px) {
  .recovered-list,
  .customer-directory,
  .history-cards,
  .calendar-list,
  .daily-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .calendar-controls {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .calendar-controls > .button-row {
    grid-column: auto;
  }
  .daily-operations > label {
    max-width: none;
  }
  .pagination {
    flex-wrap: wrap;
  }
  .pagination span {
    order: -1;
    width: 100%;
  }
  .pagination .btn {
    flex: 1;
  }
  .proof-review-card {
    padding: 16px;
  }
  .proof-review-card .button-row > * {
    flex: 1 1 170px;
  }
  .operation-item {
    align-items: flex-start;
  }
  .operation-item > span {
    padding: 6px 0;
  }
  .admin-created input {
    font-size: 16px;
  }
}

/* 1.5: one brand lockup, responsive logo sizing and manual payment channels. */
.brand .brand-logo {
  display: block;
  width: var(--logo-width, 240px);
  max-width: min(var(--logo-width, 240px), 100%);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  object-position: left center;
  flex: 0 1 auto;
}
.brand-with-name .brand-logo { max-width: min(var(--logo-width, 240px), 42%); }
.brand-copy { min-width: 0; }
.brand-logo-only { width: min(var(--logo-width, 240px), 100%); max-width: 100%; }
.sidebar .brand .brand-logo { max-height: 64px; }
.public-header .logo-button { min-width: 0; flex: 0 1 auto; }
.identity-preview {
  display: grid;
  gap: 14px;
  padding: 18px;
  margin-bottom: 16px;
  border: 1px dashed #4c5d77;
  border-radius: 12px;
  background: #0c111b;
  min-width: 0;
}
.identity-preview > small { color: var(--muted); }
.identity-preview.mobile-preview { max-width: 320px; }
.identity-preview.mobile-preview .brand-logo { max-height: 58px; }
.identity-preview.mobile-preview .brand strong { font-size: 1rem; letter-spacing: .6px; }
.identity-preview.mobile-preview .brand small { letter-spacing: 1px; }
.logo-size-control output { color: var(--muted); font-size: .85rem; }
.logo-size-control input[type=range] { width: 100%; min-height: 44px; accent-color: var(--accent); }
.payment-choice { margin-top: 22px; padding: 20px; background: #101c2e; border: 1px solid var(--border); border-radius: 12px; }
.accepted-payments { margin-top: 18px; min-width: 0; }
.accepted-payments > strong { color: var(--muted); font-size: .8rem; font-weight: 500; }
.accepted-payments ul { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: 10px 0 0; list-style: none; }
.accepted-payments li { padding: 7px 11px; border: 1px solid #35445b; border-radius: 7px; color: #c7d2e4; font-size: .8rem; line-height: 1.2; }
.accepted-payments li.primary-method { background: #1b2d49; border-color: #476189; color: white; }
.accepted-payments.compact li { font-size: .75rem; }
.digital-payment-settings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.digital-payment-editor { border: 1px solid var(--border); border-radius: 12px; padding: 18px; min-width: 0; }
.digital-payment-editor > .check-label { margin: 0; min-height: 44px; flex-wrap: wrap; }
.digital-payment-editor > .check-label > .muted { margin-left: auto; font-size: .8rem; }
.digital-payment-fields { display: grid; gap: 14px; padding-top: 12px; }
.digital-payment-fields .hint { margin: 0; }
.digital-instructions dl { margin: 16px 0; }
.digital-instructions dl > div { margin: 12px 0; }
.digital-instructions dt { color: var(--muted); font-size: .8rem; }
.digital-instructions dd { margin: 4px 0 0; overflow-wrap: anywhere; font-weight: 600; }
.payment-instructions-text { white-space: pre-wrap; overflow-wrap: anywhere; }
@media(max-width: 760px) {
  .public-header .brand .brand-logo { width: var(--logo-width, 240px); max-width: min(var(--logo-width, 240px), 100%); height: auto; max-height: 58px; }
  .public-header .brand-with-name .brand-logo { max-width: 42%; }
  .public-footer .brand .brand-logo { max-height: 68px; }
  .payment-choice { padding: 16px; }
  .digital-payment-settings { grid-template-columns: minmax(0, 1fr); }
}
