:root {
  color-scheme: light;
  --bg: #f8fafc; /* Sleek, very light blue/grey */
  --bg-gradient: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  --ink: #0f172a;
  --muted: #64748b;
  --panel: rgba(255, 255, 255, 0.85); /* Glassmorphism base */
  --panel-solid: #ffffff;
  --line: rgba(203, 213, 225, 0.6);
  --blue: #0F5F9C;
  --blue-dark: #0B4E80;
  --blue-soft: #EAF4FB;
  --green: #059669; /* Emerald */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.08);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --blur: blur(16px);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Vendor dashboard pro refresh */
body:has(.vendor-page) {
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 184, 166, 0.13), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(245, 158, 11, 0.11), transparent 26%),
    linear-gradient(135deg, #eef4f8 0%, #f8fafc 45%, #edf7f3 100%);
}

.vendor-page {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 34px);
}

.vendor-shell {
  width: min(1480px, 100%);
  max-width: 1480px;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.vendor-hero-copy {
  max-width: 940px;
  margin: 0 auto 22px;
  padding: 18px 22px;
  border: 1px solid rgba(15, 95, 156, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.vendor-hero-pill {
  background: #ecfdf5;
  color: #047857;
}

.vendor-hero-title {
  margin: 6px 0 8px;
  color: #0b1f33;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0;
}

.vendor-dashboard-active .vendor-hero-copy {
  display: none;
}

.vendor-auth-grid {
  gap: 18px;
}

.vendor-app-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.vendor-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.vendor-side-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 52px);
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(10, 31, 53, 0.96), rgba(8, 47, 73, 0.96)),
    linear-gradient(135deg, rgba(20, 184, 166, 0.18), rgba(245, 158, 11, 0.12));
  box-shadow: 0 24px 60px rgba(6, 31, 49, 0.22);
}

.vendor-side-brand {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.vendor-side-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #dff7f2);
  color: #0f5f9c;
  font-size: 1.15rem;
  font-weight: 950;
}

.vendor-side-brand strong,
.vendor-side-brand small {
  display: block;
}

.vendor-side-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.vendor-side-nav {
  display: grid;
  gap: 7px;
}

.vendor-side-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-weight: 850;
  transition: var(--transition);
}

.vendor-side-nav a:hover,
.vendor-side-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  transform: translateX(2px);
}

.vendor-side-nav span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #9ff5e7;
  font-size: 0.75rem;
}

.vendor-side-note {
  align-self: end;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.vendor-side-note span,
.vendor-side-note strong {
  display: block;
}

.vendor-side-note span {
  margin-bottom: 5px;
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vendor-side-note strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.4;
}

.vendor-dashboard {
  gap: 18px;
}

.vendor-dashboard-head {
  align-items: center;
  padding: 22px 24px;
  border: 1px solid rgba(15, 95, 156, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 252, 0.9)),
    linear-gradient(90deg, rgba(20, 184, 166, 0.08), rgba(245, 158, 11, 0.08));
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
}

.vendor-dashboard-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  letter-spacing: 0;
}

.vendor-dashboard-head .admin-link {
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(185, 28, 28, 0.18);
  background: #fff7ed;
  color: #9a3412;
  font-weight: 900;
}

.vendor-card,
.vendor-room-card,
.vendor-rate-plan-card,
.vendor-offer-card,
.vendor-section-box,
.vendor-subcard,
.vendor-rate-plan-assignment,
.vendor-room-panel,
.vendor-meal-plan-card,
.vendor-upload-dropzone,
.vendor-amenities-grid,
.vendor-review-sync-card,
.vendor-calendar-shell,
.vendor-lock-banner {
  border-radius: 8px !important;
}

.vendor-card {
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid rgba(15, 95, 156, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06);
  transform: none;
}

.vendor-card:hover {
  transform: none;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09);
}

.vendor-card h2,
.vendor-card h3 {
  color: #0b1f33;
  letter-spacing: 0;
}

.vendor-card-head,
.vendor-flow-head,
.vendor-room-head {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.vendor-form-grid {
  gap: 14px 16px;
}

.field label,
.commission-slider-container label {
  color: #1f3349;
  font-size: 0.85rem;
  font-weight: 900;
}

.field span:not(.vendor-amenity-box):not(.vendor-amenity-icon):not(.vendor-amenity-copy):not(.vendor-amenity-check),
.help-text {
  color: #64748b;
}

.vendor-card input,
.vendor-card select,
.vendor-card textarea,
.vendor-modal-panel input,
.vendor-modal-panel select {
  min-height: 48px;
  border: 1px solid #d8e3ed;
  border-radius: 8px;
  background: #fbfdff;
  color: #0f172a;
  box-shadow: inset 0 1px 0 rgba(15, 23, 42, 0.02);
}

.vendor-card textarea {
  padding-top: 14px;
}

.vendor-card input:focus,
.vendor-card select:focus,
.vendor-card textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
  outline: none;
}

.vendor-card button,
.vendor-card .ghost-button,
.vendor-card .admin-link,
.vendor-section-toggle,
.vendor-section-save button,
.vendor-flow-step,
.upload-button {
  border-radius: 8px !important;
}

.vendor-card button:not(.ghost-button):not(.vendor-section-toggle):not(.vendor-room-card-toggle):not(.vendor-offer-card-toggle),
.vendor-section-save button,
#submit-vendor-application,
#bulk-save-btn {
  background: linear-gradient(135deg, #0f5f9c, #08756f) !important;
  border-color: rgba(8, 117, 111, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(8, 117, 111, 0.18) !important;
}

.vendor-card .ghost-button,
.vendor-flow-nav-inline .ghost-button,
.vendor-newsletter-download,
.upload-button {
  background: #f0fdfa !important;
  border-color: rgba(20, 184, 166, 0.22) !important;
  color: #0f766e !important;
  box-shadow: none !important;
}

.vendor-flow-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 251, 0.98)),
    linear-gradient(90deg, rgba(20, 184, 166, 0.08), transparent);
}

.vendor-flow-nav {
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.vendor-flow-step,
.vendor-flow-step.is-active {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, 0.18) !important;
  background: linear-gradient(135deg, #0c4a6e, #0f766e) !important;
  box-shadow: 0 12px 26px rgba(8, 47, 73, 0.16) !important;
}

.vendor-flow-step em,
.vendor-flow-step.is-complete em {
  width: fit-content;
  background: #ffffff !important;
  color: #0f766e !important;
}

#vendor-readiness-card {
  background: linear-gradient(135deg, #0b1f33, #0f5f9c) !important;
}

.vendor-amenities-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding: 14px;
  background: #f8fafc;
}

.vendor-amenity-box {
  min-height: 76px;
  border-radius: 8px;
  background: #ffffff;
}

.vendor-amenity-icon {
  border-radius: 8px;
  background: #ecfdf5;
  color: #0f766e !important;
}

.vendor-amenity-chip input:checked + .vendor-amenity-box {
  border-color: rgba(20, 184, 166, 0.52) !important;
  background: #f0fdfa !important;
}

.vendor-widget-card {
  border-color: rgba(245, 158, 11, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 251, 235, 0.76), rgba(255, 255, 255, 0.98));
}

.vendor-lock-banner {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(135deg, #fff7ed, #ffffff);
  color: #92400e;
}

.vendor-map-shell,
.osm-static-map {
  border-radius: 8px;
}

.vendor-dashboard.is-email-locked .vendor-card.is-readonly::before {
  border-radius: 8px;
}

@media (max-width: 1180px) {
  .vendor-app-layout {
    grid-template-columns: 1fr;
  }

  .vendor-side-panel {
    position: static;
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .vendor-page {
    padding: 12px;
  }

  .vendor-dashboard-head,
  .vendor-card-head,
  .vendor-flow-head,
  .vendor-room-head {
    align-items: flex-start;
  }

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

  .vendor-side-nav a {
    grid-template-columns: 28px minmax(0, 1fr);
    font-size: 0.86rem;
  }

  .vendor-auth-grid,
  .vendor-form-grid,
  .vendor-service-groups-editor {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .vendor-phone-row,
  .vendor-review-query-row {
    display: grid;
  }

  .vendor-phone-prefix,
  .vendor-flex-input,
  .vendor-map-search-button {
    width: 100%;
    min-width: 0;
  }
}

[hidden] {
  display: none !important;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg-gradient);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lead-gate-locked,
.lead-gate-locked body {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

input[readonly] {
  background: #edf4fb;
  color: var(--blue-dark);
  cursor: not-allowed;
}

#date_range_display[readonly] {
  cursor: pointer;
  background: #ffffff;
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 72px) 56px;
  color: #ffffff;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 24%, rgba(20, 184, 166, 0.26), transparent 30%),
    radial-gradient(circle at 78% 18%, rgba(14, 116, 144, 0.24), transparent 32%),
    linear-gradient(135deg, #07192a 0%, #0b3f5f 52%, #08283f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(7, 25, 42, 0.78), rgba(7, 25, 42, 0.42) 50%, rgba(7, 25, 42, 0.86)),
    linear-gradient(90deg, rgba(7, 25, 42, 0.48), rgba(7, 25, 42, 0.12) 54%, rgba(7, 25, 42, 0.34));
  pointer-events: none;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #07192a;
}

@media (max-width: 720px) {
  .hero {
    background:
      radial-gradient(circle at 18% 24%, rgba(20, 184, 166, 0.22), transparent 32%),
      linear-gradient(180deg, rgba(7, 25, 42, 0.92), rgba(12, 74, 110, 0.8) 52%, rgba(7, 25, 42, 0.94));
  }

  .hero-bg-video {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video {
    display: none;
  }
}

.hero > .nav,
.hero > .hero-content {
  position: relative;
  z-index: 1;
}

.lead-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  min-height: 100vh;
  padding: clamp(28px, 7vw, 86px);
  color: #ffffff;
  background:
    radial-gradient(circle at 18% 18%, rgba(20, 184, 166, 0.22), transparent 30%),
    radial-gradient(circle at 72% 12%, rgba(14, 116, 144, 0.24), transparent 30%),
    linear-gradient(135deg, #061623 0%, #0b3f5f 52%, #07192a 100%);
  overflow: hidden;
}

.lead-gate-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transform: translateZ(0);
}

.lead-gate-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 25, 42, 0.68), rgba(7, 25, 42, 0.24) 48%, rgba(7, 25, 42, 0.62)),
    rgba(7, 25, 42, 0.2);
  pointer-events: none;
}

.lead-gate-brand {
  position: absolute;
  top: clamp(22px, 4vw, 42px);
  left: clamp(24px, 5vw, 72px);
  z-index: 1;
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 900;
  letter-spacing: .01em;
  text-transform: lowercase;
}

.lead-gate-language {
  position: absolute;
  top: clamp(22px, 4vw, 42px);
  right: clamp(24px, 5vw, 72px);
  z-index: 2;
}

.lead-gate-language .language-selector-button {
  min-width: 138px;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(12, 16, 23, 0.64);
  color: #ffffff;
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.lead-gate-language .language-selector-button:hover,
.lead-gate-language:focus-within .language-selector-button {
  background: rgba(12, 16, 23, 0.82);
}

.lead-gate-language .language-selector-menu {
  right: 0;
  left: auto;
}

.lead-gate-copy,
.lead-gate-card {
  position: relative;
  z-index: 1;
}

.lead-gate-copy {
  max-width: 620px;
}

.lead-gate-copy h1 {
  margin: 0 0 20px;
  max-width: 600px;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: .01em;
}

.lead-gate-copy p:not(.eyebrow) {
  margin: 0;
  max-width: 560px;
  color: rgba(255,255,255,.86);
  font-size: clamp(1rem, 1.7vw, 1.35rem);
  line-height: 1.5;
}

.lead-gate-meta {
  margin-top: 16px !important;
  color: rgba(255,255,255,.92) !important;
  font-size: clamp(.9rem, 1.3vw, 1rem) !important;
  font-weight: 800;
}

.lead-gate-card {
  justify-self: center;
  width: 100%;
  max-width: 390px;
  background: rgba(12, 16, 23, 0.82);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  padding: clamp(24px, 3vw, 34px);
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
  backdrop-filter: blur(8px);
}

.lead-gate-card h2 {
  margin: 0 0 24px;
  text-align: center;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.18;
}

.lead-gate-card .eyebrow {
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .lead-gate-video {
    display: none;
  }
}

.lead-gate-form {
  display: grid;
  gap: 12px;
}

.lead-gate-card label {
  color: #ffffff;
}

.lead-gate-card input {
  min-height: 52px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.95);
  color: #10151d;
}

.lead-gate-card button {
  width: 100%;
  min-height: 54px;
  border-radius: 8px;
  background: #f3df49;
  color: #10151d;
}

.lead-gate-benefits {
  display: grid;
  gap: 9px;
  margin: 18px auto 0;
  padding: 0;
  width: max-content;
  max-width: 100%;
  list-style: none;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}

.lead-gate-benefits li {
  position: relative;
  padding-left: 28px;
}

.lead-gate-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid #f3df49;
  border-radius: 50%;
  color: #f3df49;
  font-size: .75rem;
  line-height: 1;
}

.lead-gate-benefits li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid #f3df49;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lead-gate-message,
.lead-gate-privacy {
  margin: 16px 0 0;
  text-align: center;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
  line-height: 1.55;
}

.lead-gate-message.error {
  border: 1px solid #ef8b7d;
  border-radius: 8px;
  background: rgba(122, 31, 23, 0.28);
  color: #ffe7e2;
  padding: 10px 12px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.brand,
.nav-link {
  color: #ffffff;
  text-decoration: none;
}

.brand {
  font-weight: 800;
  font-size: 1.05rem;
}

.nav-link {
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}

.nav-icon-link {
  min-width: 122px;
  height: 44px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
}

.nav-icon-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.nav-icon-link span {
  line-height: 1;
}

.language-selector,
.currency-selector {
  position: relative;
  z-index: 5;
}

.language-selector-button,
.currency-selector-button {
  min-width: 126px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.34);
  color: #ffffff;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: inherit;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.language-selector-button:hover,
.language-selector:focus-within .language-selector-button,
.currency-selector-button:hover,
.currency-selector:focus-within .currency-selector-button {
  background: rgba(15, 23, 42, 0.5);
}

.language-selector-flag,
.language-selector-menu img,
.currency-selector-flag,
.currency-selector-menu img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
}

.language-selector-fallback {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.92);
  color: #0f172a;
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", emoji, sans-serif;
  font-size: 1.05rem;
  line-height: 1;
  overflow: hidden;
}

.language-selector-arrow,
.currency-selector-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: currentColor transparent transparent transparent;
}

.language-selector-menu,
.currency-selector-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: max-content;
  min-width: 178px;
  max-height: 318px;
  overflow-y: auto;
  display: none;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.2);
}

.language-selector.is-open .language-selector-menu,
.language-selector:focus-within .language-selector-menu,
.currency-selector.is-open .currency-selector-menu,
.currency-selector:focus-within .currency-selector-menu {
  display: block;
  animation: languageSlideIn 0.18s ease-out;
}

.language-selector-menu li,
.currency-selector-menu li {
  min-height: 42px;
  border-radius: 8px;
  padding: 8px 10px;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.language-selector-menu li:hover,
.language-selector-menu li:focus,
.currency-selector-menu li:hover,
.currency-selector-menu li:focus {
  background: #eef6ff;
  color: #0f6096;
  outline: none;
}

.currency-selector-button {
  min-width: 104px;
}

.currency-selector-menu {
  min-width: 148px;
}

@keyframes languageSlideIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content {
  width: min(780px, 100%);
  padding: 8vh 0 2vh;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: currentColor;
  opacity: 0.78;
}

h1,
h2,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: 0.98;
}

.hero-content h1 {
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3.75rem);
  line-height: 1.06;
}

h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.04rem;
  line-height: 1.7;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 64px;
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.embed-page {
  background: transparent;
}

.embed-newsletter-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 18% 18%, rgba(15, 95, 156, 0.18), transparent 30%),
    rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(10px);
  color: #111;
  animation: embedGateFadeIn 0.22s ease-out;
}

.embed-newsletter-gate[hidden] {
  display: none !important;
}

.embed-newsletter-card {
  position: relative;
  width: min(760px, 100%);
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.26);
  padding: clamp(28px, 6vw, 54px);
  text-align: center;
  animation: embedGateRise 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.embed-newsletter-card h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  line-height: 1.12;
}

.embed-newsletter-card p {
  margin: 0 0 26px;
  color: #222;
  font-size: clamp(1.05rem, 2.3vw, 1.45rem);
}

.embed-newsletter-card .lead-gate-language {
  top: 16px;
  right: 16px;
}

.embed-newsletter-card .lead-gate-language .language-selector-button {
  min-width: 132px;
  border-color: #d7e2ee;
  background: rgba(248, 250, 252, 0.94);
  color: #0f172a;
  box-shadow: none;
  backdrop-filter: none;
}

.embed-newsletter-form {
  display: grid;
  gap: 12px;
  text-align: left;
  width: min(560px, 100%);
  margin: 0 auto;
}

.embed-newsletter-form label {
  color: #111;
  font-size: 0.98rem;
  font-weight: 800;
}

.embed-newsletter-form input {
  width: 100%;
  min-height: 58px;
  border: 1px solid #999;
  border-radius: 3px;
  background: #fff;
  padding: 0 14px;
  color: #111;
  font-size: 1rem;
}

.embed-newsletter-form button {
  min-height: 56px;
  margin-top: 10px;
  border: 0;
  border-radius: 4px;
  background: #111;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 900;
  cursor: pointer;
}

.embed-gate-active {
  overflow: hidden;
}

@keyframes embedGateFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes embedGateRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.embed-newsletter-message {
  min-height: 20px;
  margin: 2px 0 0;
  color: #475569;
  font-size: 0.95rem;
  text-align: center;
}

.embed-newsletter-message.is-error {
  color: #b91c1c;
}

.embed-main[hidden] {
  display: none;
}

.admin-search-input,
.admin-filter-select {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  padding: 0 14px;
  font: inherit;
  font-weight: 700;
}

.admin-search-input {
  min-width: min(360px, 100%);
  flex: 1 1 280px;
}

.admin-filter-select {
  flex: 0 1 240px;
}

.vendor-widget-subscription {
  margin: 14px 0;
}

.vendor-premium-active,
.vendor-premium-cancelled,
.vendor-premium-locked {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
}

.vendor-premium-active {
  background: #ecfdf3;
  color: #166534;
  border-color: #bbf7d0;
}

.vendor-premium-cancelled {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.vendor-premium-locked {
  background: #fff7ed;
  color: #9a3412;
  border-color: #fed7aa;
}

.danger-ghost-button {
  background: #fee2e2;
  color: #991b1b;
  box-shadow: none;
}

.danger-ghost-button:hover {
  background: #fecaca;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.vendor-widget-payment {
  margin: 16px 0;
}

.vendor-widget-cancel-box {
  border: 1px solid #fde68a;
  border-radius: 18px;
  background: #fffbeb;
  color: #78350f;
  padding: 16px;
}

.vendor-widget-cancel-box p {
  margin: 8px 0 14px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.vendor-widget-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin: 16px 0;
}

.vendor-widget-stat-grid > div {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.vendor-widget-stat-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.vendor-widget-stat-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 1.5rem;
  color: var(--text);
}

.vendor-widget-stat-grid small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.25;
}

.vendor-widget-funnel-help {
  border: 1px solid #bfdbfe;
  border-radius: 16px;
  background: #eff6ff;
  padding: 14px;
  margin: 0 0 14px;
  color: #1e3a8a;
}

.vendor-widget-funnel-help p {
  margin: 6px 0 0;
  color: #334155;
}

.vendor-abandoned-list {
  border: 1px dashed #fecaca;
  border-radius: 16px;
  background: #fff7f7;
  padding: 14px;
  margin-bottom: 14px;
}

.vendor-abandoned-list p {
  margin: 6px 0 0;
  color: #7f1d1d;
}

.vendor-widget-searches {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 95, 156, 0.14);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.82);
}

.vendor-widget-searches-head {
  display: grid;
  gap: 3px;
}

.vendor-widget-searches-head strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.vendor-widget-searches-head small {
  color: var(--muted);
  font-weight: 700;
}

.vendor-widget-search-row {
  display: grid;
  grid-template-columns: minmax(170px, 1.25fr) repeat(5, minmax(120px, 1fr));
  gap: 10px;
  align-items: stretch;
  padding: 12px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: #ffffff;
}

.vendor-widget-search-row > div {
  min-width: 0;
}

.vendor-widget-search-row span,
.vendor-widget-search-row small,
.vendor-widget-search-row strong {
  display: block;
  overflow-wrap: anywhere;
}

.vendor-widget-search-row span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vendor-widget-search-row strong {
  margin-top: 4px;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.25;
}

.vendor-widget-search-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.vendor-widget-search-status {
  display: inline-flex !important;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #075985 !important;
  text-transform: none !important;
}

@media (max-width: 1180px) {
  .vendor-widget-search-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vendor-widget-search-row {
    grid-template-columns: 1fr;
  }
}

.vendor-date-filter {
  display: inline-grid;
  gap: 6px;
  color: var(--muted);
  font-weight: 800;
}

.vendor-date-filter input {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  font: inherit;
}

.embed-main {
  width: min(1120px, calc(100% - 24px));
  margin: 12px auto 24px;
}

.embed-search-panel {
  position: relative;
  box-shadow: 0 18px 46px rgba(12, 35, 64, 0.12);
}

.embed-language-switch {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  z-index: 5;
}

.embed-language-switch .language-selector-button {
  min-width: 132px;
}

@media (min-width: 721px) {
  .embed-search-panel .panel-heading {
    padding-right: 170px;
  }
}

@media (max-width: 720px) {
  .embed-newsletter-card .lead-gate-language,
  .embed-language-switch {
    position: static;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
  }

  .embed-search-panel .panel-heading {
    padding-right: 0;
  }
}

.is-vendor-embed .vendor-join-section,
.is-vendor-embed .gyg-widget-section,
.is-vendor-embed .site-footer {
  display: none;
}

.gyg-widget-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
}

.gyg-widget-inner {
  background: var(--panel);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(18px, 4vw, 30px);
  overflow: hidden;
  transition: var(--transition);
}

.gyg-section-copy {
  max-width: 760px;
  margin: 0 auto 18px;
  text-align: center;
}

.gyg-section-copy h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.12;
}

.gyg-section-copy p:not(.eyebrow) {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.gyg-widget-inner [data-gyg-widget] {
  min-height: 360px;
}

.gyg-widget-inner [data-gyg-widget] + .gyg-section-copy {
  margin-top: 34px;
}

.gyg-widget-inner [data-gyg-widget] a {
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  margin-top: 40px;
  padding: 0 16px 40px;
}

.site-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: linear-gradient(135deg, #0a2238, #0f3859);
  color: #ffffff;
  padding: 28px clamp(20px, 4vw, 34px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto minmax(280px, 0.85fr);
  align-items: center;
  gap: 24px;
  box-shadow: 0 18px 48px rgba(10, 34, 56, 0.24);
}

.site-footer .eyebrow {
  opacity: 0.72;
}

.site-footer h2 {
  margin: 0;
  max-width: 620px;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.2;
}

.site-footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.site-footer-social a {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.site-footer-social a:hover,
.site-footer-social a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-2px);
}

.site-footer-social img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.site-footer-meta {
  display: grid;
  align-content: end;
  justify-items: end;
  gap: 8px;
}

.site-footer-meta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.96rem;
  line-height: 1.55;
  text-align: right;
}

.site-footer-tin,
.site-footer-tin span,
.site-footer-tin a {
  color: rgba(255, 255, 255, 0.88) !important;
  text-decoration: none !important;
  pointer-events: none;
}

.search-panel,
.results-section {
  background: var(--panel);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.search-panel {
  position: relative;
  z-index: 50;
  padding: clamp(18px, 4vw, 34px);
}

.active-offers-section {
  background: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(34px, 5vw, 56px) clamp(22px, 4vw, 42px);
  margin: 34px auto;
}

.booking-benefits-section {
  max-width: 1430px;
  margin: 28px auto 10px;
  padding: 0 clamp(22px, 4vw, 42px);
}

.booking-benefits-inner {
  width: 100%;
}

.booking-benefits-section h2 {
  margin: 0 0 20px;
  color: #0f172a;
  font-size: clamp(1.75rem, 2.6vw, 2rem);
  line-height: 1.15;
  letter-spacing: 0;
}

.booking-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.booking-benefit-card {
  min-height: 262px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px 20px 20px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  background: #f5f5f5;
  color: #0f172a;
}

.booking-benefit-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin: 0 0 26px;
}

.booking-benefit-card h3 {
  margin: 0 0 12px;
  color: #050b18;
  font-size: 1.12rem;
  line-height: 1.38;
  letter-spacing: 0;
}

.booking-benefit-card p {
  margin: 0;
  color: #111827;
  font-size: 0.98rem;
  line-height: 1.5;
}

.seo-destination-section {
  padding: 18px clamp(18px, 5vw, 72px) 6px;
}

.seo-destination-inner {
  width: min(1420px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 24px 30px;
  border: 1px solid #cfe0ee;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(247, 251, 255, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at 100% 0%, rgba(248, 178, 42, 0.14), transparent 32%);
  box-shadow: 0 14px 42px rgba(15, 95, 156, 0.08);
}

.seo-destination-copy {
  max-width: 870px;
}

.seo-destination-inner h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.seo-destination-inner p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.seo-topic-grid,
.seo-dynamic-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 0;
}

.seo-topic-grid a,
.seo-dynamic-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #b9d5ec;
  border-radius: 8px;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(15, 95, 156, 0.08);
}

.seo-topic-grid a:hover,
.seo-dynamic-links a:hover {
  border-color: var(--brand);
  background: #eef7ff;
  transform: translateY(-1px);
}

.active-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.active-offer-empty {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  padding: 24px 26px;
  border: 1px dashed #d7dce7;
  border-radius: 8px;
  background: #f8fafc;
  color: #210029;
}

.active-offer-empty span {
  color: var(--muted);
}

.active-offer-card {
  display: grid;
  gap: 14px;
  align-items: start;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.active-offer-card h3,
.active-offer-card p {
  margin: 0 0 8px;
}

.active-offer-media {
  position: relative;
  aspect-ratio: 4 / 3.85;
  overflow: hidden;
  border-radius: 8px;
  background: #dbe7f0;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.active-offer-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), transparent 44%, rgba(15, 23, 42, 0.56));
  pointer-events: none;
}

.active-offer-media .hotel-gallery-main-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.active-offer-badge,
.active-offer-countdown,
.active-offer-location {
  position: absolute;
  z-index: 2;
  font-weight: 900;
}

.active-offer-badge {
  top: 12px;
  right: 12px;
  border-radius: 6px;
  padding: 9px 12px;
  background: rgba(26, 28, 34, 0.78);
  color: #ffffff;
}

.active-offer-countdown {
  top: 56px;
  right: 12px;
  max-width: calc(100% - 24px);
  border-radius: 6px;
  padding: 8px 12px 8px 44px;
  background: #101114;
  color: #ffffff;
}

.active-offer-countdown::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 100%;
  background: #ffb000;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0% 100%);
}

.active-offer-location {
  left: 14px;
  bottom: 14px;
  color: #ffffff;
  font-size: 1.02rem;
}

.active-offer-body {
  display: grid;
  gap: 6px;
  padding: 0 10px 4px;
}

.active-offer-body h3 {
  color: #111827;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.active-offer-title-button,
.hotel-title-button {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none;
  font: inherit;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.active-offer-title-button:hover,
.hotel-title-button:hover {
  color: #111827 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.active-offer-description {
  color: var(--muted);
}

.active-offer-price,
.active-offer-price-row {
  display: grid;
  gap: 8px;
}

.active-offer-price-row {
  grid-template-columns: auto auto 1fr;
  align-items: baseline;
  margin-top: 4px;
}

.active-offer-price span,
.active-offer-price-row span,
.active-offer-price-row small {
  color: var(--muted);
  font-weight: 800;
}

.active-offer-price strong,
.active-offer-price-row strong {
  color: #210029;
  font-size: 1.8rem;
  line-height: 1;
}

.active-offer-price button,
.active-offer-price a,
.active-offer-body button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 150px;
  margin-top: 14px;
  border: 0;
  border-radius: 8px;
  background: #0F5F9C;
  color: #ffffff;
  padding: 14px 22px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 24px rgba(15, 95, 156, 0.22);
}

.active-offer-body .active-offer-title-button {
  justify-self: stretch;
  min-width: 0;
  min-height: 0;
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
  box-shadow: none !important;
  user-select: none;
  -webkit-user-select: none;
}

.active-offer-body .active-offer-title-button:hover,
.active-offer-body .active-offer-title-button:focus,
.active-offer-body .active-offer-title-button:active {
  background: transparent !important;
  color: #111827 !important;
  -webkit-text-fill-color: #111827;
}

.active-offers-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.active-offers-pagination:empty,
.active-offers-pagination[hidden] {
  display: none;
}

.active-offers-pagination button {
  width: auto;
  min-width: 44px;
  min-height: 42px;
  border: 1px solid rgba(15, 95, 156, 0.24);
  border-radius: 8px;
  background: #ffffff;
  color: #0B4E80;
  padding: 0 14px;
  font-weight: 900;
  box-shadow: none;
}

.active-offers-pagination button.is-active {
  background: #0F5F9C;
  color: #ffffff;
  border-color: #0F5F9C;
}

.active-offers-pagination button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.panel-heading,
.section-heading {
  margin-bottom: 22px;
}

.panel-heading .eyebrow,
.section-heading .eyebrow {
  color: var(--blue);
}

.flight-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.flight-form[data-mode="hotel"] {
  grid-template-columns: minmax(240px, 0.9fr) minmax(320px, 1.5fr) minmax(150px, auto);
  align-items: end;
}

.flight-form[data-mode="package"] .guest-selector-field {
  grid-column: auto;
}

.flight-form[data-mode="package"] > .field {
  min-width: 0;
}

.flight-form[data-mode="package"] .date-range-field,
.flight-form[data-mode="package"] .guest-selector-toggle {
  width: 100%;
  max-width: 100%;
}

.flight-form[data-mode="hotel"] .guest-selector-field {
  grid-column: auto;
}

.flight-form[data-mode="hotel"] .form-actions {
  grid-column: auto;
  padding-top: 0;
  align-self: end;
  position: relative;
  display: block;
}

.flight-form[data-mode="hotel"] .form-actions button {
  min-height: 60px;
  width: 100%;
  white-space: nowrap;
}

.flight-form[data-mode="hotel"] .date-range-field button,
.flight-form[data-mode="hotel"] .date-range-field input {
  min-height: 60px;
}

.flight-form[data-mode="hotel"] #form-note {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: max-content;
  max-width: 280px;
  text-align: right;
}

.product-tabs {
  display: flex;
  gap: 10px;
  margin: 0 0 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.product-tab {
  border: 1px solid rgba(15, 95, 156, 0.24);
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: none;
  opacity: 0.72;
}

.product-tab.is-active {
  border-color: var(--blue);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.22);
  opacity: 1;
}

.is-hidden {
  display: none !important;
}

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

.autocomplete-field {
  position: relative;
}

.input-with-action,
.date-range-field {
  position: relative;
}

.flight-form > .field:has(#date_range_display[aria-expanded="true"]),
.date-range-field:has(#date_range_display[aria-expanded="true"]) {
  z-index: 10020;
}

.input-with-action input {
  padding-right: 46px;
}

.input-action {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 30px;
  min-width: 30px;
  min-height: 30px;
  padding: 0;
  border-radius: 999px;
  background: #edf4fb;
  color: var(--blue-dark);
  font-size: 1.1rem;
  line-height: 1;
}

label {
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--ink);
  background: var(--panel-solid);
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);
}

input:hover,
select:hover,
textarea:hover {
  border-color: rgba(15, 95, 156, 0.4);
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(15, 95, 156, 0.15), inset 0 2px 4px rgba(0,0,0,0.02);
}

.flight-form input:not([type="hidden"]),
.flight-form select,
.flight-form .input-action {
  border: 2px solid #f5b400;
}

.flight-form input:not([type="hidden"]),
.flight-form select,
.flight-form .guest-selector-toggle {
  min-height: 60px;
}

.flight-form input:not([type="hidden"]):hover,
.flight-form select:hover,
.flight-form .input-action:hover {
  border-color: #e4a600;
}

.flight-form input:not([type="hidden"]):focus,
.flight-form select:focus,
.flight-form .input-action:focus-visible {
  border-color: #f5b400;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.18), inset 0 2px 4px rgba(0,0,0,0.02);
}

.help-text {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.field span,
#form-note {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.suggestions {
  position: absolute;
  z-index: 10;
  top: 86px;
  left: 0;
  right: 0;
  display: none;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(13, 35, 58, 0.18);
}

.date-range-picker {
  position: absolute;
  z-index: 9999;
  top: calc(100% + 8px);
  left: 0;
  right: auto;
  width: min(620px, calc(100vw - 24px));
  max-height: min(70vh, 620px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 34px rgba(13, 35, 58, 0.16);
  padding: 14px;
}

.date-picker-head,
.date-picker-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.date-picker-summary {
  margin: 10px 0 14px;
  padding: 0;
  border-radius: 8px;
  background: transparent;
}

.date-picker-summary > div:first-child {
  display: grid;
  gap: 6px;
}

.date-picker-summary span {
  color: var(--muted);
  font-size: 0.9rem;
}

.date-picker-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.date-badge {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 9px;
  display: grid;
  gap: 2px;
}

.date-badge span {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  font-weight: 800;
}

.date-badge strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.date-badge-accent {
  background: #edf4fb;
  border-color: #c9ddf1;
}

.date-picker-months {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 8px;
  align-items: start;
}

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

.calendar-month h4 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 0.96rem;
}

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

.calendar-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 2px 0;
}

.calendar-day,
.calendar-empty {
  min-height: 34px;
}

.calendar-empty {
  border-radius: 8px;
}

.calendar-day {
  border: 1px solid #d7e5f2;
  border-radius: 8px;
  background: #f8fbff;
  color: #0f2f4f;
  font-weight: 800;
  padding: 3px 0;
  position: relative;
  transition: background-color 140ms ease, color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  display: grid;
  place-items: center;
}

.calendar-day-number {
  font-size: 0.86rem;
  line-height: 1;
}

.calendar-day:hover {
  border-color: #0F5F9C;
  background: #EAF4FB;
  color: #0B4E80;
  transform: none;
}

.calendar-day.is-start,
.calendar-day.is-end {
  border-color: #0B4E80;
  background: linear-gradient(135deg, #0F5F9C, #0B4E80);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 95, 156, 0.25);
}

.calendar-day.is-in-range {
  border-color: #9fc4e0;
  background: #D8ECFA;
  color: #083A61;
}

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

.calendar-day.is-preview {
  border-color: #7db4da;
  background: #CFE7F8;
  color: #083A61;
}

.calendar-day.is-disabled {
  border-color: #e2e8f0;
  background: #edf2f7;
  color: #94a3b8;
  opacity: 1;
  pointer-events: none;
}

.date-picker-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.date-picker-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.suggestions.is-open {
  display: block;
}

.suggestion-button {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
}

.suggestion-notice {
  padding: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.suggestion-button:hover,
.suggestion-button:focus {
  background: #edf4fb;
}

.suggestion-button:last-child {
  border-bottom: 0;
}

.suggestion-main {
  display: block;
  font-weight: 900;
}

.suggestion-meta {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

.suggestion-code {
  align-self: center;
  border-radius: 8px;
  background: #dcebf8;
  color: var(--blue-dark);
  padding: 5px 8px;
  font-weight: 900;
  font-size: 0.82rem;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 6px;
}

button {
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #ffffff;
  padding: 13px 22px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(15, 95, 156, 0.22);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(15, 95, 156, 0.30);
}

button:active {
  transform: translateY(0);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
}

.ghost-button {
  background: var(--blue-soft);
  color: var(--blue-dark);
  box-shadow: none;
}

.ghost-button:hover {
  background: #DCECF7;
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.results-section {
  margin-top: 24px;
  padding: clamp(18px, 4vw, 34px);
}

.results-list,
.booking-list {
  display: grid;
  gap: 14px;
}

.flight-flex-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 10px;
  overflow-x: auto;
}

.flex-date-card {
  min-width: 120px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 14px 16px;
}

.flex-date-card strong {
  font-size: 1.1rem;
}

.flex-date-card.is-active {
  background: #0b2a4a;
  color: #ffffff;
  border-color: #0b2a4a;
}

.flight-insights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.flight-insight-card,
.flight-sort-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 16px;
  display: grid;
  gap: 6px;
}

.flight-insight-card {
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.flight-insight-card span,
.flight-sort-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.flight-insight-card strong,
.flight-sort-card strong {
  font-size: 1.7rem;
  line-height: 1;
}

.flight-insight-card small,
.flight-sort-card small {
  color: var(--muted);
}

.flight-insight-card.is-active {
  background: #0b2a4a;
  border-color: #0b2a4a;
  color: #ffffff;
}

.flight-insight-card.is-active span,
.flight-insight-card.is-active small {
  color: rgba(255, 255, 255, 0.82);
}

.flight-sort-select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

.flight-sort-select:focus {
  outline: 2px solid rgba(33, 102, 172, 0.18);
  outline-offset: 1px;
  border-color: #2166ac;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.flight-card-modern {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.roundtrip-flight-card .flight-card-main {
  gap: 12px;
}

.roundtrip-legs {
  display: grid;
  gap: 10px;
}

.roundtrip-leg {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: #ffffff;
  display: grid;
  gap: 8px;
}

.roundtrip-leg-airline {
  display: grid;
  gap: 4px;
}

.roundtrip-leg-airline span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-card-main {
  padding: 14px;
  display: grid;
  gap: 12px;
}

.flight-airline-column {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.flight-airline-column strong,
.flight-time-block strong {
  display: block;
}

.flight-airline-column span {
  color: var(--muted);
  font-size: 0.82rem;
}

.flight-airline-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.flight-route-grid {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr) 74px;
  gap: 12px;
  align-items: center;
}

.flight-time-block {
  display: grid;
  gap: 4px;
}

.flight-time-block strong {
  font-size: 1.45rem;
  line-height: 1;
}

.flight-time-block strong small {
  margin-left: 4px;
  font-size: 0.75rem;
  color: var(--muted);
}

.flight-time-block span {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}

.flight-time-block-end {
  text-align: right;
}

.flight-journey-block {
  display: grid;
  gap: 5px;
  text-align: center;
}

.flight-journey-block span,
.flight-journey-block small {
  color: var(--muted);
  font-size: 0.86rem;
}

.flight-journey-block strong {
  color: #b0306f;
  font-size: 0.98rem;
}

.flight-journey-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(15,95,156,0.2), rgba(15,95,156,0.9), rgba(15,95,156,0.2));
  position: relative;
}

.flight-journey-line::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.flight-badges-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.flight-mini-logos {
  display: flex;
  align-items: center;
}

.flight-mini-logos img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  margin-left: -6px;
}

.flight-mini-logos img:first-child {
  margin-left: 0;
}

.flight-price-panel {
  padding: 14px;
  background: #f8fbfd;
  border-left: 1px solid var(--line);
  display: grid;
  align-content: center;
  gap: 8px;
}

.flight-price-panel span,
.flight-price-panel small {
  color: var(--muted);
  font-size: 0.9rem;
}

.flight-price-panel strong {
  font-size: 1.45rem;
  line-height: 1;
  color: #0b1f33;
}

.roundtrip-flight-card .booking-button,
.flight-card-modern .booking-button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.98rem;
}

.roundtrip-flight-card .pill,
.flight-card-modern .pill {
  padding: 6px 10px;
  font-size: 0.82rem;
}

.empty-state,
.flight-result,
.booking-option,
.flight-loading {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.empty-state.success {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

#vendor-notice {
  margin-bottom: 18px;
  scroll-margin-top: 18px;
}

#vendor-notice.error {
  border-color: #fca5a5;
  background: #fff1f2;
  color: #991b1b;
  box-shadow: 0 18px 42px rgba(185, 28, 28, 0.12);
}

#vendor-notice p {
  margin: 0;
  font-weight: 800;
}

.vendor-notice-jump {
  margin-top: 12px;
}

.vendor-field-attention {
  border-radius: 14px;
  outline: 3px solid rgba(239, 68, 68, 0.32);
  outline-offset: 4px;
  animation: vendorAttentionPulse 1.4s ease-in-out 2;
}

@keyframes vendorAttentionPulse {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0.12); }
}

.flight-loading {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  align-items: center;
  gap: 20px;
}

.flight-loading img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.flight-loading h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.1;
}

.flight-loading p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.flight-result {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.route {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 1.12rem;
}

.route span {
  color: var(--muted);
  font-weight: 700;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 8px;
  background: #edf4fb;
  color: var(--blue-dark);
  padding: 5px 9px;
  font-weight: 800;
  font-size: 0.82rem;
}

.price {
  min-width: 120px;
  text-align: right;
}

.price strong {
  display: block;
  font-size: 1.55rem;
  color: var(--green);
}

.price span,
.flight-path,
.booking-option p {
  color: var(--muted);
  line-height: 1.5;
}

.booking-button {
  margin-top: 16px;
}

.package-banner,
.package-section-title {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #edf4fb;
}

.package-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.package-banner-copy {
  flex: 1 1 auto;
}

.package-banner-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.package-banner-actions .ghost-button {
  margin-top: 0;
  white-space: nowrap;
}

.package-banner h3,
.package-section-title h3 {
  margin: 0 0 8px;
}

.package-banner p,
.package-section-title p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.package-payment-panel {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: grid;
  gap: 16px;
}

.package-payment-head {
  margin-bottom: 0;
}

dialog {
  width: min(760px, calc(100% - 28px));
  max-height: min(92dvh, 980px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  overflow: auto;
  box-shadow: var(--shadow);
}

#hotel-checkout-dialog {
  width: min(980px, calc(100% - 28px));
}

#package-summary-dialog {
  width: min(1040px, calc(100% - 28px));
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.pesapal-frame-holder {
  margin-top: 18px;
}

.pesapal-frame {
  width: 100%;
  min-height: 680px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

dialog::backdrop {
  background: rgba(5, 18, 31, 0.62);
}

.dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

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

.booking-option h3 {
  margin: 0;
}

.booking-option-rich {
  gap: 14px;
}

.booking-option-head,
.booking-option-body {
  display: grid;
  gap: 12px;
}

.booking-option-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
}

.booking-option-brand {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.booking-option-brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.booking-option-brand p,
.booking-option-price span,
.booking-option-leg span,
.booking-option-leg small,
.booking-option-note {
  color: var(--muted);
}

.booking-option-price {
  text-align: right;
  display: grid;
  gap: 6px;
}

.booking-option-price strong {
  font-size: 1.6rem;
  line-height: 1;
}

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

.booking-option-leg {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  display: grid;
  gap: 6px;
  background: #f8fbfd;
}

.booking-option-leg span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.booking-option-leg strong {
  font-size: 1.05rem;
  line-height: 1.25;
}

.booking-option-footer {
  display: grid;
  gap: 12px;
}

.package-flight-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 180px;
  gap: 16px;
  align-items: center;
}

.package-flight-head {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.package-flight-head img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  background: #ffffff;
}

.package-flight-head h3 {
  margin: 0 0 4px;
}

.package-flight-head p:last-child,
.package-flight-leg small,
.package-flight-side span {
  color: var(--muted);
}

.package-flight-body {
  display: grid;
  gap: 10px;
}

.package-flight-leg {
  display: grid;
  gap: 4px;
}

.package-flight-leg span {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--muted);
}

.package-flight-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.package-flight-side strong {
  font-size: 1.45rem;
  line-height: 1;
}

.package-room-summary {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 170px;
  gap: 16px;
  align-items: center;
}

.package-room-summary img {
  width: 120px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}

.package-room-copy {
  display: grid;
  gap: 8px;
}

.package-room-copy h3 {
  margin: 0;
}

.package-room-copy p,
.package-room-services,
.package-room-side span {
  color: var(--muted);
}

.package-room-services {
  margin: 0;
}

.package-room-side {
  display: grid;
  gap: 8px;
  justify-items: end;
  text-align: right;
}

.package-room-side strong {
  font-size: 1.45rem;
  line-height: 1;
}

.package-room-side small {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.saved-flight-resume {
  display: grid;
  gap: 18px;
}

.saved-flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.saved-flight-actions {
  display: flex;
  justify-content: center;
}

.saved-flight-actions button {
  min-width: 260px;
}

.hotel-card,
.room-result {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #ffffff;
}

.hotel-card {
  grid-template-columns: minmax(260px, 0.8fr) 1.2fr;
}

.hotel-card-listing {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) 230px;
  align-items: stretch;
  overflow: hidden;
  min-height: 270px;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hotel-gallery-listing {
  position: relative;
  display: block;
  height: 100%;
  min-height: 252px;
  max-height: 252px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.hotel-gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.hotel-gallery-listing .hotel-gallery-main-image {
  height: 252px;
  min-height: 252px;
  max-height: 252px;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  transform: translateY(-50%);
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-dark);
  box-shadow: 0 10px 24px rgba(13, 35, 58, 0.18);
  opacity: 0;
  transition: opacity 140ms ease, transform 140ms ease;
}

[data-gallery]:hover .gallery-arrow {
  opacity: 1;
}

.gallery-arrow:hover {
  transform: translateY(-50%) scale(1.03);
}

.gallery-arrow-prev {
  left: 14px;
}

.gallery-arrow-next {
  right: 14px;
}

[data-gallery] {
  touch-action: pan-y;
}

.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.gallery-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.gallery-dot.is-active {
  background: #ffffff;
}

@media (hover: none), (max-width: 760px) {
  .gallery-arrow {
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    opacity: 1;
    background: rgba(255, 255, 255, 0.94) !important;
    color: #0b4e80 !important;
    border: 1px solid rgba(15, 95, 156, 0.12) !important;
    box-shadow: 0 12px 26px rgba(13, 35, 58, 0.28) !important;
  }

  .gallery-arrow-prev {
    left: 12px;
  }

  .gallery-arrow-next {
    right: 12px;
  }

  .hotel-gallery-listing .gallery-arrow-next,
  .room-gallery .gallery-arrow-next,
  .active-offer-media .gallery-arrow-next {
    right: 10px;
  }

  .hotel-gallery-listing .gallery-arrow-prev,
  .room-gallery .gallery-arrow-prev,
  .active-offer-media .gallery-arrow-prev {
    left: 10px;
  }

  .gallery-dots {
    bottom: 14px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(7, 25, 42, 0.28);
    backdrop-filter: blur(6px);
  }
}

.hotel-gallery img,
.room-result img {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.hotel-gallery.wide {
  margin: 20px 0;
}

.hotel-gallery.wide img {
  min-height: 230px;
}

.hotel-copy h3,
.room-result h3,
.hotel-page-head h2 {
  margin: 0 0 10px;
}

.hotel-copy-listing {
  display: grid;
  align-content: center;
}

.hotel-review-row,
.hotel-feature-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hotel-stars {
  color: #ffb11a;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.hotel-rating-badge {
  border-radius: 8px;
  background: #6aad2f;
  color: #ffffff;
  padding: 4px 10px;
  font-weight: 900;
}

.hotel-review-text,
.hotel-location-line,
.hotel-feature-line,
.hotel-listing-description {
  color: var(--muted);
}

.hotel-review-source {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.hotel-review-source img {
  width: 58px;
  max-height: 24px;
  object-fit: contain;
}

.hotel-review-source .hotel-review-text {
  font-weight: 700;
}

.hotel-location-link {
  display: inline-flex;
  color: #2385bd;
  font-weight: 800;
  text-decoration: none;
}

.hotel-location-link:hover {
  text-decoration: underline;
}

.hotel-location-line,
.hotel-highlight-note,
.hotel-listing-description {
  margin: 0;
}

.hotel-listing-description-wrap {
  display: grid;
  gap: 8px;
  max-width: 100%;
}

.hotel-description-more {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #0F5F9C;
  font-weight: 900;
  padding: 0;
  cursor: pointer;
}

.hotel-description-more:hover {
  text-decoration: underline;
}

.hotel-feature-separator {
  color: #a4b0c0;
}

.hotel-highlight-note {
  color: var(--ink);
  font-weight: 800;
}

.hotel-listing-price {
  border-left: 1px solid var(--line);
  padding-left: 20px;
  display: grid;
  align-content: center;
  justify-items: end;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff, #fafafa);
}

.hotel-listing-price strong {
  color: #111827;
  font-size: 2.1rem;
  line-height: 1;
}

.hotel-listing-price p,
.hotel-listing-price span {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.hotel-listing-price .booking-button {
  min-height: 0;
  margin-top: 16px;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hotel-listing-price .booking-button:hover {
  background: transparent !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.hotel-detail-landing {
  display: grid;
  gap: 24px;
}

.hotel-detail-top,
.hotel-rooms-panel,
.hotel-detail-services-panel,
.hotel-detail-map-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.hotel-detail-top {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  gap: 22px;
  align-items: start;
}

.hotel-detail-gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr);
  gap: 10px;
}

.hotel-detail-media-stack {
  display: grid;
  gap: 16px;
}

.hotel-detail-gallery-grid.is-single-photo {
  grid-template-columns: 1fr;
}

.hotel-detail-gallery-grid.is-single-photo .hotel-detail-gallery-hero {
  aspect-ratio: 4/3;
  min-height: auto;
}

.hotel-detail-gallery-hero,
.hotel-detail-thumb {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.hotel-detail-gallery-hero img,
.hotel-detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-detail-gallery-hero {
  min-height: 360px;
}

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

.hotel-detail-thumb {
  min-height: 155px;
}

.hotel-detail-rating-panel {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 24px rgba(13, 35, 58, 0.14);
}

.hotel-detail-rating-panel strong {
  display: block;
}

.hotel-detail-rating-panel span:last-child,
.hotel-stay-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

.hotel-detail-summary {
  display: grid;
  align-content: start;
  gap: 14px;
}

.hotel-stay-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 4px;
}

.hotel-stay-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
}

.hotel-stay-item strong {
  font-size: 1.05rem;
}

.hotel-detail-actions {
  margin-top: 4px;
}

.hotel-rooms-panel {
  display: grid;
  gap: 16px;
}

.room-offer-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.room-offer-card > img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.room-gallery {
  position: relative;
  display: grid;
  grid-template-rows: minmax(190px, 190px) auto;
  gap: 8px;
  padding: 16px;
}

.room-gallery .hotel-gallery-main-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 8px;
}

.room-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.room-gallery-thumbs button {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.room-gallery-thumbs img {
  width: 100%;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.room-gallery-thumbs img.is-active {
  border-color: var(--accent);
}

.room-offer-copy {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
}

.room-bed-summary {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
}

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

.room-info-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eef4ff;
  border: 1px solid rgba(191, 219, 254, 0.95);
  color: #1e3a8a;
  font-size: 0.84rem;
  font-weight: 700;
}

.room-offer-booking {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 18px;
  border-left: 1px solid var(--line);
  background: #fff;
}

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

.hotel-detail-service-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbfd;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 0.92rem;
}

.hotel-detail-map-panel {
  display: grid;
  gap: 14px;
}

.hotel-map-address {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.vg-hotel-page {
  max-width: 1040px;
  margin: 0 auto;
  gap: 14px;
  color: #210029;
}

.vg-detail-header {
  display: grid;
  gap: 8px;
}

.vg-breadcrumb {
  margin: 0;
  color: #77717d;
  font-size: 0.84rem;
}

.vg-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.vg-title-row h2 {
  margin: 0 0 7px;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  letter-spacing: 0;
}

.vg-detail-top {
  display: block;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.vg-gallery-mosaic {
  position: relative;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: 8px;
}

.vg-gallery-mosaic .hotel-detail-gallery-hero {
  min-height: 360px;
}

.vg-gallery-mosaic .hotel-detail-gallery-hero,
.vg-gallery-mosaic .hotel-detail-thumb {
  border-radius: 6px;
}

.vg-gallery-mosaic .hotel-detail-thumb {
  min-height: 176px;
  border: 0;
  padding: 0;
  background: #e5e7eb;
  cursor: pointer;
}

.vg-gallery-mosaic .hotel-detail-gallery-side {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.vg-gallery-mosaic [data-gallery-open],
.room-gallery [data-gallery-open],
.hotel-gallery [data-gallery-open] {
  cursor: zoom-in;
}

.vg-photo-score {
  top: 16px;
  left: 16px;
  min-width: 142px;
  align-items: flex-start;
}

.vg-photo-more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(33, 0, 41, 0.52);
  color: #ffffff;
  text-align: center;
  font-weight: 900;
  line-height: 1.2;
}

.vg-custom-page {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  gap: 22px;
  color: #1e0023;
}

.vg-custom-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-size: 0.95rem;
}

.vg-custom-breadcrumb strong {
  color: #111827;
}

.vg-crumb-link {
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  color: #111827;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.vg-crumb-link:hover,
.vg-crumb-link.is-current {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vg-custom-breadcrumb .ghost-button {
  margin-left: auto;
  border-color: transparent;
  background: #0F5F9C;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.18);
}

.vg-custom-page .vg-gallery-mosaic {
  grid-template-columns: 2fr 1.34fr;
  gap: 8px;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-hero {
  min-height: 335px;
  border-radius: 10px 0 0 10px;
}

.vg-custom-page .vg-gallery-mosaic .hotel-detail-thumb {
  min-height: 163px;
  border-radius: 0;
}

.vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-side button:nth-child(2) {
  border-radius: 0 10px 0 0;
}

.vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-side button:nth-child(4) {
  border-radius: 0 0 10px 0;
}

.vg-custom-page .hotel-detail-rating-panel {
  display: none;
}

.vg-custom-hotel-card,
.vg-custom-stay-card,
.vg-custom-room-card,
.vg-custom-reviews-panel,
.vg-custom-services-panel {
  border: 1px solid #ececf1;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(33, 0, 41, 0.06);
}

.vg-custom-hotel-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 28px;
  padding: 28px 32px 22px;
}

.vg-custom-hotel-card h2 {
  margin: 0 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.vg-custom-stars {
  color: #0F5F9C;
  margin-bottom: 6px;
}

.vg-custom-location {
  margin: 12px 0 0;
  color: #2385bd;
  font-weight: 800;
}

a.vg-custom-location {
  width: fit-content;
}

.vg-custom-pick-room {
  align-self: start;
  border-radius: 999px;
  padding-inline: 26px;
  background: #0F5F9C;
}

.vg-custom-feature-row {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid #e8e8ed;
  color: #4d4252;
  font-weight: 700;
}

.vg-custom-feature-row span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #e4e0ea;
  border-radius: 999px;
  background: #faf9fc;
  font-size: 0.92rem;
}

.vg-custom-services-link {
  align-self: center;
  margin-left: 4px;
}

.vg-custom-hotel-description {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
  margin-top: 4px;
  padding-top: 20px;
  border-top: 1px solid #e8e8ed;
  color: #62586a;
  line-height: 1.65;
  max-width: 980px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.vg-custom-hotel-description strong {
  color: #1e0023;
  font-size: 1.05rem;
}

.vg-custom-hotel-description p {
  margin: 0;
  white-space: pre-line;
}

.vg-custom-stay-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 26px;
}

.vg-custom-stay-card strong {
  font-size: 1.18rem;
}

.vg-custom-stay-card p,
.vg-custom-stay-card small {
  margin: 6px 0 0;
  color: #6d6774;
}

.vg-custom-stay-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}

.vg-custom-stay-price strong {
  font-size: 2.05rem;
  color: #1e0023;
}

.vg-custom-rooms {
  display: grid;
  gap: 18px;
}

.vg-custom-rooms h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.2vw, 1.8rem);
}

.vg-custom-room-card {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 245px;
  min-height: 300px;
  overflow: hidden;
}

.vg-custom-room-card.is-closed {
  opacity: 0.6;
}

.vg-custom-room-photo {
  position: relative;
  min-height: 300px;
  background: #e9eef5;
  overflow: hidden;
}

.vg-custom-room-photo .room-gallery {
  width: 100%;
  height: 100%;
  min-height: 300px;
  padding: 0;
  gap: 0;
  grid-template-rows: minmax(300px, 1fr);
}

.vg-custom-room-photo .room-gallery .hotel-gallery-main-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  border-radius: 0;
}

.vg-custom-room-photo .room-gallery-thumbs {
  display: none;
}

.vg-custom-room-photo .gallery-arrow {
  width: 34px;
  height: 34px;
  min-height: 34px;
}

.vg-custom-room-photo .gallery-dots {
  bottom: 12px;
}

.vg-custom-room-main {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px 24px 22px;
}

.vg-custom-room-main h3 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.vg-custom-room-services {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #6d6774;
  font-weight: 700;
}

.vg-custom-room-services span::before {
  content: "•";
  color: #2385bd;
  margin-right: 7px;
}

.vg-custom-urgency {
  justify-self: start;
  margin: 0;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff0fa;
  color: #4a2640;
  font-size: 0.88rem;
  font-weight: 900;
}

.vg-custom-room-description {
  margin: 0;
  color: #6d6774;
}

.vg-custom-choice-block {
  display: grid;
  gap: 9px;
  padding-top: 13px;
  border-top: 1px solid #ececf1;
}

.vg-custom-choice-block > strong {
  font-size: 1rem;
}

.vg-custom-radio-row,
.vg-custom-cancel-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
}

.vg-custom-cancel-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.vg-custom-radio {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  color: #3f3345;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.vg-custom-radio input {
  appearance: none;
  flex: 0 0 auto;
  width: 16px !important;
  min-width: 16px;
  height: 16px;
  min-height: 16px !important;
  max-height: 16px;
  margin-top: 1px;
  padding: 0 !important;
  border: 2px solid #c8c8d0;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: inset 0 0 0 4px #ffffff;
  transform: none;
}

.vg-custom-radio input:checked {
  border-color: #0F5F9C;
  background: #0F5F9C;
}

.vg-custom-radio.is-disabled {
  color: #8a8290;
  cursor: not-allowed;
}

.vg-custom-radio.is-disabled input {
  background: #f3f3f6;
  border-color: #d8d6dd;
}

.vg-custom-radio span {
  display: grid;
  min-width: 0;
  gap: 3px;
  overflow-wrap: anywhere;
}

.vg-custom-radio b {
  font: inherit;
}

.vg-custom-radio small {
  display: block;
  margin-left: 0;
  color: #6d6774;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

.vg-custom-room-price {
  display: grid;
  align-content: space-between;
  justify-items: start;
  gap: 18px;
  padding: 24px 24px 28px;
  border-left: 1px solid #ececf1;
  background: #ffffff;
}

.vg-custom-room-price strong {
  font-size: 1.75rem;
  color: #1e0023;
  line-height: 1;
}

.vg-custom-room-price span {
  display: block;
  margin-top: 8px;
  color: #6d6774;
  font-weight: 700;
}

.vg-custom-room-price small {
  display: block;
  margin-top: 3px;
  color: #6d6774;
  font-weight: 800;
}

.vg-room-price-breakdown {
  max-width: 220px;
  color: #334155 !important;
  font-weight: 800;
  line-height: 1.35;
}

.vg-custom-continue {
  align-self: end;
  width: 100%;
  min-height: 48px;
  border-radius: 999px;
  background: #0F5F9C;
  border-color: #0F5F9C;
  box-shadow: 0 14px 28px rgba(15, 95, 156, 0.18);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 34px;
  background: rgba(9, 2, 14, 0.92);
}

.has-gallery-lightbox {
  overflow: hidden;
}

.gallery-lightbox-frame {
  grid-column: 2;
  align-self: center;
  justify-self: center;
  display: grid;
  gap: 12px;
  margin: 0;
  max-width: min(1120px, 100%);
  max-height: 78vh;
}

.gallery-lightbox-frame img {
  display: block;
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox-frame figcaption {
  color: #ffffff;
  text-align: center;
  font-weight: 800;
}

.gallery-lightbox-close,
.gallery-lightbox-nav,
.gallery-lightbox-strip button {
  border: 0;
  cursor: pointer;
}

.gallery-lightbox-close {
  position: absolute;
  top: 22px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #210029;
  font-size: 2rem;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
}

.gallery-lightbox-nav {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  padding: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #210029;
  font-size: 2.8rem;
  line-height: 1;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.gallery-lightbox-close {
  padding-bottom: 3px;
}

.gallery-lightbox-nav {
  padding-bottom: 6px;
}

.gallery-lightbox-prev {
  grid-column: 1;
  justify-self: center;
}

.gallery-lightbox-next {
  grid-column: 3;
  justify-self: center;
}

.gallery-lightbox-strip {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  justify-content: center;
  overflow-x: auto;
  padding: 4px 8px;
}

.gallery-lightbox-strip button {
  width: 86px;
  height: 62px;
  flex: 0 0 auto;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #111827;
  opacity: 0.62;
}

.gallery-lightbox-strip button.is-active {
  opacity: 1;
  outline: 3px solid #0F5F9C;
}

.gallery-lightbox-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vg-info-card,
.vg-wish-banner,
.vg-package-panel,
.vg-reviews-panel,
.vg-services-panel,
.vg-text-panel,
.vg-conditions-panel {
  border: 1px solid #e8e8ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 7px 20px rgba(33, 0, 41, 0.05);
}

.vg-info-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(190px, 0.8fr) minmax(190px, 0.8fr);
  gap: 0;
  overflow: hidden;
}

.vg-info-services,
.vg-check-card {
  padding: 18px 20px;
}

.vg-info-services {
  border-right: 1px solid #e8e8ed;
}

.vg-info-services h3,
.vg-text-panel h3,
.vg-conditions-panel h3,
.vg-services-panel h3,
.vg-reviews-panel h3 {
  margin: 0 0 14px;
  font-size: 1.25rem;
}

.vg-info-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  color: #55505c;
  font-size: 0.91rem;
}

.vg-services-link {
  justify-self: start;
  margin-top: 16px;
  border: 1px solid #0F5F9C;
  border-radius: 999px;
  background: #ffffff;
  color: #0B4E80;
  padding: 9px 16px;
  font-weight: 900;
  box-shadow: none;
}

.vg-info-service-grid span::before,
.vg-service-group li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #78b82a;
  vertical-align: middle;
}

.vg-check-card {
  display: grid;
  align-content: start;
  gap: 6px;
  border-left: 1px solid #e8e8ed;
}

.vg-check-card span,
.vg-check-card small,
.vg-wish-banner span,
.vg-package-body p,
.vg-condition-row p,
.vg-text-panel p,
.vg-review-profile span {
  color: #6d6774;
}

.vg-wish-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 17px 20px;
}

.vg-wish-banner strong {
  color: #008c95;
}

.vg-package-panel {
  overflow: hidden;
}

.vg-package-strip {
  padding: 10px 18px;
  background: linear-gradient(90deg, #ffab00, #ffcf3f);
  color: #ffffff;
  font-weight: 900;
}

.vg-package-body {
  padding: 18px 20px;
}

.vg-package-body p {
  margin: 8px 0 0;
}

.vg-rooms-panel {
  padding: 0;
  overflow: hidden;
  gap: 0;
}

.vg-rooms-panel .section-heading {
  padding: 20px 22px 12px;
}

.vg-rooms-panel .section-heading p {
  margin: 6px 0 0;
  color: #6d6774;
}

.vg-room-card {
  grid-template-columns: 225px minmax(0, 1fr) minmax(220px, 0.85fr) minmax(180px, 0.62fr);
  border-width: 1px 0 0;
  border-radius: 0;
  box-shadow: none;
}

.vg-room-left {
  padding: 16px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.vg-room-left h3 {
  margin: 0;
  font-size: 1rem;
  text-transform: uppercase;
}

.vg-room-left .room-gallery {
  padding: 0;
  grid-template-rows: minmax(132px, 132px) auto;
}

.vg-room-left .room-gallery .hotel-gallery-main-image {
  height: 132px;
}

.vg-room-left .room-gallery-thumbs {
  display: none;
}

.vg-room-copy {
  border-left: 1px solid #e8e8ed;
}

.vg-room-treatment {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 18px 20px;
  border-left: 1px solid #e8e8ed;
}

.vg-room-treatment strong {
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #44404a;
}

.vg-room-treatment p {
  margin: 0 0 8px;
  color: #55505c;
}

.vg-room-guest-details {
  display: grid;
  gap: 10px;
  margin: 14px 0;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
}

.vg-room-guest-details div {
  display: grid;
  gap: 3px;
}

.vg-room-guest-details strong {
  color: #0f172a;
  font-size: 0.9rem;
}

.vg-room-guest-details span {
  color: #5f6f86;
  font-size: 0.9rem;
  line-height: 1.35;
}

.vg-cancel-note {
  color: #0B4E80 !important;
  font-weight: 800;
}

.vg-room-price {
  align-content: center;
  justify-items: end;
  background: #ffffff;
}

.vg-room-price .meal-plan {
  border: 0;
  padding: 0;
  grid-template-columns: 1fr;
  justify-items: end;
  text-align: right;
}

.vg-room-price .meal-plan-copy {
  display: none;
}

.vg-room-price .meal-plan-price strong {
  color: #f59e0b;
  font-size: 1.35rem;
}

.vg-room-price .meal-plan-price span {
  font-size: 0.83rem;
}

.vg-room-price .booking-button {
  background: #0F5F9C;
  border-color: #0F5F9C;
  box-shadow: 0 12px 22px rgba(15, 95, 156, 0.18);
}

.vg-reviews-panel,
.vg-services-panel,
.vg-text-panel,
.vg-conditions-panel {
  padding: 22px;
}

.vg-reviews-grid {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 220px;
  gap: 26px;
}

.vg-reviews-grid-source {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.vg-reviews-panel-auto {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eef8ff 100%);
  border-color: #cfe6f6;
}

.vg-review-auto-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #d6e8f4;
  border-radius: 8px;
  background: #ffffff;
}

.vg-review-auto-score {
  display: grid;
  gap: 6px;
  justify-items: start;
}

.vg-review-auto-score strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 72px;
  border-radius: 8px;
  background: #0F5F9C;
  color: #ffffff;
  padding: 8px 12px;
  font-size: 1.4rem;
  line-height: 1;
}

.vg-review-auto-score strong small {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 900;
}

.vg-review-auto-score span,
.vg-review-auto-copy p {
  margin: 0;
  color: #5f6f85;
  font-weight: 800;
}

.vg-review-auto-copy {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.vg-review-auto-copy .vg-review-source-button {
  border: 1px solid #0F5F9C !important;
  border-radius: 999px;
  padding: 9px 14px;
  color: #0B4E80 !important;
  text-decoration: none;
}

.vg-review-score,
.vg-review-profile {
  display: grid;
  align-content: start;
  gap: 8px;
}

.vg-review-source-logo {
  width: 150px;
  max-height: 52px;
  object-fit: contain;
  object-position: left center;
}

.vg-review-source-button {
  justify-self: end;
  min-height: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #111827 !important;
  box-shadow: none !important;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.vg-review-source-button:hover {
  background: transparent !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.vg-review-preview-list {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.vg-review-preview-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vg-review-preview-head strong {
  color: #210029;
  font-size: 1.05rem;
}

.vg-review-preview-head span {
  color: var(--muted);
  font-weight: 800;
}

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

.vg-review-preview-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #d6e8f4;
  border-radius: 8px;
  background: #ffffff;
}

.vg-review-preview-card strong,
.vg-review-preview-card span {
  display: block;
}

.vg-review-preview-card strong {
  color: #0f172a;
}

.vg-review-preview-card span {
  margin-top: 3px;
  color: #64748b;
  font-weight: 800;
  font-size: 0.9rem;
}

.vg-review-preview-card p {
  margin: 0;
  color: #1f2937;
  line-height: 1.5;
}

.vg-review-all-link {
  justify-self: start;
  color: #0b4e80;
  font-weight: 900;
}

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

.vg-review-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
}

.vg-review-bar i {
  grid-column: 1 / -1;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #78b82a var(--score), #e5e7eb var(--score));
}

.vg-service-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 34px;
}

.vg-service-popular {
  display: grid;
  gap: 12px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid #ececf0;
}

.vg-service-popular h4 {
  margin: 0;
}

.vg-service-popular div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.vg-service-popular span {
  color: #210029;
  font-weight: 700;
}

.vg-service-popular span::before {
  content: "\2713";
  margin-right: 7px;
}

.vg-service-group h4 {
  margin: 0 0 10px;
}

.vg-service-group ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #55505c;
}

.vg-service-group li::before {
  content: "\2713";
  width: auto;
  height: auto;
  margin-right: 8px;
  border-radius: 0;
  background: transparent;
  color: #210029;
  font-weight: 900;
}

.vg-text-panel h4 {
  margin: 0 0 8px;
}

.vg-text-panel p {
  margin: 0;
  line-height: 1.65;
}

.vg-condition-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 22px;
  padding: 16px 0;
  border-top: 1px solid #ececf0;
}

.vg-condition-row:first-of-type {
  border-top: 0;
}

.vg-condition-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vg-condition-list li {
  color: #4f5665;
  line-height: 1.45;
}

.vg-condition-list li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 999px;
  background: #78b82a;
  vertical-align: middle;
}

.vg-condition-note {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.offer-map-view {
  display: grid;
  gap: 0;
  margin: -8px;
}

.offer-map-toolbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.offer-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow: visible;
  padding-bottom: 2px;
}

.offer-filter-pills span,
.offer-filter-pills > button,
.offer-filter-menu > button {
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 18px;
  background: #ffffff;
  color: #210029;
  font-weight: 800;
  box-shadow: none;
  min-height: 0;
}

.offer-filter-menu {
  position: relative;
  flex: 0 0 auto;
}

.offer-filter-menu-sort {
  justify-self: end;
}

.offer-filter-menu > button::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.offer-filter-menu > button[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.offer-filter-pills button.is-active,
.offer-filter-menu > button.is-active,
.offer-map-toolbar [data-offer-filter="sort"].is-active {
  border-color: rgba(15, 95, 156, 0.42);
  background: rgba(15, 95, 156, 0.08);
  color: #0B4E80;
}

.offer-filter-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 25;
  display: grid;
  gap: 4px;
  min-width: 220px;
  padding: 8px;
  border: 1px solid #e4e7ef;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(29, 16, 52, 0.16);
}

.offer-filter-dropdown[hidden] {
  display: none;
}

.offer-filter-menu-sort .offer-filter-dropdown {
  right: 0;
  left: auto;
}

.offer-filter-dropdown button {
  width: 100%;
  min-height: 0;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #210029;
  font-weight: 800;
  text-align: left;
  box-shadow: none;
}

.offer-filter-dropdown button:hover,
.offer-filter-dropdown button.is-selected {
  background: rgba(15, 95, 156, 0.08);
  color: #0B4E80;
}

.offer-map-layout {
  display: grid;
  grid-template-columns: minmax(520px, 0.58fr) minmax(420px, 0.42fr);
  min-height: 680px;
}

.offer-map-view.is-map-hidden .offer-map-layout {
  grid-template-columns: 1fr;
}

.offer-map-view.is-map-hidden .offer-map-side {
  display: none;
}

.offer-map-results {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 26px 24px;
  background: #f6f6f7;
}

.offer-breadcrumbs {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  border-radius: 8px;
  background: #ffffff;
  padding: 18px 20px;
  color: #210029;
}

.offer-breadcrumbs span::before {
  content: ">";
  margin-right: 18px;
  color: #210029;
  font-weight: 900;
}

.offer-results-count {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.offer-map-card {
  grid-template-columns: 1fr;
  padding: 0;
}

.offer-map-card-modern {
  display: grid;
  gap: 0;
  overflow: hidden;
  min-height: 0;
  border-radius: 8px;
}

.offer-card-media-block {
  display: grid;
  gap: 0;
  min-width: 0;
}

.offer-card-media-block .hotel-gallery-listing {
  width: 100%;
  min-height: 260px;
  max-height: 300px;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.offer-card-media-block .hotel-gallery-listing .hotel-gallery-main-image {
  height: 100%;
  min-height: 260px;
  max-height: 300px;
  border-radius: 0;
}

.offer-card-description {
  margin: 0;
  padding: 15px 18px 16px;
  color: var(--muted);
  line-height: 1.45;
  overflow-wrap: anywhere;
  word-break: break-word;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.offer-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 190px);
  gap: 16px;
  padding: 18px;
  align-items: center;
}

.offer-card-content .hotel-copy-listing {
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.offer-card-content .hotel-title-button {
  overflow-wrap: anywhere;
}

.offer-card-price {
  border-left: 1px solid var(--line);
  padding-left: 18px;
  min-width: 0;
}

.offer-card-price strong {
  color: #111827 !important;
}

.offer-filter-empty {
  border-style: dashed;
  background: #ffffff;
}

.active-offer-badge-inline {
  position: static;
  justify-self: start;
  display: inline-flex;
  background: #ffb000;
  color: #ffffff;
}

.offer-map-side {
  position: sticky;
  top: 76px;
  align-self: start;
  min-height: 680px;
}

.offer-map-side .hotel-detail-map-panel {
  height: 100%;
  min-height: 680px;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.offer-map-side .section-heading,
.offer-map-side .hotel-map-address {
  display: none;
}

.offer-map-side .osm-static-map {
  height: 680px;
  min-height: 680px;
  border-radius: 0;
  box-shadow: none;
}

.offer-fallback-map {
  background:
    linear-gradient(135deg, rgba(176, 220, 238, 0.85), rgba(242, 244, 246, 0.94)),
    #dbe7f0;
}

.room-result {
  grid-template-columns: 220px minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
}

.room-result.is-closed {
  opacity: 0.62;
}

.room-booking-column {
  display: grid;
  gap: 12px;
}

.availability {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.meal-plan-list {
  display: grid;
  gap: 10px;
}

.meal-plan {
  display: grid;
  grid-template-columns: 1fr minmax(128px, auto);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.meal-plan p,
.meal-plan span,
.room-service-group p {
  margin: 4px 0 0;
  color: var(--muted);
}

.meal-plan-copy {
  display: grid;
  gap: 4px;
}

.meal-plan-price {
  display: grid;
  gap: 6px;
  justify-items: end;
}

.meal-plan .city-tax-note,
.city-tax-note {
  color: #0f766e;
  font-weight: 800;
}

.rate-policy-note {
  display: grid;
  gap: 3px;
  margin-top: 6px;
  padding: 9px 10px;
  border: 1px solid rgba(15, 95, 156, 0.16);
  border-radius: 12px;
  background: rgba(238, 242, 255, 0.72);
  color: #0B4E80;
  font-weight: 800;
}

.rate-policy-note small {
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.checkout-city-tax-note {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(20, 184, 166, 0.32);
  border-radius: 14px;
  background: rgba(240, 253, 250, 0.9);
  color: #0f172a;
}

.checkout-city-tax-note span {
  color: var(--muted);
}

.checkout-price-note {
  display: grid;
  gap: 5px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 95, 156, 0.22);
  border-radius: 14px;
  background: #f8fbff;
  color: #0f172a;
}

.checkout-price-note span {
  color: var(--muted);
}

.room-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.room-service-group {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.inline-link {
  display: inline-flex;
  text-decoration: none;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.5;
}

.compact-hero {
  min-height: 52vh;
}

.admin-main {
  width: min(1280px, calc(100% - 24px));
  margin: 24px auto 72px;
}

.admin-login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 16px;
  background: #eef4f8;
}

.admin-login-card {
  width: min(520px, 100%);
}

.admin-login-form {
  display: grid;
  gap: 16px;
  margin: 24px 0 18px;
}

.form-error {
  border: 1px solid #e06b5f;
  border-radius: 8px;
  background: #fff0ee;
  color: #7a1f17;
  padding: 12px 14px;
  margin-top: 16px;
}

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

textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  color: var(--ink);
  font: inherit;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
}

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

.admin-row,
.admin-room,
.admin-order {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  background: var(--panel-solid);
  transition: var(--transition);
  overflow: hidden;
}

.admin-order:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(15, 95, 156, 0.4);
  transform: translateY(-2px);
}

.admin-main > .search-panel,
.admin-main > .results-section {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, 0.11), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 251, 0.96));
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
}

.admin-main > .search-panel::after,
.admin-main > .results-section::after,
.vendor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 40%);
}

.admin-main > .search-panel > *,
.admin-main > .results-section > *,
.vendor-card > * {
  position: relative;
  z-index: 1;
}

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

.admin-file-input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload-button {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

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

.vendor-photo-minimum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f8fafc;
  color: var(--muted);
}

.vendor-photo-minimum strong {
  color: var(--ink);
}

.vendor-photo-minimum.is-ok {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.vendor-photo-minimum.is-missing {
  border-color: #fecaca;
  background: #fff1f2;
  color: #991b1b;
}

.admin-photo-row {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fbff;
}

.admin-photo-preview {
  width: 112px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #e9f1f8, #f7fafc);
  border: 1px solid var(--line);
}

.admin-photo-preview img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.availability-calendar {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.availability-calendar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.availability-calendar-head strong {
  text-transform: capitalize;
}

.availability-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.availability-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  display: inline-block;
}

.legend-dot.is-open {
  background: #20a464;
}

.legend-dot.is-closed {
  background: #c92a2a;
}

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

.availability-weekdays span {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.availability-day {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.availability-day.is-open {
  background: #eaf8f1;
  border-color: #b5e4cb;
  color: #11633c;
}

.availability-day.is-closed {
  background: #fff0f0;
  border-color: #ffc4c4;
  color: #a31313;
}

.availability-day.is-empty {
  min-height: 42px;
  border: 0;
  background: transparent;
}

.availability-day:not(.is-empty):hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(13, 35, 58, .12);
}

@media (max-width: 720px) {
  .vendor-photo-minimum {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .admin-photo-preview {
    width: 100%;
    height: 180px;
  }

  .availability-calendar-head {
    align-items: stretch;
    flex-direction: column;
  }

  .availability-day {
    min-height: 36px;
  }
}

.admin-link {
  color: var(--blue-dark);
  border-color: var(--line);
}

.danger-link {
  color: #8a1f17;
}

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

.admin-lead-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0;
}

.admin-lead-split > div {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f8fbff;
}

.admin-lead-split h3 {
  margin: 0 0 6px;
}

.admin-lead-split .help-text {
  margin: 0 0 12px;
}

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

.admin-refund-panel {
  border: 1px solid #f6c5a8;
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #fff7ed, #fff);
  color: #7c2d12;
}

.admin-refund-panel h4 {
  margin: 4px 0 8px;
  color: #9a3412;
}

.admin-refund-panel p {
  margin: 4px 0;
}

.admin-order-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.admin-order-head h3 {
  margin: 0;
}

.booking-option a {
  color: var(--blue);
  font-weight: 800;
}

.error {
  border-color: #d05a43;
  background: #fff4f1;
}

@media (max-width: 900px) {
  .lead-gate {
    grid-template-columns: 1fr;
    align-content: start;
    justify-items: center;
    gap: 18px;
    min-height: 100dvh;
    padding: max(22px, env(safe-area-inset-top)) 18px max(42px, env(safe-area-inset-bottom));
    overflow-y: auto;
    background-position: center center;
  }

  .lead-gate-video {
    position: fixed;
    height: 100dvh;
    min-height: 100vh;
    object-position: center center;
    transform: scale(1.04) translateZ(0);
  }

  .lead-gate-backdrop {
    position: fixed;
    background:
      linear-gradient(180deg, rgba(7, 25, 42, 0.48), rgba(7, 25, 42, 0.22) 34%, rgba(7, 25, 42, 0.72) 100%),
      linear-gradient(90deg, rgba(7, 25, 42, 0.28), rgba(7, 25, 42, 0.12), rgba(7, 25, 42, 0.34));
  }

  .lead-gate-brand {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    text-align: center;
    font-size: 1.08rem;
  }

  .lead-gate-language {
    position: relative;
    top: auto;
    right: auto;
    order: -1;
    justify-self: center;
  }

  .lead-gate-copy {
    text-align: center;
    margin: 0 auto;
    display: grid;
    gap: 10px;
  }

  .lead-gate-copy p:not(.eyebrow) {
    margin: 0 auto;
  }

  .lead-gate-copy h1 {
    margin: 0;
    max-width: 340px;
    font-size: clamp(2.25rem, 13vw, 3.25rem);
    line-height: 1.04;
  }

  .lead-gate-copy .eyebrow {
    margin: 0;
  }

  .lead-gate-meta {
    margin-top: 0 !important;
    max-width: 340px;
    padding: 0;
    background: transparent;
    line-height: 1.25;
  }

  .lead-gate-card {
    width: min(100%, 360px);
    max-width: 360px;
    padding: 22px 22px 24px;
    background: rgba(12, 16, 23, 0.68);
    border-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
  }

  .lead-gate-card h2 {
    margin-bottom: 18px;
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .lead-gate-card input {
    min-height: 48px;
  }

  .lead-gate-card button {
    min-height: 50px;
  }

  .lead-gate-benefits {
    margin-top: 16px;
    gap: 7px;
    font-size: 0.98rem;
  }

  .lead-gate-message,
  .lead-gate-privacy {
    margin-top: 12px;
    font-size: 0.86rem;
    line-height: 1.45;
  }

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

  .hotel-card,
  .room-result,
  .admin-grid,
  .meal-plan,
  .room-services-grid,
  .date-picker-summary {
    grid-template-columns: 1fr;
  }

  .flight-loading {
    grid-template-columns: 1fr;
  }

  .price,
  .active-offer-price,
  .meal-plan-price {
    text-align: left;
    justify-items: start;
  }

  .flight-insights-grid,
  .flight-card-modern,
  .flight-route-grid,
  .site-footer-inner,
  .booking-benefits-grid,
  .hotel-detail-top,
  .active-offers-grid,
  .active-offer-card,
  .room-offer-card,
  .booking-option-body,
  .package-flight-summary,
  .package-room-summary {
    grid-template-columns: 1fr;
  }

  .flight-time-block-end {
    text-align: left;
  }

  .flight-price-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .package-banner {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .package-banner-copy {
    width: 100%;
  }

  .package-banner-copy,
  .package-flight-summary,
  .package-room-summary,
  .package-flight-body,
  .flight-time-block,
  .booking-option {
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  .booking-option-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .booking-option-price {
    text-align: left;
    justify-items: start;
  }

  .hotel-card-listing {
    grid-template-columns: 1fr;
  }

  .hotel-listing-price {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 18px;
    justify-items: start;
  }

  .hotel-listing-price p,
  .hotel-listing-price span {
    text-align: left;
  }

  .hotel-detail-gallery-grid,
  .vg-gallery-mosaic,
  .vg-info-card,
  .vg-title-row,
  .vg-reviews-grid,
  .vg-reviews-panel-auto,
  .vg-review-auto-card,
  .vg-review-preview-grid,
  .vg-service-groups,
  .vg-condition-row,
  .hotel-detail-services-grid,
  .hotel-stay-card,
  .offer-map-toolbar,
  .offer-map-layout,
  .offer-map-card,
  .offer-card-content,
  .vendor-offer-preview {
    grid-template-columns: 1fr;
  }

  .vg-review-source-button {
    justify-self: start;
  }

  .offer-card-price {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 16px;
    justify-items: start;
  }

  .offer-map-side,
  .offer-map-side .hotel-detail-map-panel,
  .offer-map-side .osm-static-map {
    position: relative;
    top: auto;
    min-height: 360px;
    height: 360px;
  }

  .offer-map-toolbar {
    position: static;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .offer-map-toolbar::-webkit-scrollbar {
    display: none;
  }

  .offer-map-toolbar > .ghost-button,
  .offer-filter-menu > button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 9px 13px;
    border-radius: 999px;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  .offer-filter-pills {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
    padding: 0;
  }

  .offer-filter-menu-sort {
    flex: 0 0 auto;
    justify-self: auto;
  }

  .offer-filter-dropdown {
    min-width: min(260px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
  }

  .room-offer-booking {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .vg-info-services,
  .vg-check-card,
  .vg-room-copy,
  .vg-room-treatment {
    border-left: 0;
    border-top: 1px solid #e8e8ed;
  }

  .vg-info-service-grid,
  .vg-review-bars,
  .vendor-service-groups-editor {
    grid-template-columns: 1fr;
  }

  .vg-gallery-mosaic .hotel-detail-gallery-hero {
    min-height: 260px;
  }

  .vg-gallery-mosaic .hotel-detail-gallery-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vg-gallery-mosaic .hotel-detail-thumb {
    min-height: 120px;
  }

  .vg-room-price,
  .vg-room-price .meal-plan,
  .vg-room-price .meal-plan-price {
    justify-items: start;
    text-align: left;
  }

  .gallery-lightbox {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 22px 14px;
    gap: 12px;
  }

  .gallery-lightbox-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-lightbox-nav {
    grid-row: 2;
    width: 48px;
    height: 48px;
    font-size: 2.2rem;
  }

  .gallery-lightbox-prev {
    grid-column: 1;
    justify-self: end;
  }

  .gallery-lightbox-next {
    grid-column: 2;
    justify-self: start;
  }

  .gallery-lightbox-strip {
    grid-row: 3;
  }

  .room-gallery {
    grid-template-rows: minmax(220px, 220px) auto;
  }

  .site-footer-meta {
    justify-items: start;
  }

  .site-footer-meta p {
    text-align: left;
  }

  .site-footer-social {
    justify-content: flex-start;
  }

  .date-picker-head,
  .date-picker-summary,
  .date-picker-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .date-picker-badges {
    justify-content: stretch;
  }

  .date-badge {
    min-width: 0;
  }

  .date-range-picker {
    left: 0;
    right: auto;
    transform: none;
    width: min(680px, calc(100vw - 20px));
    max-height: 75vh;
  }
}

@media (max-width: 480px) {
  .lead-gate {
    gap: 14px;
    padding: max(18px, env(safe-area-inset-top)) 16px max(34px, env(safe-area-inset-bottom));
  }

  .lead-gate-video {
    object-position: 52% center;
    transform: scale(1.02) translateZ(0);
  }

  .lead-gate-backdrop {
    background:
      linear-gradient(180deg, rgba(7, 25, 42, 0.42), rgba(7, 25, 42, 0.18) 34%, rgba(7, 25, 42, 0.64) 100%),
      rgba(7, 25, 42, 0.12);
  }

  .lead-gate-brand {
    font-size: 1rem;
  }

  .lead-gate-copy {
    gap: 8px;
  }

  .lead-gate-copy h1 {
    max-width: 330px;
    font-size: clamp(2rem, 12vw, 2.85rem);
  }

  .lead-gate-copy p:not(.eyebrow) {
    max-width: 330px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .lead-gate-meta {
    max-width: 330px;
    font-size: 0.88rem !important;
  }

  .lead-gate-card {
    width: min(100%, 340px);
    max-width: 340px;
    padding: 16px 18px 18px;
    background: rgba(12, 16, 23, 0.62);
  }

  .lead-gate-card h2 {
    margin-bottom: 12px;
    font-size: clamp(1.25rem, 6.5vw, 1.55rem);
  }

  .lead-gate-form {
    gap: 8px;
  }

  .lead-gate-card label {
    font-size: 0.92rem;
  }

  .lead-gate-card input {
    min-height: 42px;
    font-size: 16px;
  }

  .lead-gate-card button {
    min-height: 44px;
    font-size: 0.98rem;
  }

  .lead-gate-benefits {
    margin-top: 12px;
    gap: 5px;
    font-size: 0.9rem;
  }

  .lead-gate-benefits li {
    padding-left: 24px;
  }

  .lead-gate-benefits li::before {
    width: 16px;
    height: 16px;
  }

  .lead-gate-benefits li::after {
    left: 5px;
    top: 3px;
  }

  .lead-gate-message,
  .lead-gate-privacy {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.35;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 100svh;
    padding: 18px 18px 46px;
  }

  .hero-bg-video {
    object-position: center center;
  }

  .nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
  }

  .brand {
    width: 100%;
    text-align: center;
    font-size: clamp(1rem, 4vw, 1.14rem);
    line-height: 1.15;
  }

  .nav-actions {
    width: min(100%, 330px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    align-items: stretch;
  }

  .nav-link,
  .nav-icon-link {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.08;
  }

  .nav-link {
    padding: 8px 10px;
    font-size: .95rem;
  }

  .nav-icon-link {
    width: auto;
    min-width: 0;
    height: auto;
    justify-self: stretch;
    padding: 8px 10px;
    gap: 7px;
  }

  .language-selector,
  .currency-selector {
    min-width: 0;
  }

  .language-selector {
    grid-column: 1 / 2;
  }

  .currency-selector {
    grid-column: 2 / 3;
  }

  .language-selector-button,
  .currency-selector-button {
    width: 100%;
    min-width: 0;
    height: 46px;
    padding: 8px 10px;
    font-size: 0.88rem;
  }

  .language-selector-flag,
  .language-selector-menu img,
  .currency-selector-flag,
  .currency-selector-menu img {
    width: 24px;
    height: 24px;
  }

  .language-selector-menu,
  .currency-selector-menu {
    right: 0;
    min-width: 172px;
  }

  .currency-selector-menu {
    min-width: 142px;
  }

  .hero-content {
    padding-top: 5vh;
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-content h1 {
    font-size: 2.05rem;
    line-height: 1.12;
  }

  .seo-destination-section {
    padding: 16px 14px 4px;
  }

  .seo-destination-inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }

  .seo-destination-inner h2 {
    font-size: 1.55rem;
  }

  .seo-topic-grid,
  .seo-dynamic-links {
    justify-content: stretch;
  }

  .seo-topic-grid a,
  .seo-dynamic-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .flight-form {
    grid-template-columns: 1fr;
  }

  .form-actions,
  .dialog-head,
  .date-picker-months {
    align-items: stretch;
    flex-direction: column;
  }

  button {
    width: 100%;
  }

  .date-picker-months {
    display: flex;
  }

  .date-picker-calendars {
    grid-template-columns: 1fr;
  }

  .flight-flex-strip {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
  }
}

.vendor-join-section {
  padding: 0 clamp(18px, 5vw, 72px) 24px;
}

.vendor-join-card {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, #0d3152, #0f5f9c);
  color: #fff;
  box-shadow: var(--shadow);
}

.vendor-join-card h2 {
  margin: 0 0 10px;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.vendor-join-card p:not(.eyebrow) {
  margin: 0;
  max-width: 760px;
  color: rgba(255, 255, 255, .88);
}

.vendor-join-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--blue-dark);
  text-decoration: none;
  font-weight: 800;
}

.vendor-page {
  padding: 24px 14px 64px;
  background: transparent;
}

.vendor-hero-copy {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}

.vendor-hero-pill {
  margin-bottom: 16px;
}

.vendor-dashboard-active .vendor-hero-pill {
  display: none;
}

.vendor-hero-title {
  margin-bottom: 16px;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.vendor-hero-text {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}

.vendor-shell {
  max-width: 1280px;
  margin: 0 auto;
}

.vendor-auth-shell {
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

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

.vendor-dashboard {
  display: grid;
  gap: 20px;
}

.vendor-lock-banner {
  padding: 18px 20px;
  border: 1px solid rgba(220, 38, 38, 0.22);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff1f2, #ffe4e6);
  color: #991b1b;
  box-shadow: 0 16px 30px rgba(153, 27, 27, 0.08);
}

.vendor-lock-banner strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.vendor-lock-banner p {
  margin: 0;
  line-height: 1.6;
}

.vendor-dashboard.is-hidden {
  display: none;
}

.vendor-dashboard.is-email-locked .vendor-card.is-readonly {
  opacity: 0.58;
  filter: saturate(0.78);
}

.vendor-dashboard.is-email-locked .vendor-card.is-readonly::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.vendor-card {
  position: relative;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.97));
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
  transition: var(--transition);
}

.vendor-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.vendor-card h2,
.vendor-card h3 {
  margin: 0 0 16px;
}

.vendor-card-collapsible .vendor-section-body[hidden] {
  display: none;
}

.vendor-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 8px 4px 4px;
}

.vendor-phone-row {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  align-items: center;
}

.vendor-phone-prefix {
  flex: 0 0 170px;
  width: 170px;
  min-width: 170px;
  padding-right: 34px;
  font-size: 0.96rem;
  white-space: nowrap;
}

.vendor-flex-input {
  flex: 1 1 220px;
  min-width: 0;
}

.vendor-password-wrap {
  position: relative;
}

.vendor-password-input {
  width: 100%;
  padding-right: 40px;
}

.vendor-eye-toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 24px;
  height: 24px;
  min-height: 24px;
  padding: 0;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  box-shadow: none;
}

.vendor-eye-icon {
  display: block;
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.vendor-widget-card {
  background: linear-gradient(135deg, rgba(240, 247, 255, 0.96), rgba(255, 255, 255, 0.98));
}

.vendor-widget-code-panel {
  margin-top: 18px;
}

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

.vendor-widget-code-head strong {
  color: var(--text);
  font-size: 0.98rem;
}

.vendor-widget-code {
  min-height: 120px;
  margin-top: 0;
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  resize: vertical;
}

.vendor-widget-code[hidden] {
  display: none;
}

.vendor-widget-code-panel:has(.vendor-widget-code[hidden]) {
  display: none;
}

.vendor-widget-link-panel {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.vendor-widget-public-link {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--text);
  background: #fff;
  font: inherit;
  font-weight: 700;
}

.vendor-widget-public-link[hidden],
.vendor-widget-code-panel:has(.vendor-widget-public-link[hidden]) {
  display: none;
}

.vendor-terms-row {
  margin-top: 12px;
  margin-bottom: 12px;
}

.vendor-terms-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 0.95rem;
  cursor: pointer;
}

.vendor-terms-check {
  width: 20px;
  height: 20px;
}

.vendor-inline-link {
  color: var(--blue);
}

.vendor-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.vendor-section-head {
  margin-bottom: 18px;
}

.vendor-card.is-collapsed .vendor-section-head {
  margin-bottom: 0;
}

.vendor-section-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.vendor-inline-form {
  display: inline-flex;
  margin: 0;
}

.vendor-section-toggle {
  flex: 0 0 auto;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.vendor-section-chevron {
  width: 12px;
  height: 12px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.vendor-card.is-collapsed .vendor-section-chevron {
  transform: rotate(-45deg) translateY(1px);
}

.vendor-section-save {
  margin-top: 20px;
  justify-content: flex-end;
}

.vendor-section-save[data-application-save="true"] {
  display: none;
}

.vendor-step-footer {
  margin-top: 20px;
  justify-content: flex-end;
}

.vendor-section-save button {
  min-width: 160px;
}

.vendor-flow-card {
  padding-top: 22px;
}

.vendor-flow-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.vendor-flow-nav-inline {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
}

.vendor-flow-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.vendor-flow-step {
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 18px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(240,247,255,0.92));
  text-align: left;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.vendor-flow-step:hover {
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.7);
}

.vendor-flow-step.is-active {
  border-color: rgba(37, 99, 235, 0.95);
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.14);
  background: linear-gradient(180deg, rgba(239,246,255,1), rgba(255,255,255,1));
}

.vendor-flow-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 42%);
  pointer-events: none;
}

.vendor-flow-step.is-complete {
  border-color: rgba(34, 197, 94, 0.35);
  background: linear-gradient(180deg, rgba(240,253,244,1), rgba(255,255,255,1));
}

.vendor-flow-step strong {
  display: block;
  color: #0f172a;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}

.vendor-flow-step span {
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

.vendor-flow-step em {
  display: inline-flex;
  margin-top: 10px;
  padding: 4px 9px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e0ecff;
  color: #1d4ed8;
  position: relative;
  z-index: 1;
}

.vendor-flow-step.is-complete em {
  background: #dcfce7;
  color: #166534;
}

.vendor-flow-nav-inline .ghost-button[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.vendor-doc-preview {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.1);
  background: #f8fafc;
}

.vendor-success-modal {
  width: min(520px, calc(100% - 28px));
}

.vendor-success-panel {
  text-align: center;
  padding: 38px 30px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top, rgba(59, 130, 246, 0.14), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,1), rgba(244,248,255,0.98));
}

.vendor-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vendor-success-panel h3 {
  margin: 0 0 10px;
  font-size: 2rem;
  color: #0f172a;
}

.vendor-success-panel p {
  margin: 0;
  color: #52607a;
  font-size: 1.02rem;
}

.vendor-success-panel p + p {
  margin-top: 8px;
}

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

.field-span-2 {
  grid-column: 1 / -1;
}

.guest-selector-field {
  position: relative;
}

.guest-selector-toggle {
  width: 100%;
  min-height: 60px;
  display: grid;
  grid-template-columns: 34px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border: 2px solid #f5b400;
  border-radius: 8px;
  background: #ffffff !important;
  color: #111827 !important;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 95, 156, 0.10) !important;
  transform: none !important;
}

#guest_selector_label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.guest-selector-toggle:hover,
.guest-selector-toggle:focus-visible {
  border-color: #f5b400;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 0 0 3px rgba(245, 180, 0, 0.18), 0 18px 34px rgba(15, 95, 156, 0.14) !important;
  transform: none !important;
}

.guest-selector-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f8fbff;
  color: #0f5f9c !important;
}

.guest-selector-toggle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #0f5f9c;
  border-bottom: 2px solid #0f5f9c;
  transform: rotate(45deg);
  justify-self: end;
}

.guest-selector-toggle[aria-expanded="true"]::after {
  transform: rotate(225deg);
}

.guest-selector-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 12px);
  left: 0;
  width: min(460px, calc(100vw - 28px));
  padding: 18px 20px;
  border: 1px solid #d9e4ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 78px rgba(15, 23, 42, 0.20);
}

.guest-stepper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid #edf2f7;
}

.guest-stepper-row strong,
.guest-stepper-row span {
  display: block;
}

.guest-stepper-row span {
  margin-top: 3px;
  color: #64748b;
  font-size: 0.9rem;
}

.guest-stepper {
  display: grid;
  grid-template-columns: 42px 42px 42px;
  align-items: center;
  border: 1px solid #b9c7d8;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.guest-stepper button {
  min-height: 42px;
  border: 0;
  background: #ffffff !important;
  color: #0f5f9c !important;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
}

.guest-stepper button:hover,
.guest-stepper button:focus-visible {
  background: #edf7ff !important;
  box-shadow: inset 0 0 0 2px rgba(15, 95, 156, 0.12) !important;
}

.guest-stepper button:disabled {
  color: #94a3b8 !important;
  cursor: not-allowed;
  background: #f8fafc !important;
}

.guest-stepper b {
  text-align: center;
  color: #111827;
}

.guest-selector-done {
  width: 100%;
  min-height: 46px;
  margin-top: 14px;
  border: 1px solid #0f5f9c;
  border-radius: 8px;
  background: #ffffff !important;
  color: #0f5f9c !important;
  font-weight: 900;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
}

.guest-selector-done:hover,
.guest-selector-done:focus-visible {
  background: #edf7ff !important;
  box-shadow: 0 0 0 3px rgba(15, 95, 156, 0.12) !important;
}

.guest-selector-note {
  margin: 12px 0 0;
  color: #64748b;
  font-size: 0.88rem;
  line-height: 1.45;
}

.hotel-children-ages-field {
  padding: 16px 18px;
  margin-top: 14px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(244, 247, 255, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(191, 219, 254, 0.85);
}

.guest-ages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.guest-age-card {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
}

.guest-age-card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: #334155;
}

.guest-age-card input,
.guest-age-card select {
  min-height: 46px;
  border: 1px solid #dbe4ef;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #111827;
}

.vendor-room-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.vendor-room-card,
.vendor-rate-plan-card,
.vendor-offer-card {
  border-radius: 24px;
  background:
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(191, 219, 254, 0.9);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.06);
}

.vendor-section-box {
  padding: clamp(18px, 3vw, 28px);
  margin-bottom: 24px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f9fbff);
}

.vendor-subcard,
.vendor-rate-plan-assignment {
  padding: 16px;
  margin-top: 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.vendor-section-title,
.vendor-subtitle {
  margin-top: 0;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.vendor-section-title {
  margin-bottom: 24px;
  font-size: 1.2rem;
}

.vendor-subtitle {
  margin-bottom: 12px;
  font-size: 1rem;
}

.vendor-inline-control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.vendor-bed-options-list {
  display: grid;
  gap: 14px;
}

.vendor-bed-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.8fr) auto;
  gap: 14px;
  align-items: end;
}

.vendor-bed-option-row.is-new {
  padding: 12px;
  margin: -12px;
  border: 1px solid rgba(15, 95, 156, 0.28);
  border-radius: 8px;
  background: #eef6ff;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.1);
}

.vendor-bed-option-actions {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 2px;
}

.vendor-bed-add,
.vendor-bed-remove {
  min-height: 46px;
}

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

  .vendor-bed-option-actions {
    justify-content: flex-start;
  }

  .vendor-rate-logic-strip,
  .vendor-calendar-guide {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .vendor-calendar-legend {
    justify-content: flex-start;
  }

  .vendor-calendar-toolbar {
    align-items: stretch !important;
  }

  .vendor-calendar-toolbar > *,
  .vendor-calendar-toolbar .ghost-button,
  .vendor-calendar-control,
  .vendor-calendar-control input,
  .vendor-calendar-control select {
    width: 100%;
  }
}

.vendor-inline-input {
  width: min(100%, 92px);
}

.vendor-highlight-note {
  display: inline-block;
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eafaf0;
  color: #166534;
  font-weight: 700;
}

.vendor-rate-logic-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 4px 0 18px;
}

.vendor-rate-logic-strip div {
  padding: 14px 16px;
  border: 1px solid rgba(191, 219, 254, 0.95);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.vendor-rate-logic-strip strong,
.vendor-rate-logic-strip span,
.vendor-rate-plan-summary span,
.vendor-rate-plan-room-note {
  display: block;
}

.vendor-rate-logic-strip strong {
  margin-bottom: 4px;
  color: #0f172a;
  font-weight: 900;
}

.vendor-rate-logic-strip span,
.vendor-rate-plan-room-note {
  color: var(--muted);
  line-height: 1.45;
}

.vendor-rate-plan-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.vendor-rate-plan-summary span,
.vendor-rate-plan-room-note {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(239, 246, 255, 0.92);
  color: #27456b;
  font-size: 0.92rem;
  font-weight: 800;
}

.vendor-rate-plan-room-note {
  margin-top: 10px;
  border: 1px solid rgba(191, 219, 254, 0.9);
}

.vendor-rate-room-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 14px;
  background: #f8fbff;
}

.vendor-rate-room-toolbar > div:first-child {
  display: grid;
  gap: 4px;
}

.vendor-rate-room-toolbar strong {
  color: #0f172a;
  font-size: 1rem;
}

.vendor-rate-room-toolbar span {
  color: #52657f;
  font-size: 0.92rem;
  line-height: 1.35;
}

.vendor-rate-room-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.vendor-rate-room-actions .ghost-button {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.vendor-rate-room-search {
  width: 100%;
  margin-bottom: 12px;
}

.vendor-checkbox-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.vendor-rate-room-list {
  max-height: 330px;
  overflow: auto;
  padding: 4px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 16px;
  background: #ffffff;
}

.vendor-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #fff;
}

.vendor-checkbox-row span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.vendor-checkbox-row strong {
  color: #0f172a;
  line-height: 1.2;
}

.vendor-checkbox-row small {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.25;
}

.vendor-rate-plan-title {
  display: block;
  margin-bottom: 12px;
  color: #0f3a67;
  font-size: 1.05rem;
  font-weight: 800;
}

.vendor-rate-plan-head,
.vendor-offer-card-head {
  margin-bottom: 20px;
  padding: 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(224, 231, 255, 0.82), transparent 34%),
    linear-gradient(180deg, #ffffff, #f8fbff);
  border: 1px solid rgba(203, 213, 225, 0.9);
}

.vendor-offer-card-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  appearance: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.vendor-offer-card.is-collapsed .vendor-offer-card-head {
  margin-bottom: 0;
}

.vendor-offer-card-toggle:hover h4,
.vendor-offer-card-toggle:focus-visible h4 {
  color: #0B4E80;
}

.vendor-offer-compact-side {
  display: grid;
  justify-items: end;
  gap: 6px;
  min-width: 170px;
}

.vendor-offer-compact-side strong {
  color: #0f172a;
  font-size: 1.2rem;
  font-weight: 950;
}

.vendor-offer-compact-side small {
  color: var(--muted);
  font-weight: 800;
}

.vendor-offer-status {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  background: #eff6ff;
  color: #0B4E80;
  font-size: 0.72rem;
  font-weight: 900;
}

.vendor-offer-status.is-active {
  background: #dcfce7;
  color: #166534;
}

.vendor-offer-status.is-expired {
  background: #fee2e2;
  color: #991b1b;
}

.vendor-offer-status.is-draft {
  background: #fef3c7;
  color: #92400e;
}

.vendor-offer-group {
  display: grid;
  gap: 14px;
}

.vendor-offer-group + .vendor-offer-group {
  margin-top: 22px;
}

.vendor-offer-group > h4 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.vendor-rate-plan-head h4,
.vendor-offer-card-head h4 {
  margin: 8px 0 6px;
  color: #0f172a;
  font-size: clamp(1.12rem, 1.8vw, 1.45rem);
  letter-spacing: -0.03em;
}

.vendor-rate-plan-head p,
.vendor-offer-card-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.vendor-offer-grid {
  align-items: start;
}

.vendor-offer-lock {
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(255, 247, 237, 0.86));
  color: #92400e;
}

.vendor-empty-inline {
  color: var(--muted);
  font-style: italic;
}

.vendor-identity-section {
  margin-top: 24px;
}

.vendor-identity-title {
  margin-bottom: 8px;
  font-weight: 600;
}

.vendor-documents-status {
  margin-bottom: 16px;
}

.vendor-documents-status.is-success {
  color: #166534;
  font-weight: 700;
}

.vendor-documents-status.is-muted {
  color: #475569;
  font-weight: 600;
}

.vendor-upload-dropzone {
  padding: 16px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.vendor-map-shell {
  display: none;
  position: relative;
  width: 100%;
  height: 320px;
  min-height: 320px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #eaf1f8;
}

.vendor-map-shell[style*="block"] {
  display: block !important;
}

.vendor-map-status {
  margin: 10px 0 0;
  min-height: 20px;
}

.vendor-map-status.is-error {
  color: #b42318;
}

.vendor-map-search-button {
  white-space: nowrap;
  min-width: 170px;
}

.vendor-interactive-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  font-family: inherit;
  z-index: 1;
}

.vendor-interactive-map .leaflet-control-container {
  font-family: inherit;
}

.vendor-interactive-map .leaflet-control-zoom a {
  color: #1e2a44;
  font-weight: 900;
}

.vendor-interactive-map .leaflet-control-attribution {
  border-radius: 999px 0 0 0;
  color: var(--muted);
  font-size: 0.7rem;
}

.vendor-fallback-map {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  background: #cfe3ee;
  z-index: 1;
  touch-action: none;
}

.vendor-fallback-map:active {
  cursor: grabbing;
}

.vendor-fallback-map-tiles {
  position: absolute;
  inset: 0;
}

.vendor-fallback-map-tiles img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

.vendor-fallback-marker {
  z-index: 3;
  pointer-events: none;
}

.vendor-fallback-controls {
  position: absolute;
  right: 14px;
  top: 64px;
  z-index: 4;
  display: grid;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
}

.vendor-fallback-controls button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
  color: #1e2a44;
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: none;
}

.vendor-fallback-controls button + button {
  border-top: 1px solid var(--line);
}

.vendor-offer-card {
  display: grid;
  gap: 18px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92));
}

.vendor-offer-card.is-collapsed {
  gap: 0;
}

.vendor-offer-card.is-expired {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(254, 242, 242, 0.72));
}

.vendor-offer-preview {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 18px;
  background: #ffffff;
}

.vendor-offer-preview img,
.vendor-offer-preview-empty {
  width: 100%;
  height: 160px;
  border-radius: 14px;
  object-fit: cover;
  background: #eaf1f8;
}

.vendor-offer-preview-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.vendor-offer-preview > div {
  display: grid;
  align-content: center;
  gap: 8px;
}

.vendor-offer-preview h4,
.vendor-offer-preview p {
  margin: 0;
}

.vendor-offer-preview strong {
  color: #0F5F9C;
  font-size: 1.6rem;
}

.vendor-offer-footer-actions {
  justify-content: space-between;
}

.vendor-offer-flash {
  justify-self: start;
  border-radius: 999px;
  padding: 7px 10px;
  background: #111827;
  color: #ffffff;
  font-weight: 900;
}

.osm-static-map {
  position: relative;
  min-height: 250px;
  height: 250px;
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #dbe7f0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.osm-static-map-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  width: 100%;
  height: 100%;
  min-height: inherit;
  transform: scale(1.08);
}

.osm-static-map-tiles img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.osm-map-marker {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -100%) rotate(45deg);
  border-radius: 50% 50% 50% 0;
  background: #4b35d8;
  box-shadow: 0 10px 24px rgba(15, 95, 156, 0.35);
}

.osm-map-marker::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.osm-map-open-link,
.osm-map-attribution {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1e2a44;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.osm-map-open-link {
  right: 14px;
  top: 14px;
  padding: 9px 12px;
  text-decoration: none;
}

.osm-map-attribution {
  left: 12px;
  bottom: 12px;
  padding: 5px 9px;
  font-size: 0.72rem;
  color: var(--muted);
}

.vendor-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.vendor-amenity-chip {
  position: relative;
  display: block;
  cursor: pointer;
}

.vendor-amenity-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.vendor-amenity-box {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  transition: var(--transition);
}

.vendor-amenity-chip:hover .vendor-amenity-box {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 95, 156, 0.28);
}

.vendor-amenity-chip input:checked + .vendor-amenity-box {
  border-color: rgba(15, 95, 156, 0.42);
  background: linear-gradient(180deg, #EAF4FB, #f8fbff);
  box-shadow: 0 14px 28px rgba(15, 95, 156, 0.14);
}

.vendor-amenity-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #0B4E80;
  background: radial-gradient(circle at top, rgba(199, 210, 254, 0.95), rgba(224, 231, 255, 0.7));
}

.vendor-amenity-icon svg {
  width: 21px;
  height: 21px;
}

.vendor-amenity-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.vendor-amenity-copy strong {
  color: #0f172a;
  font-size: 0.98rem;
  line-height: 1.2;
}

.vendor-amenity-copy small {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.vendor-amenity-check {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  border: 1.5px solid rgba(148, 163, 184, 0.95);
  background: #ffffff;
  transition: var(--transition);
}

.vendor-amenity-chip input:checked + .vendor-amenity-box .vendor-amenity-check {
  border-color: #0F5F9C;
  background: #0F5F9C;
  box-shadow: inset 0 0 0 3px #EAF4FB;
}

.vendor-service-editor {
  display: grid;
  gap: 18px;
}

.vendor-service-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(99, 102, 241, 0.18);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(238, 242, 255, 0.95), rgba(255, 255, 255, 0.95));
}

.vendor-service-editor-head strong,
.vendor-service-group-editor h4 {
  display: block;
  color: var(--ink);
}

.vendor-service-editor-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.vendor-service-group-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 14px;
}

.vendor-service-group-editor h4 {
  margin: 0 0 10px;
}

.vendor-service-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.vendor-service-choice {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #dbe4f0;
  border-radius: 999px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
}

.vendor-service-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

.vendor-service-choice span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1.25;
}

.vendor-service-choice span::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1.5px solid #94a3b8;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: inset 0 0 0 3px #ffffff;
}

.vendor-service-choice:has(input:checked) {
  border-color: rgba(15, 95, 156, 0.42);
  background: rgba(238, 242, 255, 0.92);
  color: #0B4E80;
}

.vendor-service-choice:has(input:checked) span::before {
  border-color: #1684d8;
  background: #1684d8;
  box-shadow: inset 0 0 0 4px #ffffff;
}

.vendor-service-custom {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.vendor-toolbar {
  margin-top: 24px;
}

.vendor-stack-top {
  margin-top: 24px;
}

.vendor-application-steps {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.vendor-step-item {
  display: flex;
  width: 100%;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 12px 14px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: inherit;
}

button.vendor-step-item {
  cursor: pointer;
}

button.vendor-step-item:hover {
  border-color: rgba(15, 95, 156, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.vendor-step-item.is-complete {
  border-color: rgba(22, 101, 52, 0.18);
  background: linear-gradient(180deg, #f0fdf4, #ecfdf5);
}

.vendor-step-item strong {
  color: #0f172a;
}

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

.vendor-step-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #fee2e2;
  color: #b42318;
}

.vendor-step-item.is-complete .vendor-step-badge {
  background: #dcfce7;
  color: #166534;
}

.vendor-application-actions {
  margin-top: 20px;
  align-items: flex-start;
}

.vendor-application-actions .help-text {
  max-width: 620px;
  margin: 0;
}

#vendor-readiness-card,
#vendor-readiness-card h3,
#vendor-readiness-card p,
#vendor-readiness-card .help-text,
.vendor-application-recap-card,
.vendor-application-recap-card .admin-order-head,
.vendor-application-recap-card .admin-order-head h3,
.vendor-application-recap-card .admin-order-head p,
.vendor-application-recap-card .admin-order-head .eyebrow,
.vendor-application-recap-card .admin-order-head strong {
  color: #ffffff !important;
}

#vendor-readiness-card {
  background: linear-gradient(135deg, #0F5F9C, #0B4E80) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.vendor-application-recap-card {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.16);
}

.vendor-application-recap-card .vendor-step-item {
  background: rgba(255, 255, 255, 0.16) !important;
  border-color: rgba(255, 255, 255, 0.26) !important;
  color: #ffffff !important;
}

.vendor-application-recap-card .vendor-step-item strong,
.vendor-application-recap-card .vendor-step-item span {
  color: #ffffff !important;
}

.vendor-application-recap-card .vendor-step-badge {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #0B4E80 !important;
}

.vendor-application-recap-card .vendor-step-badge.is-pending {
  background: #fef3c7 !important;
  color: #92400e !important;
  border: 1px solid rgba(251, 191, 36, 0.65);
  box-shadow: 0 8px 18px rgba(146, 64, 14, 0.16);
}

.vendor-application-recap-card .vendor-step-badge.is-review {
  background: #fee2e2 !important;
  color: #991b1b !important;
  border: 1px solid rgba(248, 113, 113, 0.65);
}

.vendor-application-recap-card .vendor-step-item.is-complete .vendor-step-badge {
  color: #166534 !important;
}

.vendor-calendar-shell {
  margin-top: 16px;
  overflow-x: auto;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overscroll-behavior-x: contain;
}

.vendor-calendar-toolbar {
  position: sticky;
  left: 0;
  z-index: 2;
}

.vendor-calendar-control {
  color: #52607a;
  font-size: 0.86rem;
  font-weight: 800;
  white-space: nowrap;
}

.vendor-calendar-guide {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  background: linear-gradient(90deg, #f8fbff, #eef6ff);
  border-bottom: 1px solid var(--line);
}

.vendor-calendar-guide strong,
.vendor-calendar-guide span {
  display: block;
}

.vendor-calendar-guide strong {
  color: #0f172a;
  font-size: 1rem;
}

.vendor-calendar-guide span {
  margin-top: 3px;
  color: var(--muted);
  line-height: 1.45;
}

.vendor-calendar-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.vendor-calendar-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 7px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #27456b;
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(203, 213, 225, 0.9);
}

.legend-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
}

.legend-edit {
  background: #003580;
}

.legend-auto {
  background: #38bdf8;
}

.legend-rule {
  background: #0F5F9C;
}

.vendor-room-card,
.vendor-rate-plan-card {
  overflow: hidden;
}

.vendor-room-builder {
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at top left, rgba(224, 231, 255, 0.72), transparent 32%),
    linear-gradient(180deg, #ffffff, #f8fbff);
}

.vendor-room-builder.is-collapsed {
  padding: 16px clamp(16px, 2.4vw, 24px);
}

.vendor-room-builder-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.vendor-room-card-toggle {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.vendor-room-card-toggle:hover h4,
.vendor-room-card-toggle:focus-visible h4 {
  color: #0B4E80;
}

.vendor-room-builder.is-collapsed .vendor-room-builder-head {
  margin-bottom: 0;
  align-items: center;
}

.vendor-room-builder.is-collapsed .vendor-room-builder-head p {
  max-width: 720px;
}

.vendor-room-builder-head h4 {
  margin: 6px 0 6px;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  letter-spacing: -0.04em;
}

.vendor-room-builder-head p,
.vendor-panel-heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.vendor-room-status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.vendor-room-status-line span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: #ffffff;
  color: #475569;
  font-size: 0.78rem;
  font-weight: 900;
}

.vendor-room-status-line .is-ok {
  border-color: #bbf7d0;
  background: #ecfdf3;
  color: #166534;
}

.vendor-room-status-line .is-missing {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.vendor-room-status-line .is-draft {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.vendor-mini-label {
  display: inline-flex;
  width: fit-content;
  padding: 5px 9px;
  border-radius: 999px;
  background: #EAF4FB;
  color: #0B4E80;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.vendor-room-toggle-text {
  align-self: center;
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  background: #EAF4FB;
  color: #0B4E80;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.vendor-room-flow {
  display: grid;
  gap: 16px;
}

.vendor-room-panel {
  padding: clamp(16px, 2.6vw, 22px);
  border: 1px solid rgba(191, 219, 254, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.045);
}

.vendor-room-fold {
  display: block;
}

.vendor-room-fold:not([open]) {
  padding-bottom: clamp(16px, 2.6vw, 22px);
  background: rgba(248, 250, 252, 0.82);
}

.vendor-room-fold > summary {
  cursor: pointer;
  list-style: none;
}

.vendor-room-fold > summary::-webkit-details-marker {
  display: none;
}

.vendor-room-fold > summary::after {
  content: "";
  width: 12px;
  height: 12px;
  margin-left: auto;
  border-right: 2px solid #0B4E80;
  border-bottom: 2px solid #0B4E80;
  transform: rotate(45deg);
  transition: transform 0.18s ease;
}

.vendor-room-fold[open] > summary::after {
  transform: rotate(225deg);
}

.vendor-panel-heading {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.vendor-panel-heading > span {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #0F5F9C;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.22);
}

.vendor-panel-heading h5,
.vendor-meal-plan-card h5 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
}

.vendor-room-main-grid {
  grid-template-columns: minmax(220px, 1.4fr) minmax(170px, 1fr) repeat(4, minmax(118px, 0.6fr));
}

.vendor-meal-plan-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 14px;
}

.vendor-meal-plan-note {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 14px;
  background: #f8fbff;
  color: #475569;
  font-weight: 800;
  line-height: 1.45;
}

.vendor-meal-plan-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.vendor-meal-plan-card label {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 800;
}

.vendor-price-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.vendor-price-input span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 900;
}

.vendor-room-summary-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #eefbf3;
  color: #166534;
  font-weight: 800;
}

.vendor-room-footer-actions {
  margin-top: 18px;
  justify-content: space-between;
}

.vendor-rule-explainer {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(191, 219, 254, 0.9);
  border-radius: 14px;
  background: #f8fbff;
  color: #475569;
  line-height: 1.45;
}

.vendor-rule-explainer strong {
  color: #0f172a;
}

.vendor-rule-explainer span {
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .vendor-room-builder-head {
    flex-direction: column;
  }

  .vendor-room-main-grid,
  .vendor-meal-plan-grid {
    grid-template-columns: 1fr;
  }

  .vendor-rate-room-toolbar {
    display: grid;
  }

  .vendor-rate-room-actions {
    justify-content: flex-start;
  }
}

.vendor-room-card .admin-grid,
.vendor-rate-plan-card .admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.vendor-room-card .vendor-room-main-grid {
  grid-template-columns: minmax(220px, 1.4fr) minmax(170px, 1fr) repeat(4, minmax(118px, 0.6fr));
}

@media (max-width: 980px) {
  .vendor-room-card .vendor-room-main-grid {
    grid-template-columns: 1fr;
  }
}

.vendor-room-card .field,
.vendor-rate-plan-card .field,
.vendor-room-card select,
.vendor-rate-plan-card select,
.vendor-room-card input,
.vendor-rate-plan-card input,
.vendor-room-card textarea,
.vendor-rate-plan-card textarea {
  min-width: 0;
}

.vendor-bulk-modal {
  max-width: 500px;
  padding: 0;
  border: none;
  border-radius: 18px;
}

.vendor-modal-panel {
  padding: 24px;
}

.vendor-bulk-options {
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f9fafb;
}

.vendor-bulk-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.vendor-bulk-options-list input[aria-disabled="true"],
.vendor-bulk-options-list select[aria-disabled="true"] {
  opacity: 0.55;
  background: #f1f5f9;
}

.vendor-bulk-options-list .vendor-checkbox-row {
  cursor: pointer;
}

.vendor-photo-sort-row {
  grid-template-columns: 74px 140px minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
}

.vendor-photo-upload-zone {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.vendor-photo-upload-card {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 240px;
  padding: 28px;
  border: 2px dashed #0f5f9c;
  border-radius: 8px;
  background: #eef6ff;
  color: #0f5f9c;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.vendor-photo-upload-zone.is-dragging .vendor-photo-upload-card,
.vendor-photo-upload-card:hover {
  background: #e0f2fe;
  border-color: #0b4e80;
  transform: translateY(-1px);
}

.vendor-photo-upload-icon {
  display: inline-flex;
  width: 56px;
  height: 56px;
  color: #0f5f9c;
}

.vendor-photo-upload-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.vendor-photo-upload-card strong {
  color: #0f172a;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.vendor-photo-upload-card small {
  color: #64748b;
  font-weight: 750;
}

.vendor-photo-upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  background: #0f5f9c;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.22);
}

#submit-vendor-application,
.vendor-card button#submit-vendor-application {
  background: linear-gradient(135deg, #0f5f9c, #0b4e80) !important;
  border-color: #0f5f9c !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.22) !important;
}

.vendor-photo-order {
  display: grid;
  place-items: center;
  min-height: 76px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  text-align: center;
}

.vendor-photo-order strong {
  font-size: 1.25rem;
  line-height: 1;
}

.vendor-photo-order span {
  color: #64748b;
  font-size: 0.74rem;
  font-weight: 850;
  text-transform: uppercase;
}

.vendor-photo-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.vendor-photo-meta strong {
  color: #0f172a;
}

.vendor-photo-meta span {
  color: #64748b;
  font-size: 0.92rem;
}

.vendor-photo-sort-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(44px, 1fr));
  gap: 8px;
}

.vendor-photo-sort-button {
  min-width: 48px;
  padding-inline: 10px !important;
}

.vendor-photo-sort-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

#bulk-date-summary[data-state="ok"] {
  color: #047857;
}

#bulk-date-summary[data-state="error"] {
  color: #b91c1c;
}

.vendor-checkbox-spaced {
  margin-top: 12px;
}

@media (max-width: 760px) {
  .vendor-photo-sort-row {
    grid-template-columns: 56px 86px minmax(0, 1fr);
  }

  .vendor-photo-sort-row > button[data-delete-vendor-hotel-photo],
  .vendor-photo-sort-row > button[data-delete-vendor-room-photo],
  .vendor-photo-sort-actions {
    grid-column: 1 / -1;
  }

  .vendor-photo-upload-card {
    min-height: 210px;
    padding: 22px;
  }
}

.admin-toolbar {
  justify-content: space-between;
  align-items: center;
}

.admin-search-group {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 600px;
  flex-wrap: wrap;
}

#vendor-master-calendar-container {
  max-width: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.finance-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.finance-filters select {
  min-width: 180px;
}

#admin-vendor-search,
#admin-vendor-status-filter,
.finance-filters select {
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.92);
}

.admin-vendor-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.admin-vendor-stats button {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.86);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.admin-vendor-stats button:hover {
  border-color: rgba(67, 56, 202, 0.45);
  transform: translateY(-1px);
}

.admin-vendor-stats strong {
  display: block;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1;
}

.admin-vendor-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.admin-order-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 18px;
}

.admin-order-stats button {
  min-height: 74px;
  border: 1px solid rgba(15, 95, 156, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  text-align: left;
  padding: 12px 14px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 95, 156, 0.06);
}

.admin-order-stats button:hover,
.admin-order-stats button.is-active {
  border-color: rgba(15, 95, 156, 0.5);
  background: linear-gradient(135deg, #0f5f9c, #3f8fc2);
  color: #fff;
  transform: translateY(-1px);
}

.admin-order-stats strong,
.admin-order-stats span {
  display: block;
}

.admin-order-stats strong {
  font-size: 1.25rem;
  line-height: 1;
}

.admin-order-stats span {
  margin-top: 6px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.compact-vendor-card {
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  padding: 18px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

.compact-vendor-top,
.compact-vendor-metrics,
.compact-vendor-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.compact-vendor-title {
  min-width: 240px;
  flex: 1;
}

.compact-vendor-title h3 {
  margin: 8px 0 4px;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
}

.compact-vendor-title p,
.compact-vendor-card p {
  overflow-wrap: anywhere;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  background: #EAF4FB;
  color: #0B4E80;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-status-pill.is-approved {
  background: #dcfce7;
  color: #166534;
}

.admin-status-pill.is-pending,
.admin-status-pill.is-warning {
  background: #fef3c7;
  color: #92400e;
}

.admin-status-pill.is-rejected,
.admin-status-pill.is-paused {
  background: #fee2e2;
  color: #991b1b;
}

.compact-vendor-commission {
  min-width: 92px;
  text-align: right;
}

.compact-vendor-commission span {
  display: block;
  font-size: 1.35rem;
  font-weight: 950;
  color: #111827;
}

.compact-vendor-commission small {
  color: #64748b;
  font-weight: 800;
}

.compact-vendor-metrics {
  justify-content: flex-start;
  margin: 16px 0 10px;
}

.compact-vendor-metrics span {
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 12px;
  padding: 9px 12px;
  color: #64748b;
  background: #f8fafc;
}

.compact-vendor-metrics strong {
  color: #111827;
}

.compact-vendor-alert,
.compact-vendor-ok {
  margin: 8px 0 12px;
  border-radius: 12px;
  padding: 10px 12px;
  font-weight: 800;
}

.compact-vendor-alert {
  background: #fff7ed;
  color: #9a3412;
}

.compact-vendor-ok {
  background: #ecfdf5;
  color: #166534;
}

.compact-vendor-details {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding-top: 12px;
}

.compact-vendor-details summary {
  cursor: pointer;
  font-weight: 900;
  color: #0B4E80;
}

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

.compact-vendor-detail-grid section {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 14px;
  padding: 14px;
  background: #f8fafc;
}

.compact-vendor-detail-grid h4 {
  margin: 0 0 10px;
}

.compact-vendor-detail-grid p {
  margin: 0 0 10px;
}

.compact-vendor-description {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.admin-main .ghost-button,
.vendor-card .ghost-button,
.admin-main button,
.vendor-card button {
  border-radius: 14px;
}

.admin-vendor-card .invoice-list,
#vendor-invoices {
  display: grid;
  gap: 12px;
}

.invoice-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--blue-soft);
  transition: var(--transition);
}

.invoice-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.invoice-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 12px;
}

.invoice-actions input {
  flex: 1 1 220px;
}

/* Professional admin dashboard */
.admin-dashboard-body {
  --admin-sidebar: #17233d;
  --admin-sidebar-soft: #223354;
  --admin-surface: #f4f7fb;
  --admin-card: #ffffff;
  --admin-text: #111827;
  --admin-muted: #667085;
  --admin-line: #e3eaf3;
  background:
    radial-gradient(circle at top right, rgba(15, 95, 156, 0.11), transparent 32rem),
    linear-gradient(180deg, #f8fbff 0%, #eef4fa 100%);
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: 28px 22px;
  color: #d9e7fb;
  background:
    linear-gradient(180deg, rgba(23, 35, 61, 0.98), rgba(11, 30, 52, 0.98)),
    radial-gradient(circle at top left, rgba(76, 201, 240, 0.22), transparent 18rem);
  box-shadow: 12px 0 34px rgba(15, 23, 42, 0.08);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.admin-brand img {
  display: block;
  width: min(210px, 100%);
  max-height: 58px;
  object-fit: contain;
}

.admin-brand strong {
  display: none;
}

.admin-brand span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: #07304f;
  background: linear-gradient(135deg, #ffffff, #bde9ff);
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.18);
}

.admin-side-nav {
  display: grid;
  gap: 6px;
  margin-top: 34px;
}

.admin-side-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 8px;
  color: rgba(230, 240, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-side-nav a:hover,
.admin-side-nav a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(2px);
}

.admin-sidebar-note {
  display: none !important;
  margin-top: 36px;
  padding: 16px;
  border: 1px solid rgba(191, 219, 254, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
}

.admin-sidebar-note span {
  display: block;
  margin-bottom: 8px;
  color: #8bd5ff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-sidebar-note strong {
  display: block;
  color: #ffffff;
  font-size: 0.92rem;
  line-height: 1.45;
}

.admin-workspace {
  min-width: 0;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 14px clamp(18px, 3vw, 34px);
  border-bottom: 1px solid var(--admin-line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
}

.admin-topbar .eyebrow {
  margin: 0 0 2px;
}

.admin-topbar strong {
  display: block;
  color: var(--admin-text);
  font-size: 1.05rem;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-topbar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--admin-line);
  border-radius: 8px;
  color: #0b4e80;
  background: #ffffff;
  font-weight: 850;
  text-decoration: none;
}

.admin-topbar-link:hover {
  border-color: rgba(15, 95, 156, 0.35);
  box-shadow: 0 10px 24px rgba(15, 95, 156, 0.08);
}

.admin-main-pro {
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: 28px clamp(18px, 3vw, 34px) 64px;
}

.admin-main-pro > .search-panel,
.admin-main-pro > .results-section {
  width: 100%;
  margin: 0 0 22px;
}

.admin-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: end;
  min-height: 210px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(191, 219, 254, 0.62);
  border-radius: 12px;
  color: #ffffff;
  background:
    linear-gradient(120deg, rgba(11, 78, 128, 0.96), rgba(15, 95, 156, 0.9)),
    radial-gradient(circle at 86% 18%, rgba(255, 184, 0, 0.28), transparent 18rem);
  box-shadow: 0 22px 54px rgba(15, 95, 156, 0.18);
  overflow: hidden;
}

.admin-hero-card .eyebrow,
.admin-hero-card h1,
.admin-hero-card p {
  color: #ffffff;
}

.admin-hero-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.admin-hero-card p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.admin-hero-actions {
  display: grid;
  gap: 10px;
  min-width: 220px;
}

.admin-mini-action {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  font-weight: 900;
  text-decoration: none;
}

.admin-mini-action span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  color: #0b4e80;
  background: #ffffff;
  font-size: 0.74rem;
}

.admin-panel-card {
  padding: clamp(20px, 2.8vw, 30px);
  border: 1px solid var(--admin-line);
  border-radius: 12px;
  background: var(--admin-card);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.055);
}

.admin-panel-card .section-heading {
  position: relative;
  display: block;
  min-height: 48px;
  margin-bottom: 20px;
  padding-right: 64px;
}

.admin-panel-card .section-heading::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 42px;
  width: 42px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(15, 95, 156, 0.12), rgba(56, 189, 248, 0.2)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%230F5F9C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v18'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.admin-panel-card .section-heading h2 {
  margin: 4px 0 6px;
  color: var(--admin-text);
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
  letter-spacing: -0.035em;
}

.admin-panel-card .section-heading p:not(.eyebrow) {
  max-width: 860px;
  margin: 0;
  color: var(--admin-muted);
  line-height: 1.55;
}

.admin-panel-card .admin-actions,
.admin-panel-card .finance-filters,
.admin-panel-card .admin-toolbar {
  padding: 14px;
  border: 1px solid #e8eef6;
  border-radius: 10px;
  background: #f8fbff;
}

.admin-panel-card input,
.admin-panel-card select,
.admin-search-input,
.admin-filter-select {
  min-height: 44px;
  border: 1px solid #dbe5f0 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: none !important;
}

.admin-main-pro .ghost-button,
.admin-main-pro .admin-link,
.admin-main-pro button {
  min-height: 40px;
  border-radius: 8px !important;
  font-weight: 850;
}

.admin-main-pro .ghost-button,
.admin-main-pro .admin-link {
  border-color: rgba(15, 95, 156, 0.18);
  background: #0f5f9c;
  color: #ffffff;
}

.admin-main-pro .admin-link:hover,
.admin-main-pro .ghost-button:hover {
  background: #0b4e80;
  transform: translateY(-1px);
}

.admin-vendor-stats,
.admin-order-stats {
  gap: 12px;
}

.admin-vendor-stats button,
.admin-order-stats button {
  border-radius: 10px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.055);
}

.admin-vendor-stats button {
  background: linear-gradient(135deg, #0f5f9c, #2886c3);
}

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

.admin-order,
.compact-vendor-card,
.invoice-card,
.affiliate-admin-rewards,
.affiliate-reward-tier-row,
.admin-affiliate-card {
  border-radius: 10px !important;
  border-color: #e2eaf3 !important;
  background: #ffffff !important;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.045) !important;
}

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

  .admin-sidebar {
    position: static;
    min-height: auto;
    padding: 18px;
  }

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

  .admin-sidebar-note {
    display: none;
  }
}

@media (max-width: 760px) {
  .admin-topbar,
  .admin-panel-card .section-heading,
  .admin-hero-card {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

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

  .admin-topbar-actions,
  .admin-hero-actions {
    width: 100%;
  }

  .admin-topbar-link,
  .admin-mini-action {
    width: 100%;
  }

  .admin-main-pro {
    padding: 16px 12px 48px;
  }

  .admin-panel-card .section-heading::after {
    display: none;
  }
}

.admin-main-pro > .admin-hero-card {
  border-color: rgba(191, 219, 254, 0.7) !important;
  background:
    linear-gradient(120deg, #082f49, #0f5f9c),
    radial-gradient(circle at 86% 18%, rgba(245, 180, 0, 0.3), transparent 18rem) !important;
}

.admin-main-pro > .admin-hero-card::after,
.admin-main-pro > .admin-panel-card::after {
  content: none !important;
}

.admin-main-pro > .admin-hero-card .eyebrow,
.admin-main-pro > .admin-hero-card h1,
.admin-main-pro > .admin-hero-card p {
  color: #ffffff !important;
}

.admin-main-pro > .admin-hero-card p {
  color: rgba(255, 255, 255, 0.84) !important;
}

@media (max-width: 900px) {
  .admin-vendor-stats,
  .admin-order-stats,
  .compact-vendor-detail-grid {
    grid-template-columns: 1fr;
  }

  .compact-vendor-commission {
    text-align: left;
  }

  .vendor-auth-grid,
  .vendor-form-grid {
    grid-template-columns: 1fr;
  }

  .vendor-dashboard-head,
  .vendor-room-head,
  .vendor-card-head {
    flex-direction: column;
    align-items: stretch;
  }

  .admin-main {
    width: min(100%, calc(100% - 16px));
    margin: 16px auto 56px;
  }

  .admin-main > .search-panel,
  .admin-main > .results-section,
  .vendor-card {
    border-radius: 22px;
  }

  .vendor-section-box {
    padding: 16px;
  }

  .vendor-checkbox-list {
    grid-template-columns: 1fr;
  }

  .admin-search-group {
    max-width: none;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .admin-row,
  .admin-order-head,
  .invoice-actions,
  .admin-actions,
  .finance-filters {
    flex-direction: column;
    align-items: stretch;
  }

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

  .vendor-page {
    padding-inline: 10px;
  }

  .vendor-phone-row,
  .vendor-terms-label {
    align-items: stretch;
    flex-direction: column;
  }

  .vendor-phone-prefix,
  .vendor-flex-input {
    width: 100%;
    flex-basis: auto;
  }

  .vendor-review-sync-card {
    grid-template-columns: 1fr;
  }

  .vendor-review-sync-card .ghost-button {
    width: 100%;
  }

  .vendor-section-title {
    font-size: 1.08rem;
    margin-bottom: 18px;
  }

  .vendor-step-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .vendor-flow-head {
    align-items: stretch;
  }

  .vendor-flow-nav-inline {
    width: 100%;
    justify-content: flex-start;
  }

  .vendor-amenity-box {
    grid-template-columns: 38px minmax(0, 1fr) 16px;
    min-height: 72px;
    padding: 12px 14px;
  }

  .vendor-amenity-icon {
    width: 38px;
    height: 38px;
  }

  .vendor-inline-input {
    width: 100%;
  }

  .vendor-inline-control span {
    width: 100%;
  }

  .vendor-modal-panel {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .admin-room,
  .admin-order,
  .vendor-card {
    padding: 14px;
  }

  .vendor-room-head,
  .vendor-card-head,
  .vendor-dashboard-head {
    gap: 12px;
  }
}

.commission-slider-container {
  background: var(--blue-soft);
  padding: 24px;
  border-radius: var(--radius);
  margin-top: 16px;
  border: 1px solid var(--line);
}

.commission-lock-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  margin-bottom: 18px;
  border-radius: 22px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), transparent 36%),
    linear-gradient(135deg, #ecfdf5 0%, #f8fafc 62%, #EAF4FB 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

.commission-lock-card[hidden] {
  display: none;
}

.commission-lock-card strong {
  display: block;
  color: #064e3b;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
  margin: 5px 0 8px;
}

.commission-lock-card p {
  margin: 0;
  color: #64748b;
}

.commission-lock-eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #047857;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.commission-lock-rate {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 28px;
  color: white;
  background: linear-gradient(135deg, #16a34a, #0f766e);
  font-size: 2rem;
  font-weight: 950;
  box-shadow: 0 18px 35px rgba(22, 163, 74, 0.25);
}

.commission-slider-container label {
  font-size: 1.1rem;
  color: var(--blue-dark);
  margin-bottom: 20px;
  display: block;
}

#commission-value-display {
  color: var(--blue);
  font-size: 1.4rem;
  background: white;
  padding: 4px 12px;
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  margin-left: 8px;
}

.slider-wrapper {
  position: relative;
  padding: 10px 0;
}

.slider-wrapper input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  background: transparent;
  padding: 0;
  margin: 0;
  box-shadow: none;
}

.slider-wrapper input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  border-radius: 50%;
  background: var(--blue);
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 4px 12px rgba(15, 95, 156, 0.4);
  transition: transform 0.1s;
}

.slider-wrapper input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.slider-wrapper input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  cursor: pointer;
  background: #cbd5e1;
  border-radius: 4px;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.floating-cart {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(15, 95, 156, 0.4);
  cursor: pointer;
  z-index: 1000;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-cart.is-hidden {
  display: none !important;
}

.floating-cart:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #ef4444;
  color: white;
  font-size: 13px;
  font-weight: 800;
  height: 24px;
  min-width: 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100vh;
  background: var(--panel-solid);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  z-index: 1002;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.is-closed {
  transform: translateX(105%);
}

.cart-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
  box-shadow: none;
}

.close-cart-btn:hover {
  background: transparent;
  transform: scale(1.1);
  box-shadow: none;
  color: #ef4444;
}

.cart-sidebar-content {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-sidebar-footer {
  padding: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 12px;
}

.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 1;
  transition: opacity 0.3s;
}

.cart-backdrop.is-closed {
  opacity: 0;
  pointer-events: none;
}

html.zlm-cart-open,
body.zlm-cart-open {
  overflow: hidden;
}

.cart-sidebar {
  width: min(760px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  height: 100dvh;
  overflow: hidden;
}

.cart-sidebar-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--panel-solid);
}

.cart-sidebar-content {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
}

.cart-sidebar-footer {
  position: sticky;
  bottom: 0;
  z-index: 2;
  background: var(--panel-solid);
}

.cart-sidebar-section {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.cart-sidebar-title {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cart-sidebar .package-flight-summary,
.cart-sidebar .package-room-summary {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.cart-sidebar .package-flight-head {
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  min-width: 0;
}

.cart-sidebar .package-flight-head img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.cart-sidebar .package-flight-head h3,
.cart-sidebar .package-room-copy h3,
.cart-sidebar .package-flight-head p,
.cart-sidebar .package-flight-side span,
.cart-sidebar .package-room-services,
.cart-sidebar .city-tax-note {
  overflow-wrap: anywhere;
  word-break: normal;
}

.cart-sidebar .package-flight-body {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.cart-sidebar .package-flight-leg {
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
}

.cart-sidebar .package-flight-leg strong,
.cart-sidebar .package-flight-leg small {
  overflow-wrap: anywhere;
}

.cart-sidebar .package-flight-side,
.cart-sidebar .package-room-side {
  align-items: start;
  justify-items: start;
  text-align: left;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.cart-sidebar .package-room-summary img {
  width: 100%;
  max-height: 190px;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
}

.cart-sidebar .package-room-copy,
.cart-sidebar .package-room-side {
  min-width: 0;
}

@media (max-width: 700px) {
  .floating-cart {
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .cart-sidebar {
    inset: auto 0 0 0;
    width: 100vw;
    max-width: 100vw;
    height: min(92dvh, 760px);
    border-radius: 16px 16px 0 0;
    transform: translateY(0);
  }

  .cart-sidebar.is-closed {
    transform: translateY(105%);
  }

  .cart-sidebar-header,
  .cart-sidebar-content,
  .cart-sidebar-footer {
    padding: 16px;
  }

  .cart-sidebar .package-flight-body {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- FINANCE UI (Booking.com style) --- */
.finance-ui-wrapper {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 32px;
}

.finance-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 20px 8px;
}

.finance-kpi {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.finance-kpi-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.finance-kpi strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.1;
  color: #0f172a;
}

.finance-kpi small {
  display: block;
  margin-top: 6px;
  color: #64748b;
  font-size: 0.84rem;
}

.finance-kpi-ready {
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  border-color: #bbf7d0;
}

.finance-kpi-pending {
  background: linear-gradient(180deg, #eff6ff 0%, #f8fbff 100%);
  border-color: #bfdbfe;
}

.finance-kpi-requested {
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 100%);
  border-color: #fed7aa;
}

.finance-ui-header {
  padding: 16px 20px;
  background: #fdfdfd;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #ef4444; /* Booking outstanding color accent */
}
.finance-ui-header.paid-header {
  border-bottom: 2px solid var(--line);
}
.finance-ui-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: #b91c1c; /* Crimson */
}
.finance-ui-header.paid-header h3 {
  color: var(--blue-dark);
}

.finance-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.finance-table th, .finance-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  color: #374151;
}
.finance-table th {
  background: #f8fbff;
  color: #1e3a8a;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #bfdbfe;
}
.finance-table tbody tr:last-child td {
  border-bottom: none;
}
.finance-table tbody tr:hover {
  background: #fcfcfc;
}

.finance-actions a,
.finance-actions button {
  color: var(--blue);
  background: none;
  border: none;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  font-family: inherit;
  font-size: 0.92rem;
}
.finance-actions button {
  text-decoration: underline;
}
.finance-actions a:hover,
.finance-actions button:hover {
  color: var(--blue-dark);
}
.finance-actions span.separator {
  color: var(--line);
  margin: 0 8px;
}

.finance-amount {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}
.finance-status {
  font-weight: 600;
}

.color-overdue { color: #dc2626; }
.color-paid { color: #16a34a; }
.color-pending { color: #b45309; }
.color-amber { color: #d97706; }

.finance-total-row {
  padding: 20px;
  text-align: right;
  background: #fefefe;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.finance-total-row p {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}
.finance-total-row strong {
  font-size: 1.15rem;
  color: #111827;
}

.finance-search-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(140px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.finance-filter-field {
  display: grid;
  gap: 6px;
}

.finance-filter-field label {
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
}

.finance-filter-field input,
.finance-filter-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--ink);
  font: inherit;
  padding: 10px 12px;
}

.finance-filter-field input:focus,
.finance-filter-field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(78, 70, 229, 0.12);
}

.finance-filter-reset {
  min-height: 44px;
  white-space: nowrap;
}

.finance-filter-summary {
  margin: 0 0 18px;
  color: #64748b;
  font-size: 0.92rem;
}

.finance-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: center;
}
.finance-filters select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: white;
  font-size: 0.95rem;
  color: var(--blue-dark);
  font-weight: 500;
  cursor: pointer;
}

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

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

  .commission-lock-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .commission-lock-rate {
    width: 100%;
    height: auto;
    min-height: 72px;
  }
}

.affiliate-page {
  max-width: 1180px;
}

.affiliate-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.affiliate-dashboard {
  display: grid;
  gap: 22px;
}

.dashboard-head,
.affiliate-link-row,
.affiliate-event {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.affiliate-stat-grid article,
.affiliate-link-card,
.affiliate-event {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f4fbff);
  padding: 18px;
  box-shadow: 0 18px 45px rgba(20, 40, 80, 0.08);
}

.affiliate-stat-grid span {
  display: block;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
}

.affiliate-stat-grid strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--ink);
}

.affiliate-link-row input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 800;
  color: var(--blue-dark);
  background: #fff;
}

.affiliate-progress {
  margin-top: 18px;
}

.affiliate-progress-bar {
  height: 14px;
  border-radius: 999px;
  background: #e9eef8;
  overflow: hidden;
}

.affiliate-progress-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #0F5F9C, #14b8a6);
  transition: width 0.25s ease;
}

.affiliate-events {
  display: grid;
  gap: 10px;
}

.affiliate-event {
  box-shadow: none;
}

.affiliate-event span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.affiliate-event b {
  color: #166534;
  font-size: 1.2rem;
}

.affiliate-verification-card {
  border-color: #f59e0b;
  background: #fffbeb;
}

.affiliate-link-card.is-locked {
  opacity: 0.72;
}

.affiliate-reward-goals {
  display: grid;
  gap: 12px;
}

.affiliate-reward-goal,
.influencer-request-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}

.influencer-request-card > div {
  min-width: 0;
}

.affiliate-reward-goal strong,
.influencer-request-card h4 {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.vendor-influencer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.vendor-influencer-socials.is-empty {
  color: var(--muted);
  font-weight: 700;
}

.vendor-influencer-social {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 172px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--ink);
  text-decoration: none;
}

.vendor-influencer-social strong,
.vendor-influencer-social small {
  display: block;
  line-height: 1.2;
}

.vendor-influencer-social small {
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}

.vendor-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #0B4E80;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
}

.vendor-social-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vendor-social-icon-tiktok svg,
.vendor-social-icon-facebook svg,
.vendor-social-icon-youtube svg {
  fill: currentColor;
  stroke: none;
}

.vendor-social-icon-instagram {
  background: linear-gradient(135deg, #f97316, #ec4899, #0F5F9C);
}

.vendor-social-icon-tiktok {
  background: #111827;
}

.vendor-social-icon-facebook {
  background: #1877f2;
}

.vendor-social-icon-youtube {
  background: #dc2626;
}

.vendor-review-sync-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(15, 95, 156, 0.18);
  border-radius: 14px;
  background: linear-gradient(135deg, #f8fbff, #eef7ff);
}

.vendor-review-query-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.vendor-review-preview {
  display: grid;
  gap: 8px;
  margin: -2px 0 12px;
}

.vendor-review-preview[hidden] {
  display: none;
}

.vendor-review-preview-note {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.4;
}

.vendor-review-candidate {
  width: 100%;
  border: 1px solid rgba(15, 95, 156, 0.18);
  border-radius: 12px;
  background: #ffffff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

button.vendor-review-candidate {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: none;
}

.vendor-review-candidate:hover,
.vendor-review-candidate.is-selected {
  border-color: rgba(15, 95, 156, 0.45);
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 95, 156, 0.12);
  transform: translateY(-1px);
}

.vendor-review-candidate strong,
.vendor-review-candidate span {
  display: block;
}

.vendor-review-candidate strong {
  color: #0f172a !important;
}

.vendor-review-candidate span {
  margin-top: 4px;
  color: #64748b !important;
  font-size: 0.92rem;
  line-height: 1.35;
}

.vendor-review-candidate small {
  background: rgba(15, 95, 156, 0.1);
  border-radius: 999px;
  color: #0f5f9c;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.vendor-review-sync-card strong,
.vendor-review-sync-card span {
  display: block;
}

.vendor-review-sync-card strong {
  color: #0f172a;
  font-size: 1rem;
}

.vendor-review-sync-card span {
  margin-top: 5px;
  color: #64748b;
  line-height: 1.45;
}

.vendor-review-sync-card .ghost-button {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .vendor-review-query-row {
    grid-template-columns: 1fr;
  }

  .vendor-review-candidate {
    grid-template-columns: 1fr;
  }
}

.affiliate-reward-goal span,
.affiliate-reward-goal small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.affiliate-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr)) minmax(260px, 1.2fr);
  gap: 12px;
  align-items: end;
  margin: 18px 0 22px;
}

.affiliate-settings-grid label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
}

.affiliate-settings-grid input,
.affiliate-settings-grid select {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}

.affiliate-points-policy {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbff;
  color: var(--muted);
}

.affiliate-points-policy strong {
  color: var(--ink);
}

.affiliate-admin-rewards {
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.affiliate-reward-tiers-editor {
  display: grid;
  gap: 12px;
}

.affiliate-reward-tier-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.6fr) repeat(4, minmax(90px, 0.7fr)) minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.admin-affiliate-card {
  display: grid;
  gap: 16px;
}

.admin-affiliate-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.admin-affiliate-metrics p {
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: #f5f8ff;
}

.partner-register-page {
  max-width: 1180px;
}

.partner-register-shell {
  overflow: hidden;
}

.partner-register-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0 0 18px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 95, 156, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.partner-register-language .language-selector-button,
.dashboard-language-selector .language-selector-button {
  color: #0b1f33;
  background: #ffffff;
  border-color: rgba(203, 213, 225, 0.9);
}

.dashboard-settings-card {
  display: grid;
  gap: 12px;
}

.dashboard-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, 0.85);
  border-radius: 8px;
  background: #f8fbfd;
}

.dashboard-settings-row strong {
  color: #0b1f33;
}

.partner-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.partner-type-card {
  border: 1px solid #d9e5f2;
  border-radius: 24px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(135deg, #ffffff, #f4f8ff);
  color: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 50px rgba(15, 35, 72, 0.08);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.partner-type-card:hover,
.partner-type-card.is-active {
  transform: translateY(-2px);
  border-color: #0F5F9C;
  box-shadow: 0 24px 60px rgba(15, 95, 156, 0.18);
}

.partner-type-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  background: #EAF4FB;
  color: #0B4E80;
  font-weight: 900;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.partner-type-card strong {
  display: block;
  margin: 14px 0 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.partner-type-card small {
  display: block;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.45;
}

.partner-type-card strong {
  color: #ffffff;
}

.partner-register-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 22px;
  align-items: start;
}

.partner-register-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 20px;
}

.partner-register-side {
  position: sticky;
  top: 18px;
  background: linear-gradient(160deg, #111827, #17324d);
  color: #fff;
}

.partner-register-side h3 {
  color: #fff;
}

.partner-register-side ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.partner-register-side li {
  position: relative;
  padding-left: 28px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

.partner-register-side li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #fde047;
  box-shadow: 0 0 0 5px rgba(253, 224, 71, 0.14);
}

#partner-register-form.is-vendor .affiliate-only,
#partner-register-form.is-affiliate .vendor-only {
  display: none !important;
}

.form-message.success {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 14px;
  padding: 12px 14px;
}

.form-message.error {
  color: #991b1b;
  background: #fee2e2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  padding: 12px 14px;
}

@media (max-width: 900px) {
  .affiliate-auth-grid,
  .affiliate-stat-grid,
  .admin-affiliate-metrics,
  .affiliate-settings-grid,
  .partner-type-grid,
  .partner-register-layout {
    grid-template-columns: 1fr;
  }

  .affiliate-reward-tier-row {
    grid-template-columns: 1fr;
  }

  .dashboard-head,
  .affiliate-link-row,
  .partner-register-menu,
  .dashboard-settings-row,
  .partner-register-head {
    align-items: stretch;
    flex-direction: column;
  }

  .partner-register-side {
    position: static;
  }
}

@media (max-width: 980px) {
  .vg-custom-page {
    width: min(100% - 28px, 760px);
  }

  .vg-custom-page .vg-gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-hero,
  .vg-custom-page .vg-gallery-mosaic .hotel-detail-thumb,
  .vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-side button:nth-child(2),
  .vg-custom-page .vg-gallery-mosaic .hotel-detail-gallery-side button:nth-child(4) {
    border-radius: 10px;
  }

  .vg-custom-hotel-card,
  .vg-custom-stay-card {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vg-custom-room-card {
    grid-template-columns: 1fr;
  }

  .vg-custom-room-photo,
  .vg-custom-room-photo .room-gallery,
  .vg-custom-room-photo .room-gallery .hotel-gallery-main-image {
    min-height: 230px;
    max-height: 320px;
  }

  .vg-custom-room-price {
    border-left: 0;
    border-top: 1px solid #ececf1;
  }
}

@media (max-width: 640px) {
  .vg-custom-breadcrumb {
    flex-wrap: wrap;
  }

  .vg-custom-breadcrumb .ghost-button {
    width: 100%;
    margin-left: 0;
  }

  .vg-custom-hotel-card,
  .vg-custom-stay-card,
  .vg-custom-room-main,
  .vg-custom-room-price {
    padding: 18px;
  }

  .vg-custom-feature-row,
  .vg-custom-radio-row {
    gap: 12px;
  }

  .vg-custom-room-card {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .vg-custom-room-main {
    min-width: 0;
    gap: 12px;
  }

  .vg-custom-room-main h3 {
    font-size: clamp(1.45rem, 8vw, 1.9rem);
  }

  .vg-custom-room-description,
  .vg-custom-room-services {
    overflow-wrap: anywhere;
  }

  .vg-custom-choice-block {
    min-width: 0;
    gap: 12px;
  }

  .vg-custom-radio-row,
  .vg-custom-cancel-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .vg-custom-radio {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.98rem;
    line-height: 1.35;
  }

  .vg-custom-radio span {
    display: grid;
    min-width: 0;
    gap: 3px;
    overflow-wrap: anywhere;
  }

  .vg-custom-radio small {
    display: block;
    margin-left: 0;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .vg-custom-room-price {
    display: grid;
    gap: 16px;
    justify-items: stretch;
  }

  .vg-custom-room-price strong,
  .vg-custom-room-price span,
  .vg-custom-room-price small {
    overflow-wrap: anywhere;
  }

  .vg-custom-continue {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    white-space: normal;
  }
}

/* Global action color: keep every primary control aligned with pulsante.png. */
button:not(.active-offer-title-button):not(.active-offers-pagination button):not(.hotel-title-button):not(.gallery-arrow):not(.gallery-lightbox-close):not(.gallery-lightbox-nav):not(.gallery-lightbox-strip button):not(.eye-toggle):not(.input-action):not(.hotel-description-more):not(.calendar-day):not(.vg-crumb-link):not(.vendor-room-card-toggle):not(.vendor-offer-card-toggle):not(.language-selector-button):not(.currency-selector-button),
.booking-button,
.product-tab.is-active,
.vendor-flow-step.is-active,
.vendor-flow-step.is-complete em,
.vendor-step-item,
.vendor-section-toggle,
.vendor-section-save button,
.vendor-join-button,
.active-offer-price button,
.active-offer-body button,
.vg-custom-breadcrumb .ghost-button,
.vg-custom-pick-room,
.vg-room-price .booking-button,
.finance-actions button,
.admin-vendor-stats button,
.upload-button {
  background: linear-gradient(135deg, #0F5F9C, #0B4E80) !important;
  border-color: #0F5F9C !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(15, 95, 156, 0.22) !important;
}

.admin-vendor-stats button strong,
.admin-vendor-stats button span {
  color: #ffffff !important;
}

/* Vendor application recap: keep the review summary compact and readable. */
#vendor-readiness-card .vendor-application-recap-card {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: clamp(16px, 2.2vw, 22px) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 18px 42px rgba(0, 0, 0, 0.16) !important;
}

#vendor-readiness-card .vendor-application-recap-card .admin-order-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 16px 18px;
  min-height: 0;
  border-radius: 16px;
  background: rgba(7, 25, 42, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#vendor-readiness-card .vendor-application-recap-card .admin-order-head > div,
#vendor-readiness-card .vendor-application-recap-card .vendor-step-item > div {
  min-width: 0;
}

#vendor-readiness-card .vendor-application-recap-card .admin-order-head h3 {
  margin: 4px 0 6px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.15;
}

#vendor-readiness-card .vendor-application-recap-card .admin-order-head .help-text {
  margin: 0;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.88) !important;
}

#vendor-readiness-card .vendor-application-recap-card .admin-order-head > strong {
  display: inline-grid;
  place-items: center;
  min-width: 58px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffffff;
  color: #0B4E80 !important;
  font-size: 1rem;
  box-shadow: 0 10px 22px rgba(7, 25, 42, 0.14);
}

#vendor-readiness-card .vendor-application-steps {
  display: grid;
  gap: 10px;
  margin-top: 0;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, auto);
  align-items: center;
  gap: 16px;
  min-height: 66px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(5, 76, 126, 0.92) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-item:hover {
  transform: none;
  border-color: rgba(255, 255, 255, 0.34) !important;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-item strong {
  display: inline;
  margin-right: 4px;
  color: #ffffff !important;
  overflow-wrap: anywhere;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-item span:not(.vendor-step-badge) {
  color: rgba(255, 255, 255, 0.88) !important;
  overflow-wrap: anywhere;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-badge {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  max-width: 100%;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  white-space: nowrap;
  background: #ffffff !important;
  color: #0B4E80 !important;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(7, 25, 42, 0.12);
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-badge.is-pending {
  background: #fef3c7 !important;
  color: #92400e !important;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-badge.is-review {
  background: #fee2e2 !important;
  color: #991b1b !important;
}

#vendor-readiness-card .vendor-application-recap-card .vendor-step-item.is-complete .vendor-step-badge {
  background: #ecfdf5 !important;
  color: #166534 !important;
}

@media (max-width: 760px) {
  #vendor-readiness-card .vendor-application-recap-card .admin-order-head,
  #vendor-readiness-card .vendor-application-recap-card .vendor-step-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  #vendor-readiness-card .vendor-application-recap-card .vendor-step-badge {
    justify-self: start;
  }
}

.admin-vendor-stats button span {
  opacity: 0.86;
}

.ghost-button,
.vendor-flow-step,
.vendor-card .ghost-button,
.admin-main .ghost-button,
.offer-filter-pills > button,
.offer-filter-menu > button,
.vendor-amenity-chip input:checked + .vendor-amenity-box {
  border-color: rgba(15, 95, 156, 0.22) !important;
  background: #EAF4FB !important;
  color: #0B4E80 !important;
}

.product-tab:not(.is-active) {
  border: 1px solid rgba(15, 95, 156, 0.24) !important;
  background: #ffffff !important;
  color: #0B4E80 !important;
  box-shadow: none !important;
  opacity: 0.72;
}

.product-tab:not(.is-active):hover {
  opacity: 1;
  background: #F4FAFE !important;
  box-shadow: 0 8px 18px rgba(15, 95, 156, 0.10) !important;
}

.product-tab.is-active {
  opacity: 1;
}

.panel-heading .eyebrow,
.section-heading .eyebrow,
.hotel-description-more,
.hotel-location-link,
.vg-custom-location,
.offer-filter-pills button.is-active,
.offer-filter-menu > button.is-active,
.offer-filter-dropdown button:hover,
.offer-filter-dropdown button.is-selected,
.vendor-amenity-icon,
.vendor-section-title,
.vendor-inline-link {
  color: #0F5F9C !important;
}

.vendor-flow-step,
.vendor-flow-step.is-active {
  background: linear-gradient(135deg, #0F5F9C, #0B4E80) !important;
  border-color: rgba(255, 255, 255, 0.22) !important;
}

.vendor-flow-step strong,
.vendor-flow-step span,
.vendor-flow-step.is-active strong,
.vendor-flow-step.is-active span {
  color: #ffffff !important;
}

.vendor-flow-step em,
.vendor-flow-step.is-complete em {
  background: rgba(255, 255, 255, 0.94) !important;
  color: #0B4E80 !important;
}

.vendor-flow-step.is-complete {
  border-color: rgba(255, 255, 255, 0.36) !important;
}

button:hover,
.booking-button:hover,
.vendor-join-button:hover {
  box-shadow: 0 16px 30px rgba(15, 95, 156, 0.28) !important;
}

@media (max-width: 640px) {
  .flight-form[data-mode="hotel"] {
    grid-template-columns: 1fr;
  }

  .flight-form[data-mode="hotel"] .form-actions {
    grid-column: 1 / -1;
    display: flex;
    position: static;
  }

  .flight-form[data-mode="hotel"] #form-note {
    position: static;
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .guest-selector-toggle {
    min-height: 56px;
    grid-template-columns: 30px 1fr 16px;
    gap: 10px;
    padding: 0 14px;
  }

  .guest-selector-icon {
    width: 30px;
    height: 30px;
  }

  .guest-selector-panel {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px;
    width: auto;
    max-height: min(76vh, 620px);
    overflow: auto;
  }

  .guest-stepper-row {
    align-items: flex-start;
  }
}

#guest_selector_toggle,
#guest_selector_toggle:hover,
#guest_selector_toggle:focus-visible {
  border: 2px solid #f5b400 !important;
  background: #ffffff !important;
  color: #111827 !important;
  box-shadow: 0 14px 28px rgba(15, 95, 156, 0.10) !important;
  transform: none !important;
}

#guest_selector_panel .guest-stepper button,
#guest_selector_panel .guest-stepper button:hover,
#guest_selector_panel .guest-stepper button:focus-visible,
#guest_selector_done,
#guest_selector_done:hover,
#guest_selector_done:focus-visible {
  background: #ffffff !important;
  color: #0f5f9c !important;
  box-shadow: none !important;
  transform: none !important;
}

.guest-selector-field .guest-selector-icon {
  color: #0f5f9c !important;
}

.date-range-field {
  isolation: isolate;
}

.date-range-icon {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 18px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f4f8fc;
  color: #0f5f9c;
  pointer-events: none;
}

.date-range-icon svg {
  width: 20px;
  height: 20px;
}

#date_range_display[readonly],
#date_range_display[readonly]:hover,
#date_range_display[readonly]:focus {
  width: 100%;
  min-height: 60px;
  padding-left: 66px;
  border: 2px solid #f5b400;
  border-radius: 8px;
  background: #ffffff !important;
  color: #111827;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 95, 156, 0.10);
  cursor: pointer;
  text-overflow: ellipsis;
}

#date_range_display[readonly]::placeholder {
  color: #6b7280;
  font-weight: 500;
}

#date_range_picker.date-range-picker {
  z-index: 10030;
  width: min(760px, calc(100vw - 32px));
  max-height: min(74vh, 680px);
  padding: 0;
  border: 1px solid #d8e2ed;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 24px 56px rgba(15, 35, 58, 0.20);
  overflow: auto;
}

#date_range_picker .date-picker-head {
  padding: 18px 20px 0;
  align-items: flex-start;
}

#date_range_picker .date-picker-head .eyebrow {
  display: none;
}

#date_range_picker .date-picker-head h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

#date_range_picker .date-picker-summary {
  margin: 14px 20px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid #e5edf5;
}

#date_range_picker .date-picker-badges {
  gap: 10px;
}

#date_range_picker .date-badge {
  border-color: #dbe6f1;
  background: #ffffff;
  padding: 10px 12px;
}

#date_range_picker .date-badge-accent {
  background: #f4f8fc;
}

#date_range_picker .date-picker-months {
  grid-template-columns: 42px 1fr 42px;
  gap: 10px;
  padding: 18px 20px 16px;
}

#date_range_picker .date-picker-calendars {
  gap: 28px;
}

#date_range_picker .calendar-month h4 {
  margin-bottom: 18px;
  font-size: 1.08rem;
  color: #111827;
}

#date_range_picker .calendar-weekdays,
#date_range_picker .calendar-grid {
  gap: 0;
}

#date_range_picker .calendar-weekdays span {
  padding: 0 0 12px;
  color: #374151;
  font-size: 0.92rem;
  font-weight: 500;
}

#date_range_picker .calendar-day,
#date_range_picker .calendar-empty {
  min-height: 44px;
}

#date_range_picker .calendar-day {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111827;
  box-shadow: none;
  font-weight: 600;
}

#date_range_picker .calendar-day-number {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  font-size: 0.95rem;
}

#date_range_picker .calendar-day:hover .calendar-day-number,
#date_range_picker .calendar-day:focus-visible .calendar-day-number {
  background: #eef6fc;
  outline: 2px solid #0f5f9c;
  outline-offset: -2px;
}

#date_range_picker .calendar-day.is-start,
#date_range_picker .calendar-day.is-end {
  background: #0f73d9;
  color: #ffffff;
}

#date_range_picker .calendar-day.is-start .calendar-day-number,
#date_range_picker .calendar-day.is-end .calendar-day-number {
  border-radius: 7px;
}

#date_range_picker .calendar-day.is-in-range,
#date_range_picker .calendar-day.is-preview {
  background: #e8f1fb;
  color: #111827;
}

#date_range_picker .calendar-day.is-today .calendar-day-number {
  outline: 2px solid #0f73d9;
  outline-offset: -2px;
}

#date_range_picker .calendar-day.is-disabled {
  background: transparent;
  color: #a3aab5;
}

#date_range_picker .calendar-day.is-start,
#date_range_picker .calendar-day.is-end {
  background: #0f73d9;
  color: #ffffff;
}

#date_range_picker .calendar-day.is-start .calendar-day-number,
#date_range_picker .calendar-day.is-end .calendar-day-number {
  color: #ffffff;
}

#date_range_picker .date-picker-footer {
  margin: 0;
  padding: 14px 20px 18px;
  border-top: 1px solid #e5edf5;
}

#close_date_picker,
#close_date_picker:hover,
#close_date_picker:focus-visible,
#date_picker_prev,
#date_picker_prev:hover,
#date_picker_prev:focus-visible,
#date_picker_next,
#date_picker_next:hover,
#date_picker_next:focus-visible {
  min-width: 42px !important;
  width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #0b4e80 !important;
  box-shadow: none !important;
  transform: none !important;
}

#close_date_picker,
#close_date_picker:hover,
#close_date_picker:focus-visible {
  width: auto !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 0 12px !important;
  border-color: #dbe6f1 !important;
}

#date_picker_prev,
#date_picker_next {
  align-self: start;
  margin-top: 36px;
  font-size: 1.6rem;
}

#date_picker_prev:hover,
#date_picker_next:hover {
  border-color: #cfe0ee !important;
  background: #f4f8fc !important;
}

#apply_date_picker,
#apply_date_picker:hover,
#apply_date_picker:focus-visible {
  min-height: 44px !important;
  width: auto !important;
  border-radius: 8px !important;
  padding: 0 20px !important;
}

@media (max-width: 820px) {
  #date_range_picker.date-range-picker {
    width: min(640px, calc(100vw - 28px));
  }

  #date_range_picker .date-picker-calendars {
    gap: 18px;
  }

#date_range_picker .calendar-day-number {
    width: 38px;
    height: 38px;
  }
}

/* Google reviews preview: these are selectable search results, not primary buttons. */
#vendor_review_preview button.vendor-review-candidate,
#vendor_review_preview button.vendor-review-candidate:hover,
#vendor_review_preview button.vendor-review-candidate:focus-visible {
  background: #ffffff !important;
  border: 1px solid rgba(15, 95, 156, 0.18) !important;
  color: #0f172a !important;
  box-shadow: 0 8px 20px rgba(15, 95, 156, 0.08) !important;
}

#vendor_review_preview button.vendor-review-candidate:hover,
#vendor_review_preview button.vendor-review-candidate.is-selected {
  border-color: rgba(15, 95, 156, 0.42) !important;
  box-shadow: 0 12px 26px rgba(15, 95, 156, 0.14) !important;
}

#vendor_review_preview .vendor-review-candidate strong {
  color: #0f172a !important;
}

#vendor_review_preview .vendor-review-candidate span {
  color: #64748b !important;
}

#vendor_review_preview .vendor-review-candidate small {
  background: rgba(15, 95, 156, 0.1) !important;
  color: #0f5f9c !important;
}

@media (max-width: 640px) {
  #date_range_picker.date-range-picker {
    position: fixed;
    top: auto;
    right: 14px;
    bottom: 14px;
    left: 14px !important;
    width: auto;
    max-height: min(82vh, 700px);
  }

  #date_range_picker .date-picker-head,
  #date_range_picker .date-picker-summary,
  #date_range_picker .date-picker-footer {
    align-items: stretch;
  }

  #date_range_picker .date-picker-badges {
    grid-template-columns: 1fr;
  }

  #date_range_picker .date-picker-months {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    padding: 14px;
  }

  #date_range_picker .date-picker-calendars {
    grid-template-columns: 1fr;
  }

  #date_range_picker .calendar-day-number {
    width: 38px;
    height: 38px;
  }

  .flight-form[data-mode="package"] .guest-selector-field {
    grid-column: 1 / -1;
  }

  #date_picker_prev,
  #date_picker_next {
    min-width: 36px !important;
    width: 36px !important;
    min-height: 36px !important;
  }
}

/* Vendor dashboard final layer: keep this after global button rules. */
body:has(.vendor-page) {
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 184, 166, 0.13), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(245, 158, 11, 0.11), transparent 26%),
    linear-gradient(135deg, #eef4f8 0%, #f8fafc 45%, #edf7f3 100%) !important;
}

.vendor-page {
  min-height: 100vh;
  padding: clamp(18px, 3vw, 34px) !important;
}

.vendor-shell {
  width: min(1480px, 100%) !important;
  max-width: 1480px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.vendor-dashboard-active .vendor-hero-copy {
  display: none !important;
}

.vendor-hero-copy {
  max-width: 940px !important;
  margin: 0 auto 22px !important;
  padding: 18px 22px !important;
  border: 1px solid rgba(15, 95, 156, 0.12) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.84) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07) !important;
}

.vendor-app-layout {
  display: grid;
  grid-template-columns: 276px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.vendor-workspace {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.vendor-side-panel {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  min-height: calc(100vh - 52px);
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #0a1f35, #082f49) !important;
  box-shadow: 0 24px 60px rgba(6, 31, 49, 0.22);
}

.vendor-side-brand {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.vendor-side-logo {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #dff7f2);
  color: #0f5f9c;
  font-size: 1.15rem;
  font-weight: 950;
}

.vendor-side-brand strong,
.vendor-side-brand small,
.vendor-side-note span,
.vendor-side-note strong {
  display: block;
}

.vendor-side-brand small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.vendor-side-nav {
  display: grid;
  gap: 7px;
}

.vendor-side-nav a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 8px 10px;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
  font-weight: 850;
}

.vendor-side-nav a:hover,
.vendor-side-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.vendor-side-nav span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: #9ff5e7;
  font-size: 0.75rem;
}

.vendor-side-note {
  align-self: end;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.vendor-side-note span {
  margin-bottom: 5px;
  color: #fde68a;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.vendor-side-note strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.92rem;
  line-height: 1.4;
}

.vendor-dashboard-head {
  align-items: center !important;
  padding: 22px 24px !important;
  border: 1px solid rgba(15, 95, 156, 0.12) !important;
  border-radius: 8px !important;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.96), rgba(244, 250, 252, 0.9)) !important;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07) !important;
}

.vendor-dashboard-head h2 {
  margin: 4px 0 6px;
  font-size: clamp(1.45rem, 2.5vw, 2.2rem);
  letter-spacing: 0;
}

.vendor-card,
.vendor-room-card,
.vendor-rate-plan-card,
.vendor-offer-card,
.vendor-section-box,
.vendor-subcard,
.vendor-rate-plan-assignment,
.vendor-room-panel,
.vendor-meal-plan-card,
.vendor-upload-dropzone,
.vendor-amenities-grid,
.vendor-review-sync-card,
.vendor-calendar-shell,
.vendor-lock-banner,
.vendor-map-shell,
.osm-static-map {
  border-radius: 8px !important;
}

.vendor-card {
  padding: clamp(18px, 2.4vw, 26px) !important;
  border: 1px solid rgba(15, 95, 156, 0.12) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06) !important;
  transform: none !important;
}

.vendor-card:hover {
  transform: none !important;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.09) !important;
}

.vendor-card-head,
.vendor-flow-head,
.vendor-room-head {
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(203, 213, 225, 0.7);
}

.vendor-card input,
.vendor-card select,
.vendor-card textarea,
.vendor-modal-panel input,
.vendor-modal-panel select {
  min-height: 48px;
  border: 1px solid #d8e3ed;
  border-radius: 8px !important;
  background: #fbfdff;
  color: #0f172a;
}

.vendor-card input:focus,
.vendor-card select:focus,
.vendor-card textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
  outline: none;
}

.vendor-card button,
.vendor-card .ghost-button,
.vendor-card .admin-link,
.vendor-section-toggle,
.vendor-section-save button,
.vendor-flow-step,
.upload-button {
  border-radius: 8px !important;
}

.vendor-card button:not(.ghost-button):not(.vendor-section-toggle):not(.vendor-room-card-toggle):not(.vendor-offer-card-toggle),
.vendor-section-save button,
#submit-vendor-application,
#bulk-save-btn {
  background: linear-gradient(135deg, #0f5f9c, #08756f) !important;
  border-color: rgba(8, 117, 111, 0.8) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px rgba(8, 117, 111, 0.18) !important;
}

.vendor-card .ghost-button,
.vendor-flow-nav-inline .ghost-button,
.upload-button {
  background: #f0fdfa !important;
  border-color: rgba(20, 184, 166, 0.22) !important;
  color: #0f766e !important;
  box-shadow: none !important;
}

.vendor-flow-step,
.vendor-flow-step.is-active {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(20, 184, 166, 0.18) !important;
  background: linear-gradient(135deg, #0c4a6e, #0f766e) !important;
  box-shadow: 0 12px 26px rgba(8, 47, 73, 0.16) !important;
}

.vendor-flow-step strong,
.vendor-flow-step span,
.vendor-flow-step.is-active strong,
.vendor-flow-step.is-active span {
  color: #ffffff !important;
}

.vendor-flow-step em,
.vendor-flow-step.is-complete em {
  width: fit-content;
  background: #ffffff !important;
  color: #0f766e !important;
}

#vendor-readiness-card {
  background: linear-gradient(135deg, #0b1f33, #0f5f9c) !important;
}

.vendor-amenities-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  padding: 14px;
  background: #f8fafc !important;
}

.vendor-amenity-box {
  min-height: 76px;
  border-radius: 8px !important;
  background: #ffffff !important;
}

.vendor-amenity-icon {
  border-radius: 8px !important;
  background: #ecfdf5 !important;
  color: #0f766e !important;
}

.vendor-amenity-chip input:checked + .vendor-amenity-box {
  border-color: rgba(20, 184, 166, 0.52) !important;
  background: #f0fdfa !important;
}

.vendor-widget-card {
  border-color: rgba(245, 158, 11, 0.24) !important;
  background: linear-gradient(135deg, rgba(255, 251, 235, 0.76), rgba(255, 255, 255, 0.98)) !important;
}

.vendor-lock-banner {
  border-color: rgba(245, 158, 11, 0.28) !important;
  background: linear-gradient(135deg, #fff7ed, #ffffff) !important;
  color: #92400e !important;
}

@media (max-width: 1180px) {
  .vendor-app-layout {
    grid-template-columns: 1fr;
  }

  .vendor-side-panel {
    position: static;
    min-height: 0;
  }

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

@media (max-width: 760px) {
  .vendor-page {
    padding: 12px !important;
  }

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

  .vendor-auth-grid,
  .vendor-form-grid,
  .vendor-service-groups-editor {
    grid-template-columns: 1fr;
  }

  .field-span-2 {
    grid-column: auto;
  }

  .vendor-phone-row,
  .vendor-review-query-row {
    display: grid;
  }

  .vendor-phone-prefix,
  .vendor-flex-input,
  .vendor-map-search-button {
    width: 100%;
    min-width: 0;
  }
}

/* Vendor sidebar: reference-style purple app menu. */
.vendor-app-layout {
  grid-template-columns: 286px minmax(0, 1fr) !important;
  gap: 20px !important;
}

.vendor-side-panel {
  overflow: hidden;
  gap: 0 !important;
  min-height: calc(100vh - 68px) !important;
  padding: 0 0 24px !important;
  border-radius: 8px 0 0 8px !important;
  background: #4b3b73 !important;
  box-shadow: 0 24px 50px rgba(47, 35, 82, 0.24) !important;
}

.vendor-side-brand {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 82px;
  padding: 14px 18px 18px !important;
  border: 0 !important;
  text-align: center;
  background: #4b3b73;
}

.vendor-side-brand strong {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.1;
}

.vendor-side-brand small {
  margin-top: 8px !important;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.vendor-side-panel .vendor-dashboard-head {
  display: grid !important;
  gap: 14px;
  align-items: start !important;
  margin: 0 !important;
  padding: 24px 20px 18px !important;
  border: 0 !important;
  border-radius: 8px 0 0 0 !important;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #0b0f17, #111722) !important;
  box-shadow: none !important;
}

.vendor-side-panel .vendor-dashboard-head .eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.vendor-side-panel .vendor-dashboard-head h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.vendor-side-panel #vendor-status-line {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 0.86rem;
  line-height: 1.45;
}

.vendor-side-panel .vendor-dashboard-head .admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-size: 0.86rem;
  font-weight: 900;
  box-shadow: none !important;
}

.vendor-sidebar-actions {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.vendor-language-selector {
  width: min(100%, 210px);
}

.vendor-side-panel .vendor-language-selector .language-selector-button {
  width: 100%;
  min-height: 38px;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: none;
}

.vendor-side-panel .vendor-language-selector .language-selector-button:hover,
.vendor-side-panel .vendor-language-selector:focus-within .language-selector-button {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.14);
}

.vendor-side-panel .vendor-language-selector .language-selector-menu {
  left: 0;
  right: auto;
  min-width: 210px;
  max-height: 220px;
  color: #0f172a;
}

.vendor-side-panel .vendor-dashboard-head .admin-link:hover,
.vendor-side-panel .vendor-dashboard-head .admin-link:focus-visible {
  background: #ffffff !important;
  color: #0b0f17 !important;
}

.vendor-side-nav {
  display: grid !important;
  gap: 0 !important;
  padding: 0 0 18px 14px;
}

.vendor-side-nav a {
  position: relative;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center;
  gap: 10px !important;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 18px 0 10px !important;
  border-radius: 22px 0 0 22px !important;
  color: #ffffff !important;
  font-size: 1.03rem;
  font-weight: 800 !important;
  box-shadow: none !important;
  transform: none !important;
  isolation: isolate;
}

.vendor-side-nav a::before,
.vendor-side-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  display: none !important;
  width: 22px;
  height: 22px;
  background: transparent;
  pointer-events: none;
}

.vendor-side-nav a:hover,
.vendor-side-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
}

.vendor-side-nav a.is-active {
  background: #ffffff !important;
  color: #111827 !important;
}

.vendor-side-nav a.is-active::before,
.vendor-side-nav a.is-active::after {
  display: block !important;
  opacity: 1;
}

.vendor-side-nav a.is-active::before {
  top: -22px;
  border-bottom-right-radius: 22px;
  box-shadow: 8px 8px 0 8px #ffffff;
}

.vendor-side-nav a.is-active::after {
  bottom: -22px;
  border-top-right-radius: 22px;
  box-shadow: 8px -8px 0 8px #ffffff;
}

.vendor-nav-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: currentColor !important;
}

.vendor-nav-icon svg {
  width: 25px;
  height: 25px;
  display: block;
  fill: currentColor;
}

.vendor-nav-text {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  border-radius: 0 !important;
  background: transparent !important;
  color: currentColor !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vendor-side-note {
  margin: auto 18px 0;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}

.vendor-side-note span {
  color: rgba(255, 255, 255, 0.68) !important;
}

.vendor-side-note strong {
  color: #ffffff !important;
}

@media (max-width: 1180px) {
  .vendor-app-layout {
    grid-template-columns: 1fr !important;
  }

  .vendor-side-panel {
    min-height: 0 !important;
    border-radius: 8px !important;
    padding-bottom: 16px !important;
  }

  .vendor-side-brand {
    min-height: 86px;
  }

  .vendor-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding: 0 14px 14px !important;
    gap: 8px !important;
  }

  .vendor-side-nav a,
  .vendor-side-nav a.is-active {
    border-radius: 8px !important;
  }

  .vendor-side-nav a::before,
  .vendor-side-nav a::after {
    display: none;
  }
}

@media (max-width: 760px) {
  .vendor-side-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .vendor-side-nav a {
    grid-template-columns: 38px minmax(0, 1fr) !important;
    min-height: 54px !important;
    padding: 0 10px !important;
    font-size: 0.9rem;
  }

  .vendor-nav-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .vendor-nav-icon svg {
    width: 21px;
    height: 21px;
  }
}

/* Vendor sidebar black theme + responsive drawer. */
.vendor-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: 100%;
  margin: 0 0 14px;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: 8px !important;
  background: #0b0f17 !important;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.18) !important;
}

body .vendor-mobile-menu-toggle,
body .vendor-mobile-menu-toggle:hover,
body .vendor-mobile-menu-toggle:focus-visible {
  background: #0b0f17 !important;
  background-image: none !important;
  background-color: #0b0f17 !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
  color: #ffffff !important;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.18) !important;
}

body button.vendor-mobile-menu-toggle:not(.active-offer-title-button):not(.active-offers-pagination button):not(.hotel-title-button):not(.gallery-arrow):not(.gallery-lightbox-close):not(.gallery-lightbox-nav):not(.gallery-lightbox-strip button):not(.eye-toggle):not(.input-action):not(.hotel-description-more):not(.calendar-day):not(.vg-crumb-link):not(.vendor-room-card-toggle):not(.vendor-offer-card-toggle):not(.language-selector-button):not(.currency-selector-button) {
  background: #0b0f17 !important;
  background-image: none !important;
  background-color: #0b0f17 !important;
  border-color: rgba(15, 23, 42, 0.16) !important;
}

/* Admin dashboard black sidebar refresh */
.admin-dashboard-body {
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 184, 166, 0.11), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.1), transparent 28%),
    linear-gradient(135deg, #eef4f8 0%, #f8fafc 45%, #edf7f3 100%) !important;
}

.admin-shell {
  grid-template-columns: 286px minmax(0, 1fr) !important;
}

.admin-sidebar {
  position: sticky !important;
  top: 0;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  align-content: stretch;
  gap: 0;
  min-height: 100vh !important;
  padding: 0 0 24px !important;
  overflow: hidden;
  border-radius: 0;
  color: #ffffff;
  background: linear-gradient(180deg, #0b0f17, #151a24) !important;
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.26) !important;
}

.admin-sidebar .admin-topbar {
  position: static !important;
  z-index: auto;
  display: grid !important;
  gap: 14px;
  min-height: 0;
  padding: 24px 20px 18px !important;
  border: 0 !important;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #0b0f17, #111722) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.admin-sidebar .admin-topbar .eyebrow {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.admin-sidebar .admin-topbar strong {
  color: #ffffff !important;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.1;
}

.admin-topbar-actions {
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 8px !important;
}

.admin-sidebar .admin-topbar-link {
  min-height: 38px;
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.admin-sidebar .admin-topbar-link:hover,
.admin-sidebar .admin-topbar-link:focus-visible {
  background: #ffffff !important;
  color: #0b0f17 !important;
}

.admin-brand {
  display: flex !important;
  justify-content: center;
  align-items: center;
  min-height: 132px;
  padding: 24px 18px 22px !important;
  background: #0b0f17;
}

.admin-brand img {
  width: 74px !important;
  max-height: 74px !important;
  filter: grayscale(1) contrast(1.08);
}

.admin-side-nav {
  display: grid !important;
  align-content: start;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 0 18px 14px;
}

.admin-sidebar-footer {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-sidebar-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none;
}

.admin-sidebar-logout:hover,
.admin-sidebar-logout:focus-visible {
  background: #ffffff;
  color: #0b0f17 !important;
}

.admin-side-nav a {
  position: relative;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px !important;
  margin: 0 !important;
  padding: 0 18px 0 10px !important;
  border-radius: 22px 0 0 22px !important;
  color: #ffffff !important;
  background: transparent !important;
  font-size: 1rem;
  font-weight: 850 !important;
  text-decoration: none;
  transform: none !important;
  isolation: isolate;
}

.admin-side-nav a::before,
.admin-side-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  display: none;
  width: 22px;
  height: 22px;
  background: transparent;
  pointer-events: none;
}

.admin-side-nav a:hover,
.admin-side-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.09) !important;
}

.admin-side-nav a.is-active {
  background: #ffffff !important;
  color: #111827 !important;
}

.admin-side-nav a.is-active::before,
.admin-side-nav a.is-active::after {
  display: block;
}

.admin-side-nav a.is-active::before {
  top: -22px;
  border-bottom-right-radius: 22px;
  box-shadow: 8px 8px 0 8px #ffffff;
}

.admin-side-nav a.is-active::after {
  bottom: -22px;
  border-top-right-radius: 22px;
  box-shadow: 8px -8px 0 8px #ffffff;
}

.admin-nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: currentColor;
}

.admin-nav-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.admin-workspace {
  min-width: 0;
}

.admin-main-pro {
  width: min(100%, 1480px) !important;
  padding: clamp(18px, 3vw, 34px) !important;
}

.admin-hero-card,
.admin-panel-card,
.admin-main-pro > .search-panel,
.admin-main-pro > .results-section {
  border-radius: 8px !important;
}

.admin-hero-card {
  min-height: 210px;
  border-color: rgba(15, 95, 156, 0.12) !important;
  background: linear-gradient(135deg, #0b0f17, #12324f) !important;
  box-shadow: 0 22px 54px rgba(2, 6, 23, 0.18) !important;
}

.admin-panel-card {
  border: 1px solid rgba(15, 95, 156, 0.12) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.06) !important;
}

.admin-panel-card .admin-actions,
.admin-panel-card .finance-filters,
.admin-panel-card .admin-toolbar {
  border-radius: 8px !important;
}

.admin-panel-card input,
.admin-panel-card select,
.admin-search-input,
.admin-filter-select {
  border-radius: 8px !important;
}

.admin-vendor-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.admin-vendor-photo-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: #eef2f7;
}

.admin-vendor-photo-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-vendor-photo-thumb span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
}

.admin-vendor-room-detail,
.compact-vendor-full-data section {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: rgba(248, 250, 252, 0.92);
}

.admin-vendor-room-detail h5,
.compact-vendor-full-data h4 {
  margin: 0;
}

.compact-empty {
  padding: 12px;
}

@media (max-width: 1100px) {
  .admin-shell {
    grid-template-columns: 1fr !important;
  }

  .admin-sidebar {
    position: static !important;
    min-height: auto !important;
    padding-bottom: 16px !important;
    border-radius: 0 0 8px 8px;
  }

  .admin-side-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px !important;
    padding: 0 14px 14px !important;
  }

  .admin-side-nav a,
  .admin-side-nav a.is-active {
    min-height: 54px !important;
    border-radius: 8px !important;
  }

  .admin-side-nav a::before,
  .admin-side-nav a::after {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .admin-side-nav {
    grid-template-columns: 1fr !important;
  }

  .admin-side-nav a {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .admin-main-pro {
    padding: 12px !important;
  }
}

.vendor-mobile-menu-toggle span,
.vendor-mobile-menu-toggle span::before,
.vendor-mobile-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.vendor-mobile-menu-toggle span {
  position: relative;
}

.vendor-mobile-menu-toggle span::before,
.vendor-mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.vendor-mobile-menu-toggle span::before {
  top: -6px;
}

.vendor-mobile-menu-toggle span::after {
  top: 6px;
}

.vendor-side-panel {
  background: linear-gradient(180deg, #0b0f17, #151a24) !important;
  box-shadow: 0 24px 54px rgba(2, 6, 23, 0.26) !important;
}

.vendor-side-brand {
  background: #0b0f17 !important;
}

.vendor-side-panel .vendor-dashboard-head {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 42%),
    linear-gradient(180deg, #0b0f17, #111722) !important;
}

.vendor-side-nav a::before {
  box-shadow: none;
}

.vendor-side-nav a::after {
  box-shadow: none;
}

.vendor-side-nav a.is-active::before {
  box-shadow: 8px 8px 0 8px #ffffff !important;
}

.vendor-side-nav a.is-active::after {
  box-shadow: 8px -8px 0 8px #ffffff !important;
}

.vendor-side-nav a:not(.is-active) {
  background: transparent !important;
  color: #ffffff !important;
}

.vendor-side-nav a:not(.is-active):hover,
.vendor-side-nav a:not(.is-active):focus-visible {
  background: rgba(255, 255, 255, 0.09) !important;
  color: #ffffff !important;
}

.vendor-side-nav span.vendor-nav-icon {
  color: currentColor !important;
}

.vendor-side-note {
  background: rgba(255, 255, 255, 0.08) !important;
}

.vendor-side-note.is-approved {
  border-color: rgba(34, 197, 94, 0.34) !important;
  background: rgba(22, 101, 52, 0.22) !important;
}

.vendor-side-note.is-approved span {
  color: #bbf7d0 !important;
}

.vendor-side-note.is-approved strong {
  color: #ecfdf5 !important;
}

.vendor-side-note.is-review {
  border-color: rgba(59, 130, 246, 0.28) !important;
  background: rgba(30, 64, 175, 0.18) !important;
}

.vendor-side-note.is-warning {
  border-color: rgba(245, 158, 11, 0.35) !important;
  background: rgba(146, 64, 14, 0.2) !important;
}

.vendor-side-note.is-rejected {
  border-color: rgba(248, 113, 113, 0.35) !important;
  background: rgba(127, 29, 29, 0.22) !important;
}

@media (max-width: 1180px) {
  .vendor-side-panel {
    border-radius: 8px !important;
  }
}

@media (max-width: 760px) {
  .vendor-mobile-menu-toggle {
    display: inline-flex;
    position: sticky;
    top: 10px;
    z-index: 35;
  }

  .vendor-app-layout {
    display: block !important;
  }

  .vendor-side-panel {
    position: sticky !important;
    top: 68px;
    z-index: 34;
    display: none !important;
    width: 100%;
    max-height: calc(100vh - 86px);
    overflow: auto;
    margin-bottom: 14px;
    padding: 0 0 14px !important;
    border-radius: 8px !important;
  }

  .vendor-side-panel.is-open {
    display: grid !important;
  }

  .vendor-side-brand {
    min-height: 72px !important;
    padding: 16px !important;
  }

  .vendor-side-brand strong {
    font-size: 1.15rem;
  }

  .vendor-side-brand small {
    font-size: 0.72rem;
  }

  .vendor-side-nav {
    grid-template-columns: 1fr !important;
    padding: 0 12px 12px !important;
    gap: 8px !important;
  }

  .vendor-side-nav a,
  .vendor-side-nav a.is-active {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 54px !important;
    border-radius: 8px !important;
    padding: 0 12px !important;
  }

  .vendor-side-nav a.is-active {
    background: #ffffff !important;
    color: #0b0f17 !important;
  }

  .vendor-side-note {
    margin: 0 12px;
  }
}

/* Mobile-first dashboard drawers for admin and vendor. */
.admin-mobile-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  width: calc(100% - 24px);
  margin: 12px;
  border: 1px solid rgba(15, 23, 42, 0.16) !important;
  border-radius: 8px !important;
  background: #0b0f17 !important;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(2, 6, 23, 0.18) !important;
}

.admin-mobile-menu-toggle span,
.admin-mobile-menu-toggle span::before,
.admin-mobile-menu-toggle span::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.admin-mobile-menu-toggle span {
  position: relative;
}

.admin-mobile-menu-toggle span::before,
.admin-mobile-menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.admin-mobile-menu-toggle span::before {
  top: -6px;
}

.admin-mobile-menu-toggle span::after {
  top: 6px;
}

.admin-sidebar-backdrop,
.vendor-sidebar-backdrop {
  position: fixed;
  inset: 0;
  z-index: 72;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(2px);
}

.admin-sidebar-backdrop[hidden],
.vendor-sidebar-backdrop[hidden] {
  display: none !important;
}

.dashboard-sidebar-close {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 12px 12px 0;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 900;
}

@media (max-width: 900px) {
  body.admin-menu-open,
  body.vendor-menu-open {
    overflow: hidden;
  }

  .admin-mobile-menu-toggle,
  .vendor-mobile-menu-toggle {
    display: inline-flex !important;
    position: sticky !important;
    top: 10px !important;
    z-index: 70 !important;
  }

  .admin-shell,
  .vendor-app-layout {
    display: block !important;
  }

  .admin-sidebar,
  .vendor-side-panel {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 80 !important;
    display: grid !important;
    width: min(86vw, 340px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    border-radius: 0 8px 8px 0 !important;
  }

  .admin-sidebar.is-open,
  .vendor-side-panel.is-open {
    transform: translateX(0);
  }

  .admin-sidebar {
    grid-template-rows: auto auto 1fr auto !important;
    padding: 0 0 12px !important;
  }

  .dashboard-sidebar-close {
    display: inline-flex !important;
  }

  .admin-brand,
  .vendor-side-brand {
    min-height: 92px !important;
    padding: 18px !important;
  }

  .admin-side-nav,
  .vendor-side-nav {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 12px 12px !important;
  }

  .admin-side-nav a,
  .admin-side-nav a.is-active,
  .vendor-side-nav a,
  .vendor-side-nav a.is-active {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
  }

  .admin-side-nav a::before,
  .admin-side-nav a::after,
  .vendor-side-nav a::before,
  .vendor-side-nav a::after {
    display: none !important;
  }

  .admin-sidebar-footer {
    position: sticky;
    bottom: 0;
    background: #151a24;
  }

  .admin-workspace,
  .vendor-workspace {
    min-width: 0;
  }

  .admin-main-pro {
    padding: 12px !important;
  }

  .admin-hero-card {
    min-height: auto !important;
    padding: 24px !important;
  }
}

/* Register page: keep the vendor explanation card readable despite dashboard card overrides. */
.partner-register-page .partner-register-side.vendor-card {
  border: 1px solid rgba(15, 95, 156, 0.14) !important;
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.1), transparent 28%),
    linear-gradient(160deg, #0b0f17, #12324f) !important;
  color: #ffffff !important;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16) !important;
}

.partner-register-page .partner-register-side.vendor-card::after {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 44%) !important;
}

.partner-register-page .partner-register-side h3 {
  color: #ffffff !important;
}

.partner-register-page .partner-register-side li {
  color: rgba(255, 255, 255, 0.86) !important;
}

.partner-register-page .partner-type-card {
  background: linear-gradient(135deg, #0f5f9c, #0b4e80) !important;
  color: #ffffff !important;
}

.partner-register-page .partner-type-card span {
  background: rgba(255, 255, 255, 0.92) !important;
  color: #0b4e80 !important;
}

.partner-register-page .partner-type-card strong,
.partner-register-page .partner-type-card small {
  color: #ffffff !important;
}

/* Production lead gate override: keep the access form centered even if hotel data is empty. */
.lead-gate {
  display: grid !important;
  grid-template-columns: minmax(0, min(440px, calc(100vw - 32px))) !important;
  justify-content: center !important;
  align-content: center !important;
  justify-items: center !important;
  gap: 0 !important;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom)) !important;
}

.lead-gate-copy {
  display: none !important;
}

.lead-gate-card {
  justify-self: center !important;
  width: min(440px, calc(100vw - 32px)) !important;
  max-width: 440px !important;
}

.lead-gate-language {
  position: fixed !important;
  top: max(22px, env(safe-area-inset-top)) !important;
  right: max(24px, env(safe-area-inset-right)) !important;
  z-index: 10001 !important;
  justify-self: auto !important;
}

.lead-gate-language .language-selector-menu {
  right: 0 !important;
  left: auto !important;
}

/* Vendor dashboard responsive fix: use the drawer before the sidebar becomes cramped. */
@media (max-width: 1180px) {
  body.vendor-menu-open {
    overflow: hidden;
  }

  .vendor-page {
    padding: clamp(10px, 2vw, 18px) !important;
  }

  .vendor-app-layout {
    display: block !important;
    grid-template-columns: 1fr !important;
  }

  .vendor-mobile-menu-toggle {
    display: inline-flex !important;
    position: sticky !important;
    top: max(10px, env(safe-area-inset-top)) !important;
    z-index: 70 !important;
    width: auto !important;
    min-width: 156px !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 0 12px !important;
    padding: 0 16px !important;
  }

  .vendor-side-panel {
    position: fixed !important;
    inset: 0 auto 0 0 !important;
    z-index: 80 !important;
    display: grid !important;
    grid-template-rows: auto auto auto 1fr auto !important;
    width: min(88vw, 360px) !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    padding: 0 0 14px !important;
    border-radius: 0 8px 8px 0 !important;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
  }

  .vendor-side-panel.is-open {
    transform: translateX(0);
  }

  .vendor-side-panel .vendor-dashboard-head {
    border-radius: 0 !important;
    padding: 18px 16px 16px !important;
  }

  .vendor-side-brand {
    min-height: 76px !important;
    padding: 14px 16px !important;
  }

  .vendor-side-nav {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 0 12px 12px !important;
  }

  .vendor-side-nav a,
  .vendor-side-nav a.is-active {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    min-height: 54px !important;
    padding: 0 12px !important;
    border-radius: 8px !important;
  }

  .vendor-side-nav a::before,
  .vendor-side-nav a::after {
    display: none !important;
  }

  .vendor-side-nav a.is-active {
    background: #ffffff !important;
    color: #0b0f17 !important;
  }

  .vendor-side-note {
    margin: 0 12px !important;
  }

  .dashboard-sidebar-close {
    display: inline-flex !important;
  }

  .vendor-workspace {
    width: 100% !important;
    min-width: 0 !important;
  }

  .vendor-card,
  .vendor-dashboard-head {
    max-width: 100% !important;
  }
}

@media (max-width: 560px) {
  .vendor-mobile-menu-toggle {
    width: 100% !important;
    justify-content: center !important;
  }

  .vendor-side-panel {
    width: min(92vw, 340px) !important;
  }
}

/* Vendor rooms: prevent wide editors and photo rows from being clipped. */
.vendor-workspace,
#vendor-rooms,
#vendor-rooms-card,
.vendor-room-card,
.vendor-room-builder,
.vendor-room-flow,
.vendor-room-panel,
.vendor-room-panel > *,
.vendor-room-photo-list,
.vendor-photo-upload-zone {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

.vendor-room-card,
.vendor-rate-plan-card {
  overflow: visible !important;
}

.vendor-room-builder {
  padding-inline: clamp(14px, 2vw, 24px) !important;
}

.vendor-room-builder-head {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.vendor-room-builder-head > div,
.vendor-panel-heading > div,
.vendor-photo-meta {
  min-width: 0 !important;
}

.vendor-room-builder-head h4,
.vendor-room-builder-head p,
.vendor-panel-heading h5,
.vendor-panel-heading p,
.vendor-photo-meta strong,
.vendor-photo-meta span,
.vendor-photo-minimum span {
  overflow-wrap: anywhere !important;
}

.vendor-panel-heading {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) 16px !important;
  align-items: start !important;
}

.vendor-room-fold > summary::after {
  justify-self: end !important;
  margin-left: 0 !important;
}

.vendor-room-card .vendor-room-main-grid,
.vendor-room-main-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)) !important;
}

.vendor-meal-plan-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important;
}

.vendor-photo-upload-card {
  width: 100% !important;
  max-width: 100% !important;
  min-height: clamp(190px, 24vw, 240px) !important;
  padding-inline: clamp(18px, 3vw, 28px) !important;
}

.vendor-photo-upload-card strong,
.vendor-photo-upload-card small {
  max-width: 100% !important;
  overflow-wrap: anywhere !important;
}

.vendor-photo-minimum {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
}

.vendor-photo-sort-row {
  grid-template-columns: 72px 128px minmax(0, 1fr) auto auto !important;
  max-width: 100% !important;
}

.vendor-photo-sort-row > .ghost-button,
.vendor-photo-sort-actions {
  min-width: 0 !important;
}

@media (max-width: 1280px) {
  .vendor-room-builder-head {
    grid-template-columns: 1fr !important;
    align-items: start !important;
  }

  .vendor-room-toggle-text {
    width: fit-content !important;
  }

  .vendor-photo-sort-row {
    grid-template-columns: 64px 112px minmax(0, 1fr) !important;
  }

  .vendor-photo-sort-actions,
  .vendor-photo-sort-row > button[data-delete-vendor-hotel-photo],
  .vendor-photo-sort-row > button[data-delete-vendor-room-photo] {
    justify-self: stretch !important;
  }

  .vendor-photo-sort-actions {
    grid-column: 1 / 3 !important;
    grid-row: 2 !important;
  }

  .vendor-photo-sort-row > button[data-delete-vendor-hotel-photo],
  .vendor-photo-sort-row > button[data-delete-vendor-room-photo] {
    grid-column: 3 !important;
    grid-row: 2 !important;
    justify-self: start !important;
  }

  .vendor-photo-minimum {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .vendor-card {
    padding-inline: 14px !important;
  }

  .vendor-room-panel {
    padding: 14px !important;
  }

  .vendor-panel-heading {
    grid-template-columns: 34px minmax(0, 1fr) !important;
  }

  .vendor-room-fold > summary::after {
    display: none !important;
  }

  .vendor-photo-minimum {
    grid-template-columns: 1fr !important;
  }

  .vendor-photo-sort-row {
    grid-template-columns: 58px minmax(86px, 104px) minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 10px !important;
  }

  .vendor-photo-sort-actions,
  .vendor-photo-sort-row > button[data-delete-vendor-hotel-photo],
  .vendor-photo-sort-row > button[data-delete-vendor-room-photo] {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    margin-left: 0 !important;
  }

  .vendor-photo-sort-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
