.travelpro {
  --tp-bg-light: #eef2f7;
  --tp-surface-light: #ffffff;
  --tp-surface-2-light: #f6f9fe;
  --tp-surface-3-light: #eef5ff;
  --tp-border-light: rgba(17, 35, 61, 0.12);
  --tp-border-strong-light: rgba(17, 35, 61, 0.18);
  --tp-text-light: #122033;
  --tp-muted-light: rgba(18, 32, 51, 0.62);
  --tp-muted-2-light: rgba(18, 32, 51, 0.48);
  --tp-link-light: #0a63d8;
  --tp-primary-light: #0a63d8;
  --tp-primary-2-light: #0b5fd0;
  --tp-primary-contrast-light: #ffffff;

  --tp-bg-dark: #0a1220;
  --tp-surface-dark: #0f1b2e;
  --tp-surface-2-dark: #0b1627;
  --tp-surface-3-dark: #0d2140;
  --tp-border-dark: rgba(235, 245, 255, 0.14);
  --tp-border-strong-dark: rgba(235, 245, 255, 0.22);
  --tp-text-dark: #eef5ff;
  --tp-muted-dark: rgba(238, 245, 255, 0.72);
  --tp-muted-2-dark: rgba(238, 245, 255, 0.58);
  --tp-link-dark: #7bb7ff;
  --tp-primary-dark: #2f89ff;
  --tp-primary-2-dark: #1f7cf6;
  --tp-primary-contrast-dark: #061224;

  --tp-bg: var(--tp-bg-light);
  --tp-surface: var(--tp-surface-light);
  --tp-surface-2: var(--tp-surface-2-light);
  --tp-surface-3: var(--tp-surface-3-light);
  --tp-border: var(--tp-border-light);
  --tp-border-strong: var(--tp-border-strong-light);
  --tp-text: var(--tp-text-light);
  --tp-muted: var(--tp-muted-light);
  --tp-muted-2: var(--tp-muted-2-light);
  --tp-link: var(--tp-link-light);
  --tp-primary: var(--tp-primary-light);
  --tp-primary-2: var(--tp-primary-2-light);
  --tp-primary-contrast: var(--tp-primary-contrast-light);
  --tp-danger: #c62828;
  --tp-success: #1b7f46;
  --tp-radius-max: 5px;
  --tp-radius-sm: var(--tp-radius-max);
  --tp-radius-md: var(--tp-radius-max);
  --tp-radius-lg: var(--tp-radius-max);
  --tp-shadow-sm: none;
  --tp-shadow-md: none;
  --tp-shadow-lg: none;
  --tp-ring: 0 0 0 2px rgba(10, 99, 216, 0.22);
  box-sizing: border-box;
  color: var(--tp-text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.35;
  color-scheme: light dark;
}

.travelpro[data-tp-theme="dark"] {
  --tp-bg: var(--tp-bg-dark);
  --tp-surface: var(--tp-surface-dark);
  --tp-surface-2: var(--tp-surface-2-dark);
  --tp-surface-3: var(--tp-surface-3-dark);
  --tp-border: var(--tp-border-dark);
  --tp-border-strong: var(--tp-border-strong-dark);
  --tp-text: var(--tp-text-dark);
  --tp-muted: var(--tp-muted-dark);
  --tp-muted-2: var(--tp-muted-2-dark);
  --tp-link: var(--tp-link-dark);
  --tp-primary: var(--tp-primary-dark);
  --tp-primary-2: var(--tp-primary-2-dark);
  --tp-primary-contrast: var(--tp-primary-contrast-dark);
  --tp-ring: 0 0 0 2px rgba(123, 183, 255, 0.22);
}

.travelpro[data-tp-theme="light"] {
  --tp-bg: var(--tp-bg-light);
  --tp-surface: var(--tp-surface-light);
  --tp-surface-2: var(--tp-surface-2-light);
  --tp-surface-3: var(--tp-surface-3-light);
  --tp-border: var(--tp-border-light);
  --tp-border-strong: var(--tp-border-strong-light);
  --tp-text: var(--tp-text-light);
  --tp-muted: var(--tp-muted-light);
  --tp-muted-2: var(--tp-muted-2-light);
  --tp-link: var(--tp-link-light);
  --tp-primary: var(--tp-primary-light);
  --tp-primary-2: var(--tp-primary-2-light);
  --tp-primary-contrast: var(--tp-primary-contrast-light);
  --tp-ring: 0 0 0 2px rgba(10, 99, 216, 0.22);
}

@media (prefers-color-scheme: dark) {
  .travelpro:not([data-tp-theme]),
  .travelpro[data-tp-theme="auto"] {
    --tp-bg: var(--tp-bg-dark);
    --tp-surface: var(--tp-surface-dark);
    --tp-surface-2: var(--tp-surface-2-dark);
    --tp-surface-3: var(--tp-surface-3-dark);
    --tp-border: var(--tp-border-dark);
    --tp-border-strong: var(--tp-border-strong-dark);
    --tp-text: var(--tp-text-dark);
    --tp-muted: var(--tp-muted-dark);
    --tp-muted-2: var(--tp-muted-2-dark);
    --tp-link: var(--tp-link-dark);
    --tp-primary: var(--tp-primary-dark);
    --tp-primary-2: var(--tp-primary-2-dark);
    --tp-primary-contrast: var(--tp-primary-contrast-dark);
    --tp-ring: 0 0 0 2px rgba(123, 183, 255, 0.22);
  }
}

.travelpro *,
.travelpro *::before,
.travelpro *::after {
  box-sizing: inherit;
}

.travelpro [hidden] {
  display: none !important;
}

.travelpro a {
  color: var(--tp-link);
  text-decoration: none;
}

.travelpro a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.travelpro h1,
.travelpro h2,
.travelpro h3,
.travelpro h4,
.travelpro h5,
.travelpro h6,
.travelpro p {
  margin: 0;
}

.travelpro button,
.travelpro input,
.travelpro select,
.travelpro textarea {
  font: inherit;
}

.travelpro-shell-card,
.travelpro-card,
.travelpro-output,
.travelpro-results,
.travelpro-price-breakdown,
.travelpro-notice,
.travelpro-empty {
  border-radius: var(--tp-radius-md);
}

.travelpro-shell-card,
.travelpro-card,
.travelpro-output,
.travelpro-results,
.travelpro-price-breakdown {
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow-sm);
}

.travelpro-shell-card {
  padding: 18px;
}

.travelpro-card {
  padding: 14px;
}

.travelpro-card-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.travelpro-helper-text {
  color: var(--tp-muted);
  font-size: 12px;
}

.travelpro-output,
.travelpro-results {
  padding: 14px;
}

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

.travelpro-inline-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: end;
}

.travelpro-form label,
.travelpro-inline-form label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--tp-muted);
  margin-bottom: 6px;
}

.travelpro-form input,
.travelpro-form select,
.travelpro-inline-form input,
.travelpro-inline-form select,
.travelpro-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
  color: var(--tp-text);
  border-radius: var(--tp-radius-sm);
  outline: none;
}

.travelpro-form input:focus,
.travelpro-form select:focus,
.travelpro-inline-form input:focus,
.travelpro-inline-form select:focus,
.travelpro-form textarea:focus {
  box-shadow: var(--tp-ring);
  border-color: rgba(10, 99, 216, 0.42);
}

.travelpro-button,
.travelpro button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border-strong);
  background: var(--tp-primary);
  color: var(--tp-primary-contrast);
  font-weight: 800;
  letter-spacing: 0.01em;
  cursor: pointer;
  user-select: none;
  box-shadow: none;
}

.travelpro-button:hover,
.travelpro button:hover {
  filter: brightness(1.03);
}

.travelpro-button:disabled,
.travelpro button:disabled {
  opacity: 0.55;
  cursor: default;
  box-shadow: none;
}

.travelpro-button-secondary {
  background: var(--tp-surface);
  color: var(--tp-text);
  border: 1px solid var(--tp-border-strong);
  box-shadow: none;
}

.travelpro-button-secondary:hover {
  background: var(--tp-surface-2);
}

.travelpro-button-spinner {
  width: 14px;
  height: 14px;
  border-radius: var(--tp-radius-max);
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.92);
  animation: travelproSpin 0.8s linear infinite;
  margin-right: 10px;
}

.travelpro-button.travelpro-button-secondary .travelpro-button-spinner {
  border-color: rgba(18, 32, 51, 0.22);
  border-top-color: rgba(18, 32, 51, 0.64);
}

@keyframes travelproSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.travelpro-notice {
  padding: 12px 14px;
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
  color: var(--tp-text);
}

.travelpro-notice-success {
  border-color: rgba(27, 127, 70, 0.32);
  background: rgba(27, 127, 70, 0.08);
}

.travelpro-notice-error {
  border-color: rgba(198, 40, 40, 0.32);
  background: rgba(198, 40, 40, 0.08);
}

.travelpro-empty {
  padding: 14px;
  border: 1px dashed var(--tp-border);
  background: var(--tp-surface-2);
  color: var(--tp-muted);
}

.travelpro-skeleton {
  display: grid;
  gap: 10px;
}

.travelpro-skeleton-line {
  height: 12px;
  border-radius: var(--tp-radius-max);
  background: linear-gradient(90deg, rgba(18, 32, 51, 0.06), rgba(18, 32, 51, 0.12), rgba(18, 32, 51, 0.06));
  background-size: 240% 100%;
  animation: travelproShimmer 1.2s ease-in-out infinite;
}

@media (prefers-color-scheme: dark) {
  .travelpro-skeleton-line {
    background: linear-gradient(90deg, rgba(238, 245, 255, 0.08), rgba(238, 245, 255, 0.16), rgba(238, 245, 255, 0.08));
  }
}

@keyframes travelproShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.travelpro-reference-ui {
  background: var(--tp-bg);
}

.travelpro-reference-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 56px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 176, 92, 0.28), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(90, 178, 255, 0.26), transparent 32%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.08), rgba(5, 10, 18, 0.44)),
    var(--travelpro-reference-hero-image, none) center center / cover no-repeat,
    linear-gradient(180deg, #1f2f43 0%, #0e1727 100%);
}

.travelpro-reference-hero-inner,
.travelpro-reference-content {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

.travelpro-search-shell-card {
  padding: 0;
  overflow: hidden;
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-lg);
}

.travelpro-search-topbar {
  border-bottom: 1px solid var(--tp-border);
  background: var(--tp-surface);
}

.travelpro-service-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.travelpro-service-tab {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-right: 1px solid var(--tp-border);
  background: transparent;
  color: var(--tp-muted);
  cursor: pointer;
  box-shadow: none;
}

.travelpro-service-tab:last-child {
  border-right: 0;
}

.travelpro-service-tab.is-active {
  background: var(--tp-surface);
  color: var(--tp-primary);
  box-shadow: inset 0 -2px 0 var(--tp-primary);
}

.travelpro-service-tab:disabled {
  opacity: 0.6;
  cursor: default;
}

.travelpro-service-tab-icon {
  width: 30px;
  height: 30px;
  border-radius: var(--tp-radius-max);
  background: var(--tp-surface-3);
  border: 1px solid var(--tp-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--tp-text);
}

.travelpro-service-tab.is-active .travelpro-service-tab-icon {
  color: var(--tp-primary);
  background: var(--tp-surface);
  border-color: var(--tp-border-strong);
}

.travelpro-service-tab-icon::before {
  content: "";
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: var(--travelpro-favicon-mask) center / contain no-repeat;
  mask: var(--travelpro-favicon-mask) center / contain no-repeat;
  opacity: 0.92;
}

.travelpro-service-tab-text {
  font-weight: 800;
  font-size: 13px;
  color: var(--tp-text);
}

.travelpro-service-tab.is-active .travelpro-service-tab-text {
  color: var(--tp-primary);
}

.travelpro-service-tab-icon--flights {
  --travelpro-favicon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9L2 14v2l8-2.5V19l-2 1.5V22l3-1 3 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E");
}

.travelpro-service-tab-icon--hotels {
  --travelpro-favicon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 14h10v2H7v-2zm0-4h10v2H7v-2zM5 20V4h14v16h2v2H3v-2h2zm2-2h10V6H7v12z'/%3E%3C/svg%3E");
}

.travelpro-service-tab-icon--packages {
  --travelpro-favicon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 8V7l-3-3h-1l-2 2H9L7 4H6L3 7v1l2 2v10l2 2h10l2-2V10l2-2zM7.5 6l1.5 1.5L10.5 6h3L15 7.5 16.5 6l1.5 1.5L16.5 9h-9L6 7.5 7.5 6zM8 20v-8h8v8H8z'/%3E%3C/svg%3E");
}

.travelpro-service-tab-icon--tours {
  --travelpro-favicon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l7 4v6c0 5-3 9.4-7 10-4-0.6-7-5-7-10V6l7-4zm0 6a3 3 0 1 0 0 6 3 3 0 0 0 0-6zm0 13c2.2-0.6 5-4 5-9V7.2L12 4.5 7 7.2V12c0 5 2.8 8.4 5 9z'/%3E%3C/svg%3E");
}

.travelpro-flight-search-premium {
  padding: 18px;
  display: grid;
  gap: 14px;
}

.travelpro-search-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.travelpro-trip-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
  border-radius: var(--tp-radius-max);
}

.travelpro-trip-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--tp-radius-max);
  color: var(--tp-muted);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
}

.travelpro-trip-pill input {
  width: 14px;
  height: 14px;
  margin: 0;
}

.travelpro-trip-pill.is-active {
  background: var(--tp-surface);
  color: var(--tp-primary);
  box-shadow: var(--tp-shadow-sm);
}

.travelpro-search-toolbar-right {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.travelpro-search-toolbar-copy {
  font-size: 12px;
  color: var(--tp-muted);
  font-weight: 700;
}

.travelpro-advanced-toggle,
.travelpro-multicity-toggle {
  min-height: 38px;
  padding: 0 14px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
  color: var(--tp-text);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  box-shadow: none;
}

.travelpro-multicity-toggle {
  color: var(--tp-primary);
}

.travelpro-advanced-toggle[aria-expanded="true"],
.travelpro-multicity-toggle[aria-expanded="true"] {
  border-color: rgba(10, 99, 216, 0.36);
  box-shadow: var(--tp-ring);
}

.travelpro-search-primary-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) 48px minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  overflow: visible;
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow-md);
}

.travelpro-flight-search-form[data-trip-type="oneway"] .travelpro-search-primary-grid,
.travelpro-flight-search-form[data-trip-type="multicity"] .travelpro-search-primary-grid {
  grid-template-columns: minmax(0, 1.8fr) 48px minmax(0, 1.8fr) minmax(0, 1.05fr) minmax(0, 1.1fr) minmax(0, 1fr);
}

.travelpro-search-field-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 108px;
  padding: 16px 18px 14px;
  border-right: 1px solid rgba(17, 35, 61, 0.08);
}

@media (prefers-color-scheme: dark) {
  .travelpro-search-field-card {
    border-right-color: rgba(235, 245, 255, 0.08);
  }
}

.travelpro-search-field-card:last-child {
  border-right: 0;
}

.travelpro-search-field-card label {
  font-size: 11px;
  font-weight: 800;
  color: var(--tp-muted);
  margin-bottom: 6px;
}

.travelpro-search-field-card input,
.travelpro-search-field-card select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  min-height: 28px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--tp-text);
  outline: none;
}

.travelpro-search-field-card input[type="date"] {
  font-size: 16px;
  font-weight: 900;
}

.travelpro-search-caption {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--tp-muted-2);
}

.travelpro-swap-button {
  width: 42px;
  height: 42px;
  align-self: center;
  justify-self: center;
  margin-left: -21px;
  margin-right: -21px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow-sm);
  cursor: pointer;
  z-index: 3;
}

.travelpro-swap-button span {
  position: relative;
  display: inline-block;
  width: 12px;
  height: 12px;
  font-size: 0;
}

.travelpro-swap-button span::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--tp-primary);
  border-right: 2px solid var(--tp-primary);
  transform: rotate(45deg);
}

.travelpro-airport-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 14px;
  right: 14px;
  z-index: 40;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-md);
  box-shadow: var(--tp-shadow-md);
  overflow: hidden;
  display: none;
}

.travelpro-airport-field {
  position: relative;
}

.travelpro-airport-results.is-open {
  display: block;
}

.travelpro-airport-option,
.travelpro-airport-empty {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(17, 35, 61, 0.08);
  color: var(--tp-text);
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  .travelpro-airport-option,
  .travelpro-airport-empty {
    border-bottom-color: rgba(235, 245, 255, 0.08);
  }
}

.travelpro-airport-option:hover,
.travelpro-airport-option.is-active {
  background: var(--tp-surface-2);
}

.travelpro-search-field-card--travellers {
  position: relative;
}

.travelpro-traveller-trigger {
  width: 100%;
  display: grid;
  justify-items: start;
  gap: 4px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
}

.travelpro-traveller-trigger-label {
  font-size: 12px;
  color: var(--tp-muted-2);
  font-weight: 700;
}

.travelpro-traveller-trigger strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--tp-text);
}

.travelpro-traveller-popover {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  z-index: 60;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-lg);
  box-shadow: var(--tp-shadow-lg);
}

.travelpro-traveller-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.travelpro-traveller-row strong {
  font-size: 14px;
  font-weight: 900;
}

.travelpro-traveller-row p {
  margin-top: 2px;
  font-size: 12px;
  color: var(--tp-muted);
}

.travelpro-counter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px;
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
  border-radius: var(--tp-radius-max);
}

.travelpro-counter button {
  min-width: 36px;
  min-height: 36px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
  color: var(--tp-text);
  font-weight: 900;
  box-shadow: none;
}

.travelpro-counter span {
  min-width: 34px;
  text-align: center;
  font-weight: 900;
}

.travelpro-multicity-panel {
  padding: 18px;
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow-md);
  display: grid;
  gap: 14px;
}

.travelpro-multicity-head {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.travelpro-multicity-head strong {
  font-size: 18px;
  font-weight: 900;
}

.travelpro-multicity-head span {
  color: var(--tp-muted);
  font-size: 12px;
  line-height: 1.5;
  max-width: 560px;
}

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

.travelpro-multicity-grid .travelpro-search-field-card {
  min-height: auto;
  padding: 0;
  border-right: 0;
}

.travelpro-multicity-grid .travelpro-search-field-card label {
  margin-bottom: 8px;
}

.travelpro-multicity-grid .travelpro-search-field-card input {
  min-height: 46px;
  padding: 10px 12px;
  background: var(--tp-surface-2);
  border: 1px solid var(--tp-border);
  border-radius: var(--tp-radius-sm);
  font-size: 14px;
  font-weight: 800;
}

.travelpro-advanced-sections {
  padding: 16px 18px;
  border-radius: var(--tp-radius-lg);
  background: var(--tp-surface);
  border: 1px solid var(--tp-border);
  box-shadow: var(--tp-shadow-sm);
  display: grid;
  gap: 14px;
}

.travelpro-advanced-options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.travelpro-inline-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
  box-shadow: none;
  cursor: pointer;
  user-select: none;
}

.travelpro-inline-checkbox input {
  width: 16px;
  height: 16px;
}

.travelpro-inline-checkbox span {
  font-weight: 800;
  color: var(--tp-text);
  font-size: 12px;
}

.travelpro-inline-select {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
}

.travelpro-inline-select span {
  font-weight: 800;
  font-size: 12px;
  color: var(--tp-muted);
}

.travelpro-inline-select select {
  min-height: 34px;
  padding: 6px 10px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
  font-weight: 900;
  color: var(--tp-text);
}

.travelpro-search-utility-row {
  display: flex;
  justify-content: flex-end;
}

.travelpro-search-utility-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.travelpro-search-utility-actions .travelpro-button {
  min-height: 42px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 900;
  border-radius: var(--tp-radius-max);
  box-shadow: none;
}

.travelpro-search-actions {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.travelpro-search-cta {
  min-width: 240px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: var(--tp-radius-max);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.travelpro-insight-card {
  padding: 14px;
  border-radius: var(--tp-radius-lg);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface);
  box-shadow: var(--tp-shadow-sm);
}

.travelpro-insight-card h3 {
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
}

.travelpro-insight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.travelpro-insight-item {
  padding: 10px 12px;
  border-radius: var(--tp-radius-max);
  background: var(--tp-surface-2);
  border: 1px solid var(--tp-border);
}

.travelpro-insight-item strong {
  display: block;
  font-weight: 900;
  font-size: 14px;
}

.travelpro-insight-item span {
  color: var(--tp-muted);
  font-size: 12px;
}

.travelpro-tracker-segments {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.travelpro-tracker-segment {
  padding: 12px;
  border-radius: var(--tp-radius-max);
  border: 1px solid var(--tp-border);
  background: var(--tp-surface-2);
}

.travelpro-tracker-segment strong {
  display: block;
  font-weight: 900;
  margin-bottom: 6px;
}

.travelpro-tracker-segment span {
  display: block;
  color: var(--tp-muted);
  font-size: 12px;
}

.travelpro-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.travelpro-offer-card.is-selected {
  border-color: rgba(10, 99, 216, 0.36);
  box-shadow: var(--tp-shadow-md);
}

.travelpro-flight-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.travelpro-airline-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--tp-radius-max);
  background: var(--tp-surface-2);
  border: 1px solid var(--tp-border);
  object-fit: contain;
}

.travelpro-flight-card-brand {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.travelpro-card-price {
  font-weight: 900;
  font-size: 16px;
  color: var(--tp-text);
}

.travelpro-flight-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.travelpro-route-pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 8px 10px;
  border-radius: var(--tp-radius-max);
  background: var(--tp-surface-2);
  border: 1px solid var(--tp-border);
  color: var(--tp-text);
  font-size: 12px;
  font-weight: 800;
}

.travelpro-route-pill strong {
  font-weight: 900;
  color: var(--tp-muted);
}

.travelpro-layovers {
  margin-top: 10px;
  color: var(--tp-muted);
  font-size: 12px;
}

@media (max-width: 1100px) {
  .travelpro-search-primary-grid,
  .travelpro-flight-search-form[data-trip-type="oneway"] .travelpro-search-primary-grid,
  .travelpro-flight-search-form[data-trip-type="multicity"] .travelpro-search-primary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .travelpro-search-field-card--origin,
  .travelpro-search-field-card--destination {
    grid-column: span 2;
  }

  .travelpro-swap-button {
    order: 2;
    margin: -18px auto;
  }

  .travelpro-multicity-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .travelpro-reference-hero {
    padding: 16px 0 38px;
  }

  .travelpro-reference-hero-inner,
  .travelpro-reference-content {
    padding: 0 12px;
  }

  .travelpro-search-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .travelpro-search-toolbar-right {
    justify-content: space-between;
  }

  .travelpro-service-tabs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 1fr);
    grid-template-columns: none;
    overflow-x: auto;
  }

  .travelpro-search-primary-grid,
  .travelpro-flight-search-form[data-trip-type="oneway"] .travelpro-search-primary-grid,
  .travelpro-flight-search-form[data-trip-type="multicity"] .travelpro-search-primary-grid {
    grid-template-columns: 1fr;
  }

  .travelpro-search-field-card {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 35, 61, 0.08);
  }

  .travelpro-search-field-card:last-child {
    border-bottom: 0;
  }

  .travelpro-swap-button {
    margin: -10px auto;
  }

  .travelpro-traveller-popover {
    width: min(360px, calc(100vw - 32px));
  }

  .travelpro-multicity-head {
    display: grid;
  }

  .travelpro-multicity-grid {
    grid-template-columns: 1fr;
  }

  .travelpro-search-utility-actions {
    justify-content: stretch;
  }

  .travelpro-search-utility-actions .travelpro-button {
    width: 100%;
  }

  .travelpro-search-cta {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 760px) and (prefers-color-scheme: dark) {
  .travelpro-search-field-card {
    border-bottom-color: rgba(235, 245, 255, 0.08);
  }
}
