/* Airparkly international interface system — 2026-07-22 */
:root {
  --ink: #34475c;
  --ink-strong: #1c334a;
  --muted: #6f7f92;
  --muted-strong: #53677d;
  --line: #dfe5ec;
  --line-strong: #c7d0dc;
  --paper: #ffffff;
  --paper-soft: #fbfcfe;
  --soft: #f4f7fa;
  --surface: #ffffff;
  --surface-tint: #ecf8f5;
  --brand: #0a8f78;
  --brand-dark: #07725f;
  --brand-strong: #055c4d;
  --brand-soft: #e7f6f2;
  --blue: #246bfd;
  --blue-soft: #eef4ff;
  --success: #138a63;
  --success-soft: #eaf7f2;
  --warning: #c87814;
  --warning-soft: #fff7e8;
  --danger: #c24141;
  --danger-soft: #fff0f0;
  --upgrade-ink: #20384f;
  --upgrade-green: #0a8f78;
  --upgrade-lime: #b9e769;
  --upgrade-soft: #f3f8f7;
  --button-bg: #0a8f78;
  --button-bg-hover: #07725f;
  --shadow: 0 24px 60px rgba(7, 27, 45, 0.12);
  --shadow-soft: 0 12px 34px rgba(7, 27, 45, 0.07);
  --shadow-card: 0 16px 44px rgba(7, 27, 45, 0.08);
  --shadow-focus: 0 0 0 4px rgba(10, 143, 120, 0.14);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #f4f7fa;
  color: var(--ink);
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: rgba(36, 107, 253, 0.18);
  color: #20384f;
}

/* Brand and global navigation */
.topbar {
  min-height: 76px;
  gap: 28px;
  padding: 0 clamp(20px, 3vw, 46px);
  border-bottom: 1px solid rgba(199, 208, 220, 0.72);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px rgba(7, 27, 45, 0.055);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  gap: 11px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  width: 39px;
  height: 39px;
  overflow: hidden;
  border-radius: 12px 12px 12px 4px;
  background: linear-gradient(145deg, #0d9f84 0%, #087460 100%);
  color: #fff;
  box-shadow: 0 10px 24px rgba(10, 143, 120, 0.22);
  font-size: 1.08rem;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand-mark::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 7px;
  width: 13px;
  height: 2px;
  border-radius: 99px;
  background: #b9e769;
  box-shadow: -4px -4px 0 -0.5px rgba(255, 255, 255, 0.82);
  transform: rotate(-32deg);
}

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

.brand-copy strong {
  color: #20384f;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.brand-copy small {
  color: #758297;
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.nav {
  gap: 4px;
}

.nav a {
  min-height: 42px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: #445268;
  font-size: 0.88rem;
  font-weight: 780;
}

.nav a:hover,
.nav a.active {
  border: 0;
  background: #edf7f4;
  color: #076c5a;
}

.manage-booking-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid #d8e1e9;
  border-radius: 10px;
  background: #fff;
  color: #213247;
  font-size: 0.84rem;
  font-weight: 850;
}

.manage-booking-link:hover {
  border-color: #9fbab4;
  background: #f3f9f7;
}

.account-switcher {
  gap: 6px;
  padding: 0;
  border: 0;
  border-color: #dce4eb;
  border-radius: 12px;
  background: transparent;
  box-shadow: none;
}

.account-switcher #roleSelect,
.side-action-bar {
  display: none !important;
}

.partner-access-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 12px;
  border-radius: 9px;
  color: #53677d;
  font-size: 0.8rem;
  font-weight: 820;
  white-space: nowrap;
}

.partner-access-link:hover,
.partner-access-link:focus-visible {
  background: #edf7f4;
  color: #076c5a;
}

body[data-page="provider"] .partner-access-link {
  display: none;
}

.account-switcher select,
.account-switcher button {
  border-radius: 9px;
}

.account-switcher button {
  background: #071b2d;
  box-shadow: none;
}

.account-switcher button::before {
  background: #b9e769;
  box-shadow: 0 0 0 4px rgba(185, 231, 105, 0.16);
}

body[data-page="home"] .account-switcher select,
body[data-page="home"] .side-action-bar {
  display: none;
}

.api-status {
  display: none;
}

body[data-page="admin"] .api-status {
  display: inline-grid;
}

body[data-page="home"] .account-switcher {
  margin-left: auto;
  border: 0;
  padding: 0;
}

.language {
  border: 1px solid #d9e2ea;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(7, 27, 45, 0.11);
}

/* Typography and shared surfaces */
h1,
h2,
h3,
h4 {
  color: #20384f;
  text-wrap: balance;
}

h1,
h2 {
  letter-spacing: -0.04em;
}

p {
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(185, 231, 105, 0.36);
  border-radius: 999px;
  background: rgba(185, 231, 105, 0.11);
  color: #e1f6b4;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  min-height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #087865;
  letter-spacing: 0.09em;
}

.content-section,
.workspace,
.account-panel,
.customer-band,
.split-band,
.provider-band,
.admin-band,
.help-center,
.legal-pages-section,
.seo-airport-page {
  width: min(1220px, calc(100% - 36px));
}

.content-section,
.account-panel,
.customer-band,
.split-band,
.help-center,
.legal-pages-section,
.seo-airport-page {
  border: 1px solid rgba(208, 218, 228, 0.82);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 42px rgba(7, 27, 45, 0.055);
}

.single-page main {
  padding-top: 38px;
  background:
    radial-gradient(circle at 8% 0%, rgba(10, 143, 120, 0.075), transparent 25%),
    radial-gradient(circle at 95% 4%, rgba(36, 107, 253, 0.06), transparent 24%),
    #f4f7fa;
}

.section-head,
.results-head,
.provider-head,
.admin-head,
.customer-card-head,
.dashboard-card-head {
  gap: 22px;
}

.section-head h2,
.results-head h2,
.provider-head h2,
.admin-head h2 {
  max-width: 800px;
  color: #20384f;
  letter-spacing: -0.035em;
}

button,
a,
input,
select,
textarea {
  transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

input,
select,
textarea {
  border-color: #d7e0e8;
  background: #fff;
}

input:hover,
select:hover,
textarea:hover {
  border-color: #b7c4d0;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #4da895;
  outline: 3px solid rgba(10, 143, 120, 0.12);
  box-shadow: none;
}

.confirm-button,
.book-button,
#seedBooking,
.section-action,
.primary-link,
.help-search button,
.filter-button {
  border-radius: 10px;
  background: #0a8f78;
  box-shadow: none;
}

.confirm-button:hover,
.book-button:hover,
#seedBooking:hover,
.section-action:hover,
.primary-link:hover,
.help-search button:hover,
.filter-button:hover {
  background: #07725f;
  box-shadow: 0 10px 24px rgba(10, 143, 120, 0.18);
  transform: translateY(-1px);
}

.secondary-button,
.secondary-link,
.auth-side-link {
  border-color: #d7e0e8;
  border-radius: 10px;
  background: #fff;
  color: #26374b;
}

table {
  border-collapse: separate;
  border-spacing: 0;
}

th {
  background: #f3f6f9;
  color: #536177;
  font-size: 0.72rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

td {
  border-color: #e6ebf0;
}

/* Homepage */
.hero {
  min-height: 690px;
  background: #071b2d;
}

.hero-slide img {
  filter: saturate(0.8) contrast(1.03);
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(4, 20, 34, 0.97) 0%, rgba(4, 20, 34, 0.83) 48%, rgba(4, 20, 34, 0.38) 100%);
}

.hero-tech-layer,
.hero-ops-panel,
.hero-slider-controls,
.hero-slide-meta {
  display: none;
}

.hero-content {
  width: min(1180px, calc(100% - 36px));
  padding: 78px 0 112px;
}

.hero-content h1 {
  max-width: 850px;
  font-size: clamp(2.9rem, 5.5vw, 5.3rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.83);
  font-size: 1.12rem;
}

.hero-metrics span {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(3, 20, 31, 0.52);
  box-shadow: none;
}

.hero-metrics strong {
  color: #b9e769;
}

.hero-metrics span::after,
.search-panel::before,
.trust-band div::after {
  display: none;
}

.search-panel {
  max-width: 1130px;
  gap: 9px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.28);
}

.search-panel label {
  border-color: #dee5eb;
  border-radius: 11px;
  background: #fff;
}

.search-panel button {
  min-width: 195px;
  border-radius: 11px;
  background: #b9e769;
  color: #142410;
  box-shadow: none;
}

.search-panel button:hover {
  background: #c9ef80;
  color: #0d1b0b;
}

.hero-service-row {
  padding: 4px 2px 0;
}

.hero-service-row a {
  border: 0;
  background: transparent;
  color: #365c58;
}

.trust-band {
  border-color: #dbe3ea;
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(7, 27, 45, 0.1);
}

.trust-band div {
  min-height: 98px;
  border-color: #e2e8ee;
  background: #fff;
}

.trust-band strong {
  color: #20384f;
}

.conversion-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 18px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 64px;
  padding: 18px 20px;
  border: 1px solid #dce6e3;
  border-radius: 18px;
  background: #f1f8f6;
}

.conversion-proof > div {
  display: flex;
  gap: 11px;
  align-items: center;
}

.conversion-proof p {
  display: grid;
  gap: 2px;
  margin: 0;
  line-height: 1.35;
}

.conversion-proof small {
  color: #657671;
}

.proof-icon {
  display: grid;
  flex: 0 0 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #dcefc7;
  color: #254a21;
  font-weight: 950;
}

.conversion-proof > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  background: #071b2d;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.platform-quality-strip,
.platform-360-section,
.journey-tech-section,
.eu-map-section,
.global-portal-section,
.eu-capital-strip {
  display: none;
}

.benefit-grid article,
.steps-list article,
.parking-options-copy article {
  border: 1px solid #e0e6ec;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.benefit-grid article:hover,
.popular-grid article:hover {
  border-color: #b9d4cd;
  box-shadow: 0 14px 32px rgba(7, 27, 45, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  border-radius: 10px;
  background: #e7f6f2;
  color: #08725f;
}

.feature-icon.accent {
  background: #eef4ff;
  color: #246bfd;
}

.popular-grid article {
  display: grid;
  grid-template-rows: 170px auto;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: 18px;
  background: #fff;
  color: #20384f;
  box-shadow: none;
}

.popular-grid img {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: 170px;
  opacity: 1;
  filter: saturate(0.9) contrast(0.96) brightness(1.08);
  object-fit: cover;
}

.popular-grid article > div {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 18px;
  background: #fff;
}

.popular-grid h3 {
  margin: 0;
  color: #20384f;
  font-size: 1.05rem;
  line-height: 1.25;
}

.popular-grid button {
  width: 100%;
  border-radius: 9px;
  background: #0a8f78;
}

.steps-card {
  overflow: hidden;
  border: 1px solid #e0e6ec;
  border-radius: 20px;
  box-shadow: none;
}

.reviews-section {
  background: #fff;
}

.review-hero,
.review-list article,
.review-form,
.review-stats article {
  border-color: #e0e6ec;
  border-radius: 16px;
  box-shadow: none;
}

/* Search and booking */
.workspace {
  gap: 20px;
}

.filters,
.results-area {
  border: 1px solid #dfe6ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(7, 27, 45, 0.06);
}

.filters {
  top: 96px;
}

.filter-subtitle {
  color: #405065;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.check {
  border-radius: 9px;
}

.check:hover {
  background: #f1f7f5;
}

.filter-trust-box,
.results-trust-note,
.placement-notice,
.results-aftercare article {
  border-color: #dbe7e4;
  border-radius: 13px;
  background: #f2f8f6;
}

.results-portal-hero {
  border-radius: 20px;
  background: linear-gradient(135deg, #071b2d, #0b3b49);
  box-shadow: none;
}

.results-reality-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.results-reality-strip span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 820;
}

.results-reality-strip b {
  color: #b9e769;
}

.results-data-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 15, 25, 0.26);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  line-height: 1.45;
}

.results-data-note b {
  color: #fff;
}

.results-telemetry,
.ai-search-panel {
  border-color: #dfe6ed;
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: none;
}

.offer-list > article,
.offer-card {
  overflow: hidden;
  border: 1px solid #dfe6ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(7, 27, 45, 0.055);
}

.offer-list > article:hover,
.offer-card:hover {
  border-color: #b5cec8;
  box-shadow: 0 18px 38px rgba(7, 27, 45, 0.09);
  transform: translateY(-2px);
}

.offer-verification-pill,
.fresh-offer-pill.preview {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 27px;
  padding: 5px 10px;
  border: 1px solid #c8ddd8;
  border-radius: 999px;
  background: #edf7f5;
  color: #08725f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.offer-rating-line small {
  color: #617086;
  font-size: 0.78rem;
  font-weight: 760;
}

.offer-reality-note {
  display: grid;
  gap: 5px;
  padding: 14px 15px;
  border: 1px solid #d8e4e1;
  border-radius: 13px;
  background: linear-gradient(135deg, #f3f8f7, #fff);
}

.offer-reality-note strong {
  color: #20384f;
  font-size: 0.86rem;
}

.offer-reality-note span {
  color: #617086;
  font-size: 0.78rem;
  line-height: 1.5;
}

.offer-cancel-note {
  color: #526277;
  font-size: 0.8rem;
  line-height: 1.4;
}

.review-empty-state {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 26px;
  border: 1px dashed #bfd2ce;
  border-radius: 16px;
  background: #f6faf9;
}

.review-empty-state > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 12px;
  background: #e6f4f1;
  color: #08725f;
  font-size: 1.2rem;
}

.review-empty-state strong {
  display: block;
  margin-bottom: 6px;
  color: #20384f;
}

.review-empty-state p {
  margin: 0;
  color: #617086;
  line-height: 1.6;
}

.review-form-lock {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid #d8e4e1;
  border-radius: 14px;
  background: #f3f8f7;
}

.review-form-lock strong {
  color: #20384f;
}

.review-form-lock p {
  margin: 0;
  color: #617086;
  font-size: 0.86rem;
  line-height: 1.55;
}

.review-form-lock a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 40px;
  margin-top: 4px;
  padding: 0 16px;
  border-radius: 9px;
  background: #08725f;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
}

.review-form.is-locked > label,
.review-form.is-locked > button[type="submit"] {
  display: none;
}

.booking-form,
.booking-quick-summary,
.booking-payment-note,
.booking-trust-strip,
.filter-dialog,
.airport-dialog-panel {
  border-color: #dfe6ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
}

.booking-step {
  border-color: #dfe6ed;
  border-radius: 14px;
}

/* Account and customer portal */
.account-workspace,
.customer-workbench,
.customer-portal-grid {
  gap: 20px;
}

.auth-card,
.guest-booking-lookup-card,
.role-zone,
.portal-card,
.customer-hero-card,
.customer-summary > article,
.customer-portal-app > article,
.customer-feature-status > article {
  border: 1px solid #dfe6ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.auth-tabs,
.customer-tabs {
  border: 1px solid #dfe6ed;
  border-radius: 12px;
  background: #f4f7fa;
}

.auth-tabs button,
.customer-tabs a,
.customer-tabs button {
  border-radius: 9px;
}

.auth-tabs button.active,
.customer-tabs .active {
  background: #fff;
  color: #08725f;
  box-shadow: 0 4px 12px rgba(7, 27, 45, 0.07);
}

.customer-live-pill,
.role-zone-icon {
  background: #eaf6f3;
  color: #08725f;
}

.customer-hero-card {
  border-color: rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 231, 105, 0.16), transparent 22rem),
    linear-gradient(135deg, #071b2d 0%, #0b3b49 100%) !important;
  color: #fff;
  box-shadow: 0 18px 46px rgba(7, 27, 45, 0.12);
}

.customer-hero-card h3 {
  color: #fff;
}

.customer-filter-grid label {
  border-color: #dfe6ed;
  border-radius: 10px;
  background: #f8fafc;
}

/* Airport, SEO, help and legal */
.airport-photo-feature,
.airport-card,
.seo-service-card,
.seo-faq-panel,
.seo-link-panel,
.seo-content-grid article,
.seo-deep-grid article {
  border-color: #dfe6ed;
  border-radius: 16px;
  box-shadow: none;
}

.airport-card {
  display: grid;
  grid-template-rows: 142px auto auto;
  min-height: 0;
  overflow: hidden;
  padding: 0 0 16px;
  background: #fff !important;
  background-image: none !important;
  color: #20384f;
}

.airport-card img {
  width: 100%;
  height: 142px;
  opacity: 1;
  filter: saturate(0.9) contrast(0.96) brightness(1.08);
  object-fit: cover;
}

.airport-card strong {
  padding: 16px 16px 0;
  color: #20384f;
  font-size: 0.98rem;
  line-height: 1.25;
}

.airport-card span {
  width: fit-content;
  margin: 8px 16px 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #e9f6f2;
  color: #08725f;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.airport-card:hover {
  border-color: #b9d2cc;
  box-shadow: 0 14px 32px rgba(7, 27, 45, 0.08);
  transform: translateY(-2px);
}

.airport-photo-feature::after {
  background: linear-gradient(180deg, rgba(4, 20, 34, 0.02), rgba(4, 20, 34, 0.5));
}

.portal-card {
  background-image: none !important;
}

.seo-hero {
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(135deg, #071b2d, #0b3b49);
}

.help-hero {
  border-radius: 22px 22px 0 0;
  background: linear-gradient(135deg, #071b2d 0%, #0a3946 100%);
}

.help-ai-eyebrow,
.help-section-kicker {
  color: #b9e769;
}

.help-service-card,
.help-card,
.help-route-card,
.help-ai-panel,
.help-contact-panel,
.help-trust-row > div {
  border-color: #dfe6ed;
  border-radius: 16px;
  box-shadow: none;
}

.help-ai-suggestions button {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.legal-shell {
  gap: 24px;
}

.legal-sidebar,
.legal-document {
  border-color: #dfe6ed;
  border-radius: 18px;
  background: #fff;
  box-shadow: none;
}

.legal-tabs a.active,
.legal-tabs a:hover {
  background: #eaf6f3;
  color: #08725f;
}

/* Provider workspace */
.provider-band,
.admin-band {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.provider-console {
  overflow: hidden;
  border: 1px solid #dbe3eb;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(7, 27, 45, 0.08);
}

.provider-side {
  background: #071b2d;
}

.provider-logo span {
  border-radius: 11px;
  background: #0a8f78;
  color: #fff;
}

.provider-side nav button {
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.72);
}

.provider-side nav button:hover,
.provider-side nav button.active {
  background: rgba(185, 231, 105, 0.11);
  color: #fff;
}

.provider-side nav button.active {
  box-shadow: inset 3px 0 #b9e769;
}

.provider-main {
  background: #f4f7fa;
}

.provider-head,
.provider-actionbar,
.portal-experience-strip,
.provider-control-strip,
.provider-dashboard-hero,
.provider-work-card,
.provider-network-board,
.provider-command-center,
.provider-portal-hero-card,
.provider-support-board,
.provider-table-wrap {
  border-color: #dfe6ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.provider-dashboard-hero,
.provider-portal-hero-card {
  background: linear-gradient(135deg, #071b2d, #0b3b49);
}

.provider-actionbar button,
.provider-head-actions button,
.provider-settings-grid button {
  border-color: #d7e0e8;
  border-radius: 9px;
}

.provider-stats > article,
.dashboard-cards > article,
.provider-control-strip article,
.portal-experience-strip article {
  border-color: #dfe6ed;
  box-shadow: none;
}

/* Admin workspace */
.admin-head,
.admin-hero-card,
.admin-priority-card,
.admin-operator-card,
.analytics-panel,
.admin-table-wrap,
.outbox-panel,
.audit-panel,
.admin-people-panel,
.admin-actions > article,
.admin-intensive-panel > article,
.metric-grid > div {
  border-color: #dfe6ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
}

.admin-hero-card {
  background: linear-gradient(135deg, #071b2d, #0b3b49);
}

.admin-health {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.metric-grid > div {
  border-top: 3px solid #0a8f78;
}

.admin-mini-form {
  gap: 14px;
}

.admin-table-wrap,
.provider-table-wrap {
  overflow: auto;
}

/* Footer */
.site-footer,
footer#support {
  background: #071b2d;
}

.footer-tech-grid,
.footer-route-line,
.footer-signal-bars,
.footer-designed {
  display: none;
}

.footer-cta {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background: #0a2438;
  box-shadow: none;
}

.footer-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 27, 45, 0.2), rgba(7, 27, 45, 0.92));
}

.footer-cta > div,
.footer-control-panel {
  position: relative;
  z-index: 1;
}

.footer-live-pill {
  border-color: rgba(185, 231, 105, 0.3);
  background: rgba(185, 231, 105, 0.1);
  color: #dff4b6;
}

.footer-control-panel {
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
}

.footer-main {
  border-color: rgba(255, 255, 255, 0.1);
}

.footer-wordmark,
.footer-bottom-logo {
  display: inline-flex;
  gap: 9px;
  align-items: center;
}

.footer-wordmark span,
.footer-bottom-logo span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 9px 9px 9px 3px;
  background: #0a8f78;
  color: #fff;
  font-weight: 950;
}

.footer-status-feed small {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.06);
}

.footer-bottom-line {
  border-color: rgba(255, 255, 255, 0.1);
}

/* Focused, route-safe authentication experience */
.auth-support-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: -2px;
}

.auth-support-row button,
.auth-support-row a {
  min-height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #53677d;
  font-size: 0.78rem;
  font-weight: 780;
  cursor: pointer;
}

.auth-support-row button:hover,
.auth-support-row button:focus-visible,
.auth-support-row a:hover,
.auth-support-row a:focus-visible {
  color: #07725f;
}

.secure-access-badge,
.account-assurance-list,
.account-help-link {
  display: none;
}

body[data-auth-role-locked] [data-route-role-field] {
  display: none !important;
}

body.auth-required[data-page="customer"] main,
body.auth-required[data-page="provider"] main,
body.auth-required[data-page="admin"] main {
  min-height: calc(100svh - 76px);
  padding: clamp(32px, 5vw, 70px) 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(10, 143, 120, 0.11), transparent 28rem),
    radial-gradient(circle at 100% 30%, rgba(36, 107, 253, 0.08), transparent 30rem),
    #f4f7fa;
}

body.auth-required[data-page="customer"] .account-panel,
body.auth-required[data-page="provider"] .account-panel,
body.auth-required[data-page="admin"] .account-panel {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
  align-items: stretch;
  justify-content: stretch;
  width: min(1040px, calc(100% - 40px));
  min-height: 640px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8e1e9;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(7, 27, 45, 0.12);
}

body.auth-required[data-page="customer"] .account-panel > div.account-route-intro:first-child,
body.auth-required[data-page="provider"] .account-panel > div.account-route-intro:first-child,
body.auth-required[data-page="admin"] .account-panel > div.account-route-intro:first-child {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(185, 231, 105, 0.2), transparent 18rem),
    linear-gradient(145deg, #071b2d 0%, #0a3341 100%);
  color: #fff;
}

body.auth-required[data-page="provider"] .account-route-intro {
  background:
    radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.2), transparent 18rem),
    linear-gradient(145deg, #071b2d 0%, #15384b 100%);
}

body.auth-required[data-page="admin"] .account-route-intro {
  background:
    radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.22), transparent 18rem),
    linear-gradient(145deg, #0b1425 0%, #1d2440 100%);
}

body.auth-required .account-route-intro::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -92px;
  width: 250px;
  height: 250px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255, 255, 255, 0.025),
    0 0 0 60px rgba(255, 255, 255, 0.018);
}

body.auth-required .account-route-intro > * {
  position: relative;
  z-index: 1;
}

body.auth-required .secure-access-badge {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 28px;
  padding: 0 11px;
  border: 1px solid rgba(185, 231, 105, 0.34);
  border-radius: 999px;
  background: rgba(185, 231, 105, 0.1);
  color: #dff4b6;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.auth-required .account-route-intro .eyebrow {
  margin: 0 0 10px;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.64);
}

body.auth-required .account-route-intro h2 {
  max-width: 420px;
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 3.2vw, 3.15rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

body.auth-required .account-route-intro > .muted {
  max-width: 390px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

body.auth-required .account-assurance-list {
  display: grid;
  gap: 13px;
  width: 100%;
  margin-top: 34px;
}

body.auth-required .account-assurance-list span {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
}

body.auth-required .account-assurance-list strong {
  color: #fff;
  font-size: 0.78rem;
}

body.auth-required .account-help-link {
  display: inline-flex;
  margin-top: 30px;
  color: #dff4b6;
  font-size: 0.82rem;
  font-weight: 850;
}

body.auth-required[data-page="customer"] .account-workspace,
body.auth-required[data-page="provider"] .account-workspace,
body.auth-required[data-page="admin"] .account-workspace {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}

body.auth-required[data-page="customer"] .auth-card,
body.auth-required[data-page="provider"] .auth-card,
body.auth-required[data-page="admin"] .auth-card {
  width: 100%;
  max-width: none;
  gap: 17px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.auth-required .auth-card::before {
  display: none;
}

body.auth-required[data-page="customer"] .auth-card > div:first-child,
body.auth-required[data-page="provider"] .auth-card > div:first-child,
body.auth-required[data-page="admin"] .auth-card > div:first-child {
  text-align: left;
}

body.auth-required[data-page="customer"] .auth-card h3,
body.auth-required[data-page="provider"] .auth-card h3,
body.auth-required[data-page="admin"] .auth-card h3 {
  color: #1c334a;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

body.auth-required[data-page="customer"] .auth-card p,
body.auth-required[data-page="provider"] .auth-card p,
body.auth-required[data-page="admin"] .auth-card p {
  max-width: none;
  margin: 6px 0 0;
}

body.auth-required .auth-tabs {
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
}

body.auth-required .auth-tabs button {
  min-height: 48px;
}

body.auth-required .auth-panel {
  gap: 13px;
}

body.auth-required .auth-card input,
body.auth-required .auth-card select {
  min-height: 54px;
  border-color: #ccd7e2;
  background: #fbfcfe;
}

body.auth-required .auth-card input:focus,
body.auth-required .auth-card select:focus {
  border-color: #0a8f78;
  background: #fff;
  box-shadow: var(--shadow-focus);
}

body.auth-required .auth-card .confirm-button {
  min-height: 56px;
  margin-top: 2px;
  background: linear-gradient(135deg, #0a8f78, #07725f);
  box-shadow: 0 16px 32px rgba(10, 143, 120, 0.18);
}

body.auth-required .auth-side-link {
  min-height: 46px;
  border-color: #d7e0e8;
  color: #34475c;
}

body.auth-required[data-page="admin"] [data-auth-tab="register"] {
  display: none;
}

body.auth-required[data-page="admin"] .auth-tabs {
  grid-template-columns: 1fr;
}

body.auth-required[data-page="provider"] .guest-booking-lookup-card,
body.auth-required[data-page="admin"] .guest-booking-lookup-card {
  display: none;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-card {
  max-width: none;
  margin: 24px 0 0;
  padding: 20px;
  border-radius: 14px;
  background: #f7fafc;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-card .eyebrow {
  min-height: auto;
  padding: 0;
  background: transparent;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-card h3 {
  font-size: 1rem;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-card p {
  font-size: 0.78rem;
  line-height: 1.5;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-form {
  grid-template-columns: 1fr 1fr;
}

body.auth-required[data-page="customer"] .guest-booking-lookup-form button {
  grid-column: 1 / -1;
}

body[data-page="customer"] footer,
body[data-page="provider"] footer,
body[data-page="admin"] footer {
  display: none !important;
}

/* Responsive */
@media (max-width: 1280px) {
  .topbar {
    gap: 16px;
  }

  .brand-copy small,
  .partner-access-link {
    display: none;
  }
}

@media (max-width: 1120px) {
  .brand-copy small {
    display: none;
  }

  .nav a {
    padding-inline: 9px;
  }

  .conversion-proof {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .topbar {
    min-height: 68px;
    padding-inline: 18px;
  }

  .manage-booking-link {
    display: none;
  }

  .account-switcher {
    grid-template-columns: minmax(0, 1fr) minmax(126px, auto);
  }

  .partner-access-link {
    min-height: 38px;
    justify-content: center;
    border: 1px solid #d8e1e9;
    background: #fff;
  }

  body.auth-required[data-page="customer"] .account-panel,
  body.auth-required[data-page="provider"] .account-panel,
  body.auth-required[data-page="admin"] .account-panel {
    grid-template-columns: minmax(0, 0.82fr) minmax(410px, 1.18fr);
  }

  .provider-console {
    border-radius: 18px;
  }

  .provider-side {
    background: #071b2d;
  }
}

@media (max-width: 760px) {
  .content-section,
  .workspace,
  .account-panel,
  .customer-band,
  .split-band,
  .provider-band,
  .admin-band,
  .help-center,
  .legal-pages-section,
  .seo-airport-page {
    width: min(100% - 20px, 1220px);
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 46px 0 76px;
  }

  .hero-content h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .search-panel {
    grid-template-columns: 1fr;
  }

  .search-panel button {
    width: 100%;
    min-height: 56px;
  }

  .trust-band {
    margin-top: -34px;
  }

  .conversion-proof {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    padding: 20px;
  }

  .conversion-proof > a {
    justify-content: center;
  }

  .content-section,
  .account-panel,
  .customer-band,
  .split-band,
  .help-center,
  .legal-pages-section,
  .seo-airport-page {
    border-radius: 18px;
  }

  body.auth-required[data-page="customer"] main,
  body.auth-required[data-page="provider"] main,
  body.auth-required[data-page="admin"] main {
    padding: 14px 0 28px;
  }

  body.auth-required[data-page="customer"] .account-panel,
  body.auth-required[data-page="provider"] .account-panel,
  body.auth-required[data-page="admin"] .account-panel {
    grid-template-columns: 1fr;
    width: min(100% - 20px, 620px);
    min-height: 0;
    border-radius: 18px;
  }

  body.auth-required[data-page="customer"] .account-route-intro,
  body.auth-required[data-page="provider"] .account-route-intro,
  body.auth-required[data-page="admin"] .account-route-intro {
    min-height: 245px;
    padding: 30px 26px;
  }

  body.auth-required .secure-access-badge {
    margin-bottom: 18px;
  }

  body.auth-required .account-route-intro h2 {
    font-size: clamp(1.9rem, 9vw, 2.7rem);
  }

  body.auth-required .account-route-intro > .muted {
    margin-top: 12px;
  }

  body.auth-required .account-assurance-list,
  body.auth-required .account-help-link {
    display: none;
  }

  body.auth-required[data-page="customer"] .account-workspace,
  body.auth-required[data-page="provider"] .account-workspace,
  body.auth-required[data-page="admin"] .account-workspace {
    padding: 28px 22px;
  }

  body.auth-required[data-page="customer"] .guest-booking-lookup-form {
    grid-template-columns: 1fr;
  }

  body.auth-required[data-page="customer"] .guest-booking-lookup-form button {
    grid-column: auto;
  }

  .auth-support-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-tabbar {
    border-top: 1px solid #dce4eb;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -8px 28px rgba(7, 27, 45, 0.08);
  }

  .mobile-tabbar a {
    color: #59677a;
  }

  .mobile-tabbar a.active {
    color: #08725f;
  }

  .footer-cta {
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
