:root {
  --btb-blue: #0b6f92;
  --btb-blue-deep: #08324a;
  --btb-cyan: #148da0;
  --btb-green: #71bf4b;
  --btb-gold: #c69a3b;
  --btb-ink: #132b3a;
  --btb-muted: #607586;
  --btb-line: #cddde7;
  --btb-soft: #f5f9fb;
  --btb-shadow: 0 18px 45px rgba(14, 48, 69, .12);
}

html {
  scroll-behavior: smooth;
}

html,
body.btb-shell {
  max-width: 100%;
  overflow-x: hidden;
}

body.btb-shell *,
body.btb-shell *::before,
body.btb-shell *::after {
  box-sizing: border-box;
}

body.btb-shell {
  width: 100%;
  min-width: 0;
  min-height: 100vh;
  color: var(--btb-ink);
  background:
    linear-gradient(135deg, rgba(11, 111, 146, .1) 0%, rgba(198, 154, 59, .06) 48%, rgba(113, 191, 75, .05) 100%),
    linear-gradient(180deg, #fbfdff 0%, #eef6f8 42%, #f9fbf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.btb-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(8, 126, 189, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8, 126, 189, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .72), transparent 70%);
}

.topbar {
  background: rgba(8, 50, 74, .94) !important;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 14px 32px rgba(5, 35, 52, .2) !important;
  backdrop-filter: blur(18px);
}

.topbar::after {
  content: "";
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--btb-green), var(--btb-cyan), var(--btb-gold));
  animation: btbAccentFlow 7s linear infinite;
  background-size: 220% 100%;
}

.topbar .mx-auto {
  width: 100%;
  max-width: 1500px !important;
  min-width: 0;
}

.topbar nav {
  flex: 1 1 auto;
  justify-content: center;
  gap: 12px !important;
  min-width: 0;
}

.topbar a[href="/btb/dashboard"] p:first-child {
  color: #fff !important;
}

.topbar a[href="/btb/dashboard"] {
  flex-shrink: 0;
}

.topbar a[href="/btb/dashboard"] p + p {
  color: rgba(255, 255, 255, .68) !important;
  white-space: nowrap;
}

.btb-account {
  max-width: 230px;
  flex: 0 1 210px;
}

.btb-account-name,
.btb-account-email {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.btb-account-name {
  color: #fff !important;
}

.btb-account-email {
  color: rgba(255, 255, 255, .72) !important;
}

.btb-header-actions,
.unified-auth-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
  min-width: 0;
}

.btb-header-actions .btb-account {
  min-width: 0;
}

.unified-auth-actions {
  margin-left: auto;
}

.btb-language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btb-language-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .16);
}

.btb-notification-widget {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
}

.btb-notification-button {
  position: relative;
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

.btb-notification-button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .62);
  background: rgba(255, 255, 255, .16);
}

.btb-notification-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
}

.btb-notification-icon::before {
  content: none;
}

.btb-notification-icon::after {
  content: none;
}

.btb-notification-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #08324a;
  border-radius: 999px;
  background: #d24124;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 14px;
}

.btb-notification-panel {
  position: fixed;
  top: 72px;
  right: max(12px, env(safe-area-inset-right));
  left: auto;
  z-index: 200;
  width: 420px !important;
  min-width: min(320px, calc(100vw - 24px));
  max-width: calc(100vw - 24px);
  overflow: hidden;
  border: 1px solid var(--btb-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(13, 48, 67, .22);
}

.btb-notification-panel,
.btb-notification-panel * {
  min-width: 0;
}

[dir="rtl"] .btb-notification-panel {
  right: auto;
  left: max(12px, env(safe-area-inset-left));
  text-align: right;
}

.btb-notification-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #e8f0f5;
}

.btb-notification-panel-head strong,
.btb-notification-panel-head small,
.btb-notification-row strong,
.btb-notification-row small,
.btb-notification-row em {
  display: block;
}

.btb-notification-panel-head > div {
  min-width: 0;
  flex: 1 1 auto;
}

.btb-notification-panel-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.btb-notification-panel-head strong,
.btb-notification-panel-head small {
  overflow-wrap: normal;
  word-break: normal;
  white-space: nowrap;
}

.btb-notification-panel-head strong {
  color: var(--btb-ink);
  font-size: 14px;
}

.btb-notification-panel-head small {
  margin-top: 2px;
  color: var(--btb-muted);
  font-size: 12px;
}

.btb-notification-panel-head button,
.btb-notification-center-link {
  flex: 0 0 auto;
  color: var(--btb-blue);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.btb-notification-list {
  max-height: 370px;
  max-width: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

.btb-notification-row {
  display: flex;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  gap: 12px;
  padding: 14px 16px;
  overflow-x: hidden;
  border: 0;
  border-bottom: 1px solid #e8f0f5;
  background: #fff;
  text-align: left;
  transition: background .16s ease;
}

[dir="rtl"] .btb-notification-row {
  text-align: right;
}

.btb-notification-row:hover,
.btb-notification-row.is-unread {
  background: #f7fbfd;
}

.btb-notification-dot {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 999px;
  background: var(--btb-blue);
  box-shadow: 0 0 0 4px rgba(11, 111, 146, .12);
}

.btb-notification-dot.success {
  background: #159947;
  box-shadow: 0 0 0 4px rgba(21, 153, 71, .14);
}

.btb-notification-dot.warning {
  background: #c68117;
  box-shadow: 0 0 0 4px rgba(198, 129, 23, .16);
}

.btb-notification-dot.critical {
  background: #d24124;
  box-shadow: 0 0 0 4px rgba(210, 65, 36, .14);
}

.btb-notification-row strong {
  color: var(--btb-ink);
  font-size: 13px;
}

.btb-notification-copy {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.btb-notification-row strong,
.btb-notification-row small,
.btb-notification-row em {
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.btb-notification-row small {
  margin-top: 3px;
  color: var(--btb-muted);
  font-size: 12px;
  line-height: 1.45;
}

.btb-notification-row em {
  margin-top: 7px;
  color: #8aa0ae;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btb-notification-empty,
.btb-notification-center-link {
  display: block;
  padding: 16px;
  text-align: center;
}

.btb-notification-empty {
  color: var(--btb-muted);
  font-size: 13px;
}

@media (max-width: 640px) {
  .btb-notification-panel,
  [dir="rtl"] .btb-notification-panel {
    position: fixed;
    top: 76px;
    right: 12px;
    left: 12px;
    width: auto !important;
    min-width: 0;
    max-width: none;
  }
}

.btb-toast-container {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 100;
  display: grid;
  gap: 10px;
}

[dir="rtl"] .btb-toast-container {
  right: auto;
  left: 18px;
}

.btb-notification-toast {
  max-width: 320px;
  transform: translateY(-8px);
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  background: rgba(8, 50, 74, .96);
  color: #fff;
  padding: 12px 14px;
  text-align: left;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 18px 40px rgba(8, 50, 74, .24);
  transition: opacity .2s ease, transform .2s ease;
}

.btb-notification-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.btb-tooltip-target {
  cursor: help;
}

.btb-tooltip-target:focus-visible {
  outline: 3px solid rgba(198, 154, 59, .34);
  outline-offset: 3px;
}

.btb-tooltip-bubble {
  position: fixed;
  z-index: 1000;
  max-width: min(310px, calc(100vw - 24px));
  border: 1px solid rgba(219, 232, 239, .22);
  border-top: 3px solid var(--btb-gold);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(8, 50, 74, .98), rgba(5, 34, 52, .98)),
    var(--btb-blue-deep);
  color: #fff;
  padding: 10px 12px;
  box-shadow: 0 18px 38px rgba(5, 35, 52, .28);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
  letter-spacing: 0;
  pointer-events: none;
  opacity: 0;
  transform: translateY(5px) scale(.98);
  transition: opacity .14s ease, transform .14s ease;
}

.btb-tooltip-bubble.is-measuring {
  display: block;
  opacity: 0;
}

.btb-tooltip-bubble.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.btb-tooltip-bubble::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .44), transparent);
}

.btb-tooltip-bubble[dir="rtl"] {
  direction: rtl;
  text-align: right;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

.unified-auth-nav .btb-language-toggle {
  min-height: 34px;
  border-color: rgba(255, 255, 255, .5);
  background: rgba(4, 49, 82, .22);
}

[dir="rtl"] body,
[dir="rtl"] body.btb-shell,
[dir="rtl"] .unified-auth-page {
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

[dir="rtl"] .topbar .mx-auto,
[dir="rtl"] .unified-auth-nav {
  direction: rtl;
}

[dir="rtl"] .btb-header-actions,
[dir="rtl"] .unified-auth-actions {
  margin-right: auto;
  margin-left: 0;
}

[dir="rtl"] .topbar a[href="/btb/dashboard"],
[dir="rtl"] .unified-auth-brand {
  flex-direction: row-reverse;
}

[dir="rtl"] .btb-account {
  text-align: left;
}

[dir="rtl"] .nav-link.is-active::after {
  left: 10px;
  right: 10px;
}

[dir="rtl"] .hero-overlay {
  text-align: right;
}

[dir="rtl"] .hero-overlay::after {
  right: auto;
  left: -15%;
}

[dir="rtl"] .text-left {
  text-align: right !important;
}

[dir="rtl"] .text-right {
  text-align: left !important;
}

[dir="rtl"] .md\:text-left {
  text-align: right !important;
}

[dir="rtl"] .lg\:text-right {
  text-align: left !important;
}

[dir="rtl"] input,
[dir="rtl"] textarea,
[dir="rtl"] select {
  text-align: right;
}

[dir="rtl"] input[type="email"],
[dir="rtl"] input[name="email"],
[dir="rtl"] input[name="contact_email"],
[dir="rtl"] input[name="currency"],
[dir="rtl"] input[name="origin"],
[dir="rtl"] input[name="destination"] {
  direction: ltr;
  text-align: left;
}

[dir="rtl"] .unified-auth-toggle {
  right: auto;
  left: 14px;
}

[dir="rtl"] .unified-auth-password {
  padding-right: 16px;
  padding-left: 74px;
}

.nav-link {
  position: relative;
  flex: 0 1 auto;
  min-height: 38px !important;
  border: 1px solid transparent !important;
  border-radius: 8px;
  padding: 0 10px;
  color: rgba(255, 255, 255, .78) !important;
  transition: color .18s ease, transform .18s ease, background .18s ease, border-color .18s ease;
}

.nav-link:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
  transform: translateY(-1px);
}

.nav-link.is-active {
  border-color: rgba(255, 255, 255, .16) !important;
  background: rgba(255, 255, 255, .12);
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: -4px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--btb-gold), var(--btb-green));
}

.btb-mobile-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: hidden;
  border-top: 1px solid rgba(255, 255, 255, .09);
  padding: 8px 16px 10px;
}

.topbar a[href="/btb/logout"] {
  flex: 0 0 auto;
}

.btb-mobile-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 calc(50% - 8px);
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  padding: 0 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.btb-main {
  width: 100%;
  max-width: 1500px !important;
  overflow-x: hidden;
}

.btb-main > *,
.panel,
.data-card,
.product-card,
.quick-action-card {
  min-width: 0;
}

.btb-main p,
.btb-main a,
.btb-main td,
.btb-main th,
.btb-main strong,
.btb-main span {
  overflow-wrap: anywhere;
}

.panel {
  border: 1px solid rgba(122, 164, 190, .42) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: var(--btb-shadow) !important;
  backdrop-filter: blur(12px);
}

.section-eyebrow {
  color: var(--btb-blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.section-title {
  color: var(--btb-ink);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}

.page-intro h1 {
  margin-top: 6px;
  color: var(--btb-ink);
  font-size: 38px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}

.page-intro p:not(.section-eyebrow) {
  margin-top: 10px;
  max-width: 720px;
  color: var(--btb-muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.55;
}

.soft-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid rgba(11, 111, 146, .42);
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: var(--btb-blue-deep);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.soft-action:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 111, 146, .7);
  box-shadow: 0 12px 24px rgba(14, 48, 69, .1);
}

.soft-action.primary {
  border-color: transparent;
  background: var(--btb-blue-deep);
  color: #fff;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  background: #eef6fb;
  color: #31556c;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pill.pending,
.pill.cash_pending,
.pill.urgent,
.pill.finance,
.pill.ticketing {
  background: #fff4d6;
  color: #a66500;
}

.pill.confirmed,
.pill.settled,
.pill.closed {
  background: #dcfce7;
  color: #15803d;
}

.pill.cancelled,
.pill.rejected,
.pill.error {
  background: #ffe4e6;
  color: #be123c;
}

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

.quick-action-card {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  border: 1px solid rgba(122, 164, 190, .38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(246, 250, 252, .92)),
    #fff;
  padding: 18px;
  box-shadow: 0 14px 34px rgba(14, 48, 69, .1);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-action-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--btb-blue), var(--btb-gold));
}

.quick-action-card:hover {
  transform: translateY(-3px);
  border-color: rgba(11, 111, 146, .45);
  box-shadow: 0 22px 42px rgba(14, 48, 69, .14);
}

.quick-action-card strong {
  display: block;
  color: var(--btb-ink);
  font-size: 18px;
  font-weight: 900;
}

.quick-action-card p {
  margin-top: 8px;
  color: var(--btb-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}

.quick-action-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  border-radius: 999px;
  margin-bottom: 14px;
  padding: 4px 10px;
  background: rgba(11, 111, 146, .1);
  color: var(--btb-blue-deep);
  font-size: 12px;
  font-weight: 900;
}

.quick-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 8px;
  margin-top: 16px;
  padding: 0 13px;
  background: var(--btb-blue-deep);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.quick-action-link.secondary {
  border: 1px solid rgba(11, 111, 146, .4);
  background: #fff;
  color: var(--btb-blue-deep);
}

.support-feed article,
.history-feed article {
  transition: background .16s ease;
}

.support-feed article:hover,
.history-feed article:hover {
  background: #f8fcff;
}

.btb-empty {
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px dashed rgba(96, 117, 134, .35);
  border-radius: 8px;
  background: rgba(248, 252, 255, .78);
  color: var(--btb-muted);
  padding: 18px;
  text-align: center;
}

.btb-empty strong {
  display: block;
  color: var(--btb-ink);
  font-size: 15px;
  font-weight: 900;
}

.btb-empty span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  font-weight: 650;
}

.portal-pagebar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  border-bottom: 1px solid #d8e3eb;
  padding: 4px 0 16px;
}

.portal-pagebar h1 {
  margin: 0;
  color: #172b3a;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.1;
}

.portal-pagebar-metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  min-width: 0;
}

.portal-pagebar-metrics > div {
  min-width: 142px;
  border: 1px solid #d8e3eb;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

.portal-pagebar-metrics span,
.portal-pagebar-metrics strong {
  display: block;
}

.portal-pagebar-metrics span {
  color: #64788a;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.portal-pagebar-metrics strong {
  margin-top: 3px;
  color: #0b6f92;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.1;
}

.btb-shell main > section,
.animate-in {
  animation: btbFadeUp .55s ease both;
}

.btb-shell main > section:nth-of-type(2) {
  animation-delay: .06s;
}

.btb-shell main > section:nth-of-type(3) {
  animation-delay: .12s;
}

.btb-shell main > section:nth-of-type(4) {
  animation-delay: .18s;
}

.hero-panel,
.search-hero,
.order-hero {
  position: relative;
  overflow: hidden;
}

.hero-media {
  position: relative;
  min-height: 230px;
  background-size: cover;
  background-position: center 48%;
}

.btb-hero-asset {
  background-image: url('/static/btb/images/premium-corporate-lounge.webp');
}

.hero-overlay {
  position: relative;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 24, 36, .92), rgba(8, 50, 74, .7) 48%, rgba(198, 154, 59, .17));
}

.hero-overlay::after {
  content: "";
  position: absolute;
  right: -15%;
  bottom: 24px;
  width: 60%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .78), transparent);
  animation: btbRouteLine 3.6s ease-in-out infinite;
}

.credit-card,
.wallet-kpi {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(239, 249, 255, .96) 58%, rgba(241, 252, 238, .98)) !important;
}

.credit-card::before,
.wallet-kpi::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--btb-blue), var(--btb-green), var(--btb-gold));
}

.booking-card {
  position: relative;
}

.booking-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--btb-blue), var(--btb-green));
}

.tab-btn {
  border: 1px solid rgba(8, 126, 189, .16) !important;
  background: #f5fbff !important;
  color: #27506a !important;
  box-shadow: inset 0 -1px 0 rgba(8, 126, 189, .08);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(8, 126, 189, .16);
}

.tab-btn.is-active {
  background: linear-gradient(135deg, var(--btb-blue), var(--btb-cyan)) !important;
  color: #fff !important;
  box-shadow: 0 15px 28px rgba(8, 126, 189, .24) !important;
}

.tab-btn.is-locked,
.filter-btn.is-locked,
.chip.is-locked {
  cursor: not-allowed !important;
  border-color: rgba(126, 164, 187, .38) !important;
  background: #f3f7fa !important;
  color: #7a8b99 !important;
  box-shadow: none !important;
  filter: grayscale(.25);
  opacity: .68;
  transform: none !important;
}

.tab-btn.is-locked:hover,
.filter-btn.is-locked:hover,
.chip.is-locked:hover {
  border-color: rgba(126, 164, 187, .38) !important;
  background: #f3f7fa !important;
  box-shadow: none !important;
  transform: none !important;
}

.form-field,
.field {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid var(--btb-line) !important;
  border-radius: 6px;
  padding: 0 12px;
  color: var(--btb-ink);
  border-color: var(--btb-line) !important;
  background: linear-gradient(180deg, #fff, #fbfdff) !important;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

select.form-field,
select.field {
  padding-right: 34px;
}

textarea.form-field,
textarea.field {
  min-height: 96px;
  padding-top: 11px;
  padding-bottom: 11px;
  resize: vertical;
}

.field-label {
  display: block;
  margin-bottom: 6px;
  color: var(--btb-muted);
  font-size: 12px;
  font-weight: 850;
}

.form-field:hover,
.field:hover {
  border-color: rgba(8, 126, 189, .48) !important;
}

.form-field:focus,
.field:focus {
  border-color: var(--btb-blue) !important;
  box-shadow: 0 0 0 4px rgba(8, 126, 189, .14) !important;
}

.airport-autocomplete-menu {
  position: fixed;
  z-index: 80;
  width: min(360px, calc(100vw - 24px));
  max-height: min(390px, calc(100vh - 28px));
  overflow-y: auto;
  border: 1px solid rgba(151, 180, 199, .72);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(15, 52, 74, .2);
  padding: 6px;
}

.airport-autocomplete-menu[hidden] {
  display: none !important;
}

.airport-autocomplete-row {
  width: 100%;
  min-height: 48px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 6px;
  padding: 8px 10px;
  color: #173247;
  text-align: left;
  transition: background .12s ease, color .12s ease;
}

.airport-autocomplete-row:hover,
.airport-autocomplete-row.is-active {
  background: #eef7fc;
}

.airport-autocomplete-icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid #cfe0ea;
  border-radius: 999px;
  color: #087ebd;
  font-size: 12px;
  font-weight: 950;
}

.airport-autocomplete-title {
  overflow-wrap: anywhere;
  white-space: normal;
  font-size: 13px;
  font-weight: 950;
}

.airport-autocomplete-subtitle {
  margin-top: 2px;
  overflow-wrap: anywhere;
  white-space: normal;
  color: #6a7f90;
  font-size: 12px;
  font-weight: 700;
}

.airport-autocomplete-code {
  border: 1px solid #d8e6ef;
  border-radius: 5px;
  background: #f7fbfd;
  padding: 3px 7px;
  color: #0c5f8f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
}

.airport-autocomplete-empty {
  padding: 12px 10px;
  color: #66788a;
  font-size: 12px;
  font-weight: 850;
}

.airport-autocomplete-help {
  border-top: 1px solid #edf3f7;
  margin-top: 5px;
  padding: 7px 10px 3px;
  color: #7b8f9f;
  font-size: 11px;
  font-weight: 800;
}

[dir="rtl"] .airport-autocomplete-row {
  grid-template-columns: auto minmax(0, 1fr) 22px;
  text-align: right;
}

[dir="rtl"] .airport-autocomplete-icon {
  order: 3;
}

[dir="rtl"] .airport-autocomplete-code {
  order: 1;
}

[dir="rtl"] .airport-autocomplete-row > div:not(.airport-autocomplete-icon):not(.airport-autocomplete-code) {
  order: 2;
}

.btb-user-form label,
.btb-user-edit label {
  display: block;
}

.btb-user-form .form-field,
.btb-user-edit .form-field {
  display: block;
  width: 100%;
  min-width: 0;
}

.btb-user-check {
  display: flex !important;
  align-items: flex-start !important;
  gap: .6rem !important;
  line-height: 1.35;
}

.btb-user-check input {
  flex: 0 0 auto;
  margin-top: .18rem;
}

.primary-action,
.primary,
.select-product,
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  padding: 0 16px;
  color: #fff !important;
  font-weight: 900;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 6px !important;
  background: linear-gradient(135deg, var(--btb-green), #8ed747) !important;
  box-shadow: 0 14px 26px rgba(54, 145, 48, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.primary-action:hover,
.primary:hover,
.select-product:hover,
.action-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(54, 145, 48, .28);
  filter: saturate(1.05);
}

.primary-action:disabled,
.primary:disabled,
.select-product:disabled,
.action-link:disabled {
  cursor: not-allowed;
  opacity: .52;
  box-shadow: none !important;
  filter: grayscale(.25);
  transform: none !important;
}

.primary-action:disabled:hover,
.primary:disabled:hover,
.select-product:disabled:hover,
.action-link:disabled:hover {
  box-shadow: none !important;
  filter: grayscale(.25);
  transform: none !important;
}

.outline-action {
  border-color: rgba(8, 126, 189, .5) !important;
  background: #fff;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.outline-action:hover {
  transform: translateY(-1px);
  background: #f4fbff;
  box-shadow: 0 10px 22px rgba(8, 126, 189, .12);
}

.product-card,
.product {
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.product-card:hover,
.product:hover,
.product.picked {
  transform: translateY(-3px);
  border-color: rgba(97, 191, 85, .62) !important;
  background: linear-gradient(180deg, #fff, #f8fcff) !important;
  box-shadow: 0 20px 38px rgba(18, 64, 96, .14);
}

.data-card {
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.data-card:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 126, 189, .45) !important;
  background: #fbfdff !important;
}

.table-head {
  background: linear-gradient(180deg, #eff8fd, #e8f2f8) !important;
}

.btb-table-wrap {
  width: 100%;
  overflow-x: hidden;
}

.btb-data-table {
  width: 100%;
  min-width: 0 !important;
  table-layout: fixed;
}

.btb-data-table th,
.btb-data-table td {
  vertical-align: top;
}

.btb-data-table .status-pill,
.btb-data-table .pill {
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

tbody tr {
  transition: background .16s ease;
}

tbody tr:hover {
  background: #f8fcff;
}

.status-pill,
.pill {
  border: 1px solid rgba(0, 0, 0, .04);
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .48);
}

.login-layout {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, rgba(0, 95, 147, .08), rgba(0, 48, 84, .34));
}

.login-nav {
  animation: btbFadeDown .5s ease both;
}

.login-card {
  width: min(92vw, 620px);
  margin-top: 72px;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 8px;
  background: rgba(4, 49, 82, .34);
  box-shadow: 0 26px 60px rgba(0, 35, 62, .35);
  backdrop-filter: blur(14px);
}

.login-field-stack {
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 8px !important;
  box-shadow: 0 20px 40px rgba(7, 50, 81, .22) !important;
}

.login-input {
  transition: box-shadow .18s ease, background .18s ease;
}

.primary-button {
  border-radius: 6px !important;
  background: linear-gradient(135deg, var(--btb-green), #9ade48) !important;
}

.credibility-footer {
  margin-top: 28px;
  animation: btbFadeUp .55s ease both;
  animation-delay: .2s;
}

.credibility-panel {
  overflow: hidden;
  border: 1px solid rgba(122, 164, 190, .38);
  border-radius: 8px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 42px rgba(18, 64, 96, .1);
  backdrop-filter: blur(12px);
}

.credibility-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(207, 226, 236, .9);
  background:
    linear-gradient(90deg, rgba(8, 126, 189, .08), rgba(97, 191, 85, .06)),
    #fff;
}

.credibility-title {
  margin: 0;
  color: var(--btb-blue);
  font-size: 15px;
  font-weight: 900;
}

.credibility-speed {
  color: var(--btb-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.credibility-speed strong {
  color: var(--btb-blue);
  font-size: 20px;
}

.credibility-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 24px;
}

.credibility-item {
  display: grid;
  gap: 9px;
  justify-items: center;
  min-height: 120px;
  border: 1px solid rgba(207, 226, 236, .78);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fcff);
  padding: 18px 12px;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.credibility-item:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 126, 189, .44);
  box-shadow: 0 16px 30px rgba(18, 64, 96, .12);
}

.credibility-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--btb-blue), var(--btb-cyan));
  box-shadow: 0 12px 24px rgba(8, 126, 189, .22);
  font-size: 21px;
  font-weight: 900;
}

.credibility-item strong {
  color: var(--btb-ink);
  font-size: 15px;
}

.credibility-item span {
  color: var(--btb-muted);
  font-size: 12px;
  font-weight: 700;
}

.brand-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(207, 226, 236, .88);
  background: rgba(246, 250, 253, .86);
  padding: 18px 22px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 38px;
  border: 1px solid rgba(127, 152, 170, .22);
  border-radius: 8px;
  color: rgba(37, 65, 82, .58);
  background: rgba(255, 255, 255, .7);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .02em;
  filter: grayscale(.2);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, background .18s ease;
}

.brand-logo img {
  max-width: 78px;
  max-height: 26px;
  object-fit: contain;
}

.brand-logo:hover {
  transform: translateY(-2px);
  border-color: rgba(8, 126, 189, .35);
  color: var(--btb-blue);
  background: #fff;
}

.credibility-note {
  margin: 12px 0 0;
  color: var(--btb-muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

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

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

@keyframes btbAccentFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 220% 50%;
  }
}

@keyframes btbRouteLine {
  0%, 100% {
    transform: translateX(0);
    opacity: .4;
  }
  50% {
    transform: translateX(-34%);
    opacity: .95;
  }
}

@keyframes btbLightSweep {
  0%, 100% {
    opacity: .55;
    transform: translateX(-5%);
  }
  50% {
    opacity: .9;
    transform: translateX(5%);
  }
}

@media (max-width: 720px) {
  .topbar .mx-auto {
    flex-wrap: wrap;
    gap: 10px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .topbar a[href="/btb/dashboard"] {
    flex: 1 1 190px;
  }

  .btb-header-actions,
  .unified-auth-actions {
    gap: 8px;
  }

  .btb-header-actions {
    margin-left: auto;
  }

  [dir="rtl"] .btb-header-actions {
    margin-right: auto;
    margin-left: 0;
  }

  .topbar a[href="/btb/dashboard"] img {
    width: 42px !important;
    height: 42px !important;
  }

  .topbar a[href="/btb/logout"] {
    min-height: 38px;
    padding: 0 12px !important;
  }

  .btb-main {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .page-intro {
    display: block;
    padding: 18px;
  }

  .page-intro h1 {
    font-size: 28px;
  }

  .page-intro .soft-action,
  .page-intro .quick-action-link {
    margin-top: 14px;
  }

  .quick-action-grid {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-overlay {
    min-height: 210px;
  }

  .login-card {
    margin-top: 32px;
    padding: 22px;
  }

  .credibility-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .credibility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px;
  }

  .credibility-item {
    min-height: 112px;
  }

  .brand-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-content: center;
    overflow-x: visible;
    flex-wrap: initial;
    padding: 14px 16px;
  }

  .brand-logo {
    min-width: 0;
    width: 100%;
    font-size: 12px;
  }
}

@media (max-width: 420px) {
  .topbar a[href="/btb/dashboard"] {
    flex-basis: 100%;
  }

  .btb-header-actions {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }

  [dir="rtl"] .btb-header-actions {
    margin-right: 0;
  }
}

@media (max-width: 1240px) {
  .topbar nav.hidden.lg\:flex,
  .topbar nav.lg\:flex {
    display: none !important;
  }

  .btb-mobile-nav {
    display: flex !important;
  }
}

@media (min-width: 721px) and (max-width: 1240px) {
  .btb-mobile-nav a {
    flex: 1 1 0;
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .btb-responsive-table,
  .btb-responsive-table thead,
  .btb-responsive-table tbody,
  .btb-responsive-table tr,
  .btb-responsive-table th,
  .btb-responsive-table td {
    display: block;
    width: 100%;
  }

  .btb-responsive-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .btb-responsive-table tbody {
    display: grid;
    gap: 12px;
    padding: 12px;
  }

  .btb-responsive-table tbody tr {
    display: grid;
    overflow: hidden;
    border: 1px solid rgba(207, 226, 236, .9);
    border-radius: 8px;
    background: #fff;
  }

  .btb-responsive-table tbody tr:hover {
    background: #fff;
  }

  .btb-responsive-table td {
    display: grid;
    grid-template-columns: minmax(96px, 34%) minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    border-bottom: 1px solid #edf3f7;
    padding: 11px 12px !important;
    text-align: left !important;
  }

  .btb-responsive-table td:last-child {
    border-bottom: 0;
  }

  .btb-responsive-table td::before {
    content: attr(data-label);
    color: var(--btb-muted);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .btb-responsive-table td[colspan] {
    display: block;
  }

  .btb-responsive-table td[colspan]::before {
    display: none;
    content: "";
  }
}

@media (max-width: 560px) {
  .btb-mobile-nav a {
    flex-basis: 100%;
  }

  .btb-responsive-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (min-width: 1241px) {
  .btb-mobile-nav {
    display: none !important;
  }
}

@media (max-width: 1380px) {
  .btb-account {
    display: none !important;
  }

  .nav-link {
    padding: 0 8px;
    font-size: 13px;
  }
}

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

/* End-product polish layer: shared BTB shell, responsive cards, Arabic/RTL refinement. */
body.btb-shell {
  background:
    radial-gradient(circle at 11% 6%, rgba(198, 154, 59, .11), transparent 26%),
    radial-gradient(circle at 88% 4%, rgba(113, 191, 75, .1), transparent 24%),
    linear-gradient(135deg, rgba(11, 111, 146, .1) 0%, rgba(255, 255, 255, .08) 42%, rgba(198, 154, 59, .07) 100%),
    #f3f8fb;
}

body.btb-shell::before {
  opacity: .72;
  background-size: 38px 38px;
}

.topbar {
  background:
    linear-gradient(135deg, rgba(7, 41, 61, .98), rgba(8, 66, 88, .97) 54%, rgba(17, 72, 77, .96)) !important;
}

.topbar .mx-auto {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.topbar img[alt="Anytime Travel"] {
  border: 1px solid rgba(255, 255, 255, .22);
}

.nav-link {
  min-height: 36px !important;
  border-radius: 8px;
  padding: 0 11px;
  font-size: 13px;
  font-weight: 850;
}

.nav-link.is-active {
  background: rgba(255, 255, 255, .16);
  color: #fff !important;
}

.btb-language-toggle,
.topbar a[href="/btb/logout"],
.btb-notification-button {
  min-height: 36px;
  border-radius: 8px;
}

.btb-main {
  padding-top: 22px !important;
  padding-bottom: 34px !important;
}

.panel,
.doc-card,
.btb-admin-card {
  border-color: rgba(126, 164, 187, .36) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(249, 252, 254, .95)) !important;
  box-shadow: 0 18px 42px rgba(18, 54, 76, .11) !important;
}

.panel:hover,
.doc-card:hover {
  border-color: rgba(11, 111, 146, .34) !important;
}

.page-intro {
  position: relative;
  overflow: hidden;
  align-items: center;
  padding: 24px 26px;
}

.page-intro::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--btb-blue), var(--btb-green), var(--btb-gold));
}

.page-intro h1 {
  max-width: 900px;
  font-size: clamp(28px, 3vw, 42px);
}

.section-title {
  font-size: clamp(20px, 1.7vw, 26px);
}

.section-eyebrow,
.label,
.field-label,
.doc-eyebrow {
  color: var(--btb-blue);
  letter-spacing: .12em;
}

.hero-media,
.hero-overlay {
  min-height: 250px;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(4, 23, 34, .94), rgba(7, 47, 68, .75) 52%, rgba(33, 88, 76, .34)),
    linear-gradient(180deg, rgba(255, 255, 255, .06), transparent);
}

.hero-overlay h1 {
  line-height: 1.04;
  text-wrap: balance;
}

.credit-card,
.wallet-kpi,
.quick-action-card,
.data-card,
.product-card,
.product {
  border-radius: 8px !important;
}

.credit-card,
.wallet-kpi {
  box-shadow: 0 18px 38px rgba(18, 54, 76, .1) !important;
}

.wallet-kpi {
  min-height: 132px;
}

.quick-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.quick-action-card {
  min-height: 158px;
  display: flex;
  flex-direction: column;
}

.quick-action-card p {
  margin-top: 8px;
  color: var(--btb-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.5;
}

.quick-action-meta {
  margin-bottom: 8px;
  color: var(--btb-blue);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-action-link {
  align-self: flex-start;
  margin-top: auto;
}

.booking-card,
.search-hero,
.order-hero {
  box-shadow: 0 22px 50px rgba(18, 54, 76, .13) !important;
}

.tab-btn,
.chip {
  border-radius: 999px !important;
}

.chip {
  border: 1px solid rgba(11, 111, 146, .2);
  background: #f7fbfd;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.chip:hover {
  transform: translateY(-1px);
  border-color: rgba(11, 111, 146, .5);
  background: #fff;
}

.form-field,
.field,
.input,
.textarea,
.doc-search {
  min-height: 46px;
  border-color: rgba(126, 164, 187, .55) !important;
  border-radius: 8px !important;
  background: #fff !important;
  font-weight: 650;
}

textarea.input,
textarea.textarea,
textarea.form-field,
textarea.field {
  min-height: 108px;
}

.primary-action,
.primary,
.select-product,
.action-link,
.primary-button {
  border-radius: 8px !important;
  background: linear-gradient(135deg, #62b54d, #77c957 56%, #bfd24f) !important;
  box-shadow: 0 14px 30px rgba(75, 143, 54, .24);
}

.soft-action,
.outline-action,
.muted-action {
  border-radius: 8px !important;
}

.soft-action.primary {
  background: linear-gradient(135deg, var(--btb-blue-deep), var(--btb-blue)) !important;
}

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--btb-blue), var(--btb-green), var(--btb-gold));
  opacity: .9;
}

.product-card form,
.order-hero aside > div,
.order-hero [data-checkout-credit] {
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, #fff, #f8fcff) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.btb-data-table {
  border-collapse: separate;
  border-spacing: 0;
}

.btb-data-table th {
  color: #47657a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.btb-data-table td {
  color: #203949;
  font-weight: 650;
}

.btb-data-table tbody tr {
  background: #fff;
}

.btb-empty {
  min-height: 150px;
  border-color: rgba(11, 111, 146, .24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(244, 251, 255, .92));
}

.docs-layout {
  gap: 18px;
}

.docs-sidebar {
  top: 104px;
}

.doc-card {
  scroll-margin-top: 126px;
}

.topic-link {
  min-height: 44px;
  border-radius: 8px;
}

.topic-link.is-active {
  background: linear-gradient(135deg, rgba(11, 111, 146, .1), rgba(113, 191, 75, .08));
}

.workflow-step,
.callout,
.faq-item {
  border-radius: 8px;
}

.brand-strip {
  gap: 10px;
}

.brand-logo {
  opacity: .82;
}

[dir="rtl"] body.btb-shell {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

[dir="rtl"] .section-eyebrow,
[dir="rtl"] .label,
[dir="rtl"] .field-label,
[dir="rtl"] .doc-eyebrow,
[dir="rtl"] .quick-action-meta {
  letter-spacing: 0;
  text-transform: none;
}

[dir="rtl"] .page-intro,
[dir="rtl"] .btb-main,
[dir="rtl"] .doc-card,
[dir="rtl"] .panel,
[dir="rtl"] .support-feed article,
[dir="rtl"] .history-feed article {
  text-align: right;
}

[dir="rtl"] .quick-action-link,
[dir="rtl"] .soft-action,
[dir="rtl"] .outline-action,
[dir="rtl"] .primary-action,
[dir="rtl"] .primary {
  text-align: center;
}

[dir="rtl"] .hero-overlay::after {
  right: auto;
  left: -15%;
}

[dir="rtl"] .btb-data-table th,
[dir="rtl"] .btb-data-table td {
  text-align: right !important;
}

[dir="rtl"] .btb-data-table td[data-label="Total"],
[dir="rtl"] .btb-data-table td[data-label="Amount"],
[dir="rtl"] .btb-data-table td[data-label="Balance"],
[dir="rtl"] .btb-data-table td[data-label="Status"],
[dir="rtl"] .btb-data-table td[data-label="Settlement"],
[dir="rtl"] .btb-data-table td[data-label="Order status"] {
  text-align: center !important;
}

@media (max-width: 1240px) {
  .btb-mobile-nav {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    overflow-x: hidden;
    padding: 8px 14px 10px;
  }

  .btb-mobile-nav a {
    min-width: 0;
    flex: none;
    min-height: 36px;
    padding: 0 8px;
    font-size: 12px;
  }
}

@media (max-width: 720px) {
  .topbar .mx-auto {
    gap: 8px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .topbar a[href="/btb/dashboard"] {
    flex-basis: 170px;
  }

  .topbar a[href="/btb/dashboard"] p:first-child {
    font-size: 14px;
  }

  .topbar a[href="/btb/dashboard"] p + p {
    font-size: 11px;
  }

  .btb-language-toggle,
  .topbar a[href="/btb/logout"] {
    min-height: 34px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 12px;
  }

  .btb-notification-button {
    width: 36px;
    height: 36px;
  }

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

  .btb-main {
    padding-top: 16px !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  .panel,
  .doc-card {
    box-shadow: 0 12px 28px rgba(18, 54, 76, .09) !important;
  }

  .page-intro {
    padding: 18px 16px;
  }

  .page-intro h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 21px;
  }

  .hero-media,
  .hero-overlay {
    min-height: 205px;
  }

  .hero-overlay {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .quick-action-card {
    min-height: 132px;
    padding: 15px;
  }

  .wallet-kpi {
    min-height: 108px;
  }

  .wallet-kpi p.mt-2,
  .credit-card #creditBalance {
    font-size: 28px !important;
  }

  .btb-data-table tbody {
    padding: 10px !important;
  }

  .btb-responsive-table tbody tr {
    box-shadow: 0 10px 22px rgba(18, 54, 76, .07);
  }
}

@media (max-width: 560px) {
  .btb-mobile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .btb-mobile-nav a {
    flex-basis: auto;
  }

  .btb-responsive-table td {
    grid-template-columns: minmax(0, 1fr);
    gap: 5px;
  }

  .btb-responsive-table td::before {
    font-size: 10px;
  }

  .primary-action,
  .primary,
  .soft-action,
  .outline-action,
  .muted-action {
    width: 100%;
  }
}

/* BTB header stability polish. Keep the product navigation readable without
   letting the account area, language switch, or notification center collide. */
@media (min-width: 1241px) {
  .topbar > .mx-auto {
    display: grid !important;
    grid-template-columns: minmax(216px, auto) minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 16px !important;
    width: 100%;
    max-width: 1540px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .topbar > .mx-auto > a[href="/btb/dashboard"] {
    min-width: 0;
    max-width: 248px;
  }

  .topbar > .mx-auto > a[href="/btb/dashboard"] img {
    width: 42px !important;
    height: 42px !important;
    flex: 0 0 42px;
  }

  .topbar > .mx-auto > a[href="/btb/dashboard"] p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .topbar > .mx-auto > nav.hidden,
  .topbar > .mx-auto > nav.lg\:flex {
    min-width: 0;
    width: 100%;
    justify-content: flex-start !important;
    gap: 4px !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .topbar > .mx-auto > nav.hidden::-webkit-scrollbar,
  .topbar > .mx-auto > nav.lg\:flex::-webkit-scrollbar {
    display: none;
  }

  .topbar .nav-link {
    min-height: 34px !important;
    border-radius: 999px !important;
    padding: 0 9px !important;
    font-size: 12px !important;
    line-height: 1 !important;
    white-space: nowrap;
  }

  .topbar > .mx-auto > .flex.items-center.gap-3,
  .btb-header-actions {
    justify-self: end;
    min-width: max-content;
    gap: 8px !important;
  }

  .btb-account {
    max-width: 176px !important;
    flex: 0 1 176px !important;
  }

  .btb-account p {
    max-width: 176px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .btb-language-toggle {
    min-width: 42px !important;
    height: 34px !important;
    padding: 0 10px !important;
    border-radius: 8px !important;
  }

  .btb-notification-button,
  .topbar button[aria-label*="notification" i] {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;
  }

  .topbar a[href="/btb/logout"] {
    min-height: 36px !important;
    padding: 0 14px !important;
    border-radius: 8px !important;
    white-space: nowrap;
  }
}

@media (min-width: 1241px) and (max-width: 1510px) {
  .btb-account {
    display: none !important;
  }

  .topbar > .mx-auto {
    grid-template-columns: minmax(210px, 238px) minmax(0, 1fr) max-content;
    column-gap: 12px !important;
  }

  .topbar .nav-link {
    padding: 0 8px !important;
    font-size: 11.5px !important;
  }
}

/* Final control-centering guard. These controls appear on every BTB page and
   must stay visually centered regardless of utility padding or injected widgets. */
.topbar .nav-link,
.topbar a[href="/btb/logout"],
.btb-language-toggle,
.btb-notification-button,
.btb-mobile-nav a,
.primary-action,
.soft-action,
.outline-action,
.muted-action,
.action-link,
.tab-btn,
.filter-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

.topbar a[href="/btb/logout"] {
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.btb-language-toggle {
  height: 38px !important;
  min-height: 38px !important;
}

.btb-notification-button {
  line-height: 0 !important;
}

/* Simple UI pass - calmer client portal */
:root {
  --btb-shadow: 0 1px 2px rgba(15, 23, 42, .06);
  --btb-line: #d8e3eb;
  --btb-soft: #f7fafc;
}

body.btb-shell {
  background: #f6f8fb !important;
}

body.btb-shell::before {
  display: none !important;
}

.topbar {
  background: #ffffff !important;
  border-bottom: 1px solid #d9e5ec !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important;
  backdrop-filter: none !important;
}

.topbar::after {
  display: none !important;
}

.topbar a,
.topbar p,
.topbar .nav-link,
.topbar .btb-account-name,
.topbar .btb-account-email {
  color: #173247 !important;
}

.topbar a[href="/btb/dashboard"] p + p,
.btb-account-email {
  color: #64788a !important;
}

.nav-link {
  height: 38px !important;
  border-bottom: 0 !important;
  border-radius: 8px !important;
  padding: 0 10px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
}

.nav-link.is-active {
  background: #e9f3f8 !important;
  color: #0b6f92 !important;
}

.btb-language-toggle,
.btb-notification-button,
.topbar a[href="/btb/logout"] {
  border-color: #c9d8e2 !important;
  background: #fff !important;
  color: #173247 !important;
  box-shadow: none !important;
}

.btb-notification-badge {
  border-color: #fff !important;
}

.btb-mobile-nav {
  background: #fff !important;
  border-top: 1px solid #e2ebf1 !important;
}

.btb-mobile-nav a {
  background: #f4f8fb !important;
  color: #173247 !important;
  border-color: #d8e3eb !important;
}

.panel,
.data-card,
.product-card,
.quick-action-card,
.credibility-panel,
.credibility-item,
.brand-logo,
.booking-card,
.credit-card,
.wallet-kpi,
.notification-panel,
.support-card,
.document-card,
.statement-card {
  background: #fff !important;
  border-color: #d8e3eb !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important;
  backdrop-filter: none !important;
}

.quick-action-card,
.credibility-item,
.product-card,
.product,
.data-card,
.soft-action,
.outline-action,
.primary-action,
.primary,
.select-product,
.action-link,
.tab-btn,
.brand-logo {
  transform: none !important;
}

.quick-action-card:hover,
.credibility-item:hover,
.product-card:hover,
.product:hover,
.data-card:hover,
.soft-action:hover,
.outline-action:hover,
.primary-action:hover,
.primary:hover,
.select-product:hover,
.action-link:hover,
.tab-btn:hover,
.brand-logo:hover {
  transform: none !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important;
}

.btb-shell main > section,
.animate-in {
  animation: none !important;
}

.quick-action-card {
  min-height: 142px !important;
  padding: 16px !important;
}

.quick-action-card::before,
.booking-card::before,
.credit-card::before,
.wallet-kpi::before {
  height: 3px !important;
  background: #0b6f92 !important;
}

.quick-action-meta,
.pill,
.status-pill {
  border-radius: 7px !important;
  background: #eef4f8 !important;
}

.hero-media,
.hero-overlay {
  min-height: 180px !important;
}

.hero-overlay {
  background: rgba(10, 35, 51, .72) !important;
}

.hero-overlay::after {
  display: none !important;
}

.tab-btn {
  min-height: 44px !important;
  background: #f7fafc !important;
  border-color: #d8e3eb !important;
  color: #244458 !important;
  box-shadow: none !important;
}

.tab-btn.is-active {
  background: #0b6f92 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.form-field,
.field {
  background: #fff !important;
  border-color: #cfdde7 !important;
  box-shadow: none !important;
}

.form-field:focus,
.field:focus {
  box-shadow: 0 0 0 3px rgba(11, 111, 146, .12) !important;
}

.primary-action,
.primary,
.select-product,
.action-link,
.soft-action.primary,
.quick-action-link {
  background: #0b6f92 !important;
  color: #fff !important;
  box-shadow: none !important;
}

.quick-action-link.secondary,
.soft-action,
.outline-action {
  background: #fff !important;
  border-color: #c9d8e2 !important;
  color: #173247 !important;
  box-shadow: none !important;
}

.table-head {
  background: #eef4f8 !important;
}

.credibility-head {
  background: #f8fbfd !important;
}

.credibility-icon {
  background: #0b6f92 !important;
  box-shadow: none !important;
}

@media (max-width: 720px) {
  .hero-media,
  .hero-overlay {
    min-height: 150px !important;
  }
}

/* Final BTB simplification layer */
body.btb-shell {
  background: #f6f8fb !important;
  color: #172b3a !important;
}

.topbar > .mx-auto {
  max-width: 1500px !important;
}

.topbar img[alt="Anytime Travel"] {
  width: 40px !important;
  height: 40px !important;
  border: 1px solid #d8e3eb !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.topbar .nav-link {
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 9px !important;
}

.topbar a[href="/btb/logout"],
.btb-language-toggle {
  height: 36px !important;
  min-height: 36px !important;
  border-radius: 8px !important;
  padding: 0 12px !important;
}

.btb-main {
  width: 100%;
  max-width: 1500px !important;
  padding-top: 18px !important;
}

.panel,
.data-card,
.product-card,
.quick-action-card,
.credit-card,
.wallet-kpi,
.credibility-panel,
.brand-logo,
.notification-panel,
.support-card,
.document-card,
.statement-card {
  border: 1px solid #d8e3eb !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .06) !important;
}

.hero-media,
.hero-overlay {
  min-height: 160px !important;
}

.hero-overlay {
  background: rgba(12, 41, 59, .68) !important;
}

.hero-overlay h1 {
  font-size: clamp(1.65rem, 2.4vw, 2.35rem) !important;
  line-height: 1.12 !important;
}

.credit-card #creditBalance,
.wallet-kpi p.mt-2 {
  font-size: clamp(1.55rem, 2.1vw, 2.15rem) !important;
  line-height: 1.1 !important;
}

.quick-action-grid {
  gap: 12px !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
}

.quick-action-card {
  min-height: 128px !important;
}

.quick-action-card::before,
.product-card::before,
.wallet-kpi::before,
.credit-card::before {
  height: 3px !important;
  background: #0b6f92 !important;
}

.product-card {
  overflow: hidden;
}

.btb-data-table th,
.btb-data-table td {
  overflow-wrap: anywhere;
}

.btb-mobile-nav {
  gap: 6px !important;
  padding: 8px 12px !important;
}

.btb-mobile-nav a {
  min-height: 34px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
}

@media (max-width: 900px) {
  .btb-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

@media (max-width: 640px) {
  .topbar > .mx-auto {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .topbar > .mx-auto > a[href="/btb/dashboard"] {
    flex-basis: auto !important;
    max-width: 190px;
  }

  .topbar > .mx-auto > .flex.items-center.gap-3 {
    gap: 6px !important;
  }

  .btb-account {
    display: none !important;
  }

  .hero-media,
  .hero-overlay {
    min-height: 138px !important;
  }

  .quick-action-card {
    min-height: 116px !important;
  }
}

/* Final platform density layer */
html {
  font-size: 16px;
}

@media (min-width: 1180px) {
  html {
    font-size: 17px;
  }

  .topbar > .mx-auto,
  .btb-main {
    max-width: 1680px !important;
  }

  .topbar > .mx-auto {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .btb-main {
    padding-left: 24px !important;
    padding-right: 24px !important;
    padding-top: 22px !important;
  }

  .topbar img[alt="Anytime Travel"] {
    width: 44px !important;
    height: 44px !important;
  }

  .topbar .nav-link {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 12px !important;
    font-size: 13.5px !important;
  }

  .topbar a[href="/btb/logout"],
  .btb-language-toggle {
    height: 40px !important;
    min-height: 40px !important;
    padding: 0 15px !important;
    font-size: 13.5px !important;
  }

  .btb-notification-button {
    width: 42px !important;
    height: 42px !important;
  }
}

@media (min-width: 1536px) {
  html {
    font-size: 18px;
  }

  .topbar nav {
    gap: 10px !important;
  }
}

@media (max-width: 720px) {
  .btb-mobile-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 5px !important;
    padding: 7px 10px 9px !important;
  }

  .btb-mobile-nav a {
    min-height: 32px !important;
    padding: 0 6px !important;
    font-size: 11.5px !important;
  }
}

@media (max-width: 360px) {
  .btb-mobile-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 300px) {
  .btb-mobile-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

[dir="rtl"] .portal-pagebar {
  direction: rtl;
}

[dir="rtl"] .portal-pagebar-metrics {
  justify-content: start;
}

@media (max-width: 720px) {
  .portal-pagebar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
  }

  .portal-pagebar h1 {
    font-size: 1.45rem;
  }

  .portal-pagebar-metrics {
    justify-content: stretch;
  }

  .portal-pagebar-metrics > div {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* Premium BTB polish layer: compact operational UI with softer visual hierarchy. */
:root {
  --btb-canvas: #f4f8fb;
  --btb-paper: #ffffff;
  --btb-paper-soft: #f9fcfd;
  --btb-border-soft: #d9e7ee;
  --btb-border-strong: #b9d1de;
  --btb-action: #0b789a;
  --btb-action-dark: #075b78;
  --btb-success: #35b779;
  --btb-warm: #bf8b2e;
  --btb-premium-shadow: 0 14px 34px rgba(16, 49, 67, .09);
  --btb-soft-shadow: 0 6px 18px rgba(16, 49, 67, .06);
}

body.btb-shell {
  background:
    radial-gradient(circle at top left, rgba(11, 120, 154, .08), transparent 32rem),
    linear-gradient(180deg, #fbfdff 0%, var(--btb-canvas) 42%, #f8faf8 100%) !important;
  color: #132b3a !important;
}

body.btb-shell::before {
  display: block !important;
  opacity: .42;
  background-image:
    linear-gradient(rgba(11, 120, 154, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 120, 154, .045) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .68), transparent 62%);
}

.topbar {
  background: rgba(255, 255, 255, .94) !important;
  border-bottom: 1px solid rgba(185, 209, 222, .78) !important;
  box-shadow: 0 10px 28px rgba(16, 49, 67, .08) !important;
  backdrop-filter: blur(18px) !important;
}

.topbar::after {
  display: block !important;
  height: 2px;
  background: linear-gradient(90deg, var(--btb-action), var(--btb-success), var(--btb-warm)) !important;
  animation: none !important;
}

.topbar img[alt="Anytime Travel"] {
  border-color: rgba(185, 209, 222, .78) !important;
  background: #fff !important;
  box-shadow: 0 8px 18px rgba(16, 49, 67, .09) !important;
}

.topbar .nav-link {
  border-radius: 999px !important;
  color: #263f50 !important;
  font-weight: 850 !important;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}

.topbar .nav-link:hover {
  background: #edf6f9 !important;
  color: var(--btb-action-dark) !important;
}

.topbar .nav-link.is-active {
  background: var(--btb-action) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(11, 120, 154, .18) !important;
}

.btb-language-toggle,
.btb-notification-button,
.topbar a[href="/btb/logout"] {
  border-color: rgba(185, 209, 222, .86) !important;
  background: #fff !important;
  color: #173247 !important;
  box-shadow: 0 6px 14px rgba(16, 49, 67, .06) !important;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.btb-language-toggle:hover,
.btb-notification-button:hover,
.topbar a[href="/btb/logout"]:hover {
  border-color: rgba(11, 120, 154, .42) !important;
  background: #f4fbfd !important;
  box-shadow: 0 10px 20px rgba(16, 49, 67, .09) !important;
}

.btb-main {
  max-width: 1560px !important;
}

.panel,
.data-card,
.product-card,
.quick-action-card,
.credibility-panel,
.credibility-item,
.brand-logo,
.booking-card,
.credit-card,
.wallet-kpi,
.notification-panel,
.support-card,
.document-card,
.statement-card {
  border-color: rgba(185, 209, 222, .82) !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(250, 253, 254, .98)) !important;
  box-shadow: var(--btb-soft-shadow) !important;
}

.panel:hover,
.data-card:hover,
.product-card:hover,
.quick-action-card:hover,
.booking-card:hover,
.credit-card:hover,
.wallet-kpi:hover,
.notification-panel:hover,
.support-card:hover,
.document-card:hover,
.statement-card:hover {
  border-color: rgba(11, 120, 154, .34) !important;
  box-shadow: var(--btb-premium-shadow) !important;
}

.portal-pagebar {
  border-bottom-color: rgba(185, 209, 222, .72) !important;
}

.portal-pagebar h1 {
  color: #102a3a !important;
  letter-spacing: 0 !important;
}

.portal-pagebar-metrics > div {
  border: 1px solid rgba(185, 209, 222, .72) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .78) !important;
  box-shadow: 0 8px 18px rgba(16, 49, 67, .05) !important;
}

.section-eyebrow,
.label,
.field-label,
.doc-eyebrow {
  color: var(--btb-action) !important;
  letter-spacing: .11em !important;
}

.flight-search-band {
  background:
    linear-gradient(135deg, #075b78 0%, #1187ad 58%, #38ad79 100%) !important;
  box-shadow: 0 18px 38px rgba(6, 68, 93, .16) !important;
}

.booking-console {
  border: 1px solid rgba(185, 209, 222, .86) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(247, 251, 253, .98)) !important;
  padding: 16px !important;
  box-shadow: var(--btb-soft-shadow) !important;
}

.booking-console-inner {
  display: grid !important;
  gap: 10px !important;
}

.flight-search-band {
  border-bottom: 1px solid rgba(6, 68, 93, .12) !important;
  padding-top: 20px !important;
  padding-bottom: 30px !important;
}

.booking-trip-tabs,
.flight-mode-tabs {
  color: rgba(255, 255, 255, .72) !important;
}

.booking-trip-tabs label:has(input:checked),
.flight-mode-tabs label:has(input:checked) {
  color: #fff !important;
}

.flight-search-grid {
  gap: 1px !important;
  border: 1px solid rgba(255, 255, 255, .28) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .28) !important;
  box-shadow: 0 16px 30px rgba(6, 68, 93, .17) !important;
  overflow: visible !important;
}

.passenger-picker {
  position: relative;
  min-width: 0;
  overflow: visible;
  z-index: 1;
}

.passenger-picker.is-open {
  z-index: 420;
}

.passenger-trigger {
  width: 100%;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 9px;
  cursor: pointer;
  text-align: left;
  appearance: none;
  overflow: hidden;
}

.passenger-trigger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex: 0 0 18px;
  color: #53768c;
  overflow: hidden;
}

.passenger-trigger-icon svg {
  display: block;
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 2 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.passenger-trigger-icon svg * {
  fill: none !important;
  stroke: currentColor !important;
}

.passenger-trigger-summary {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.passenger-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 430;
  width: min(260px, calc(100vw - 32px));
  max-height: var(--passenger-menu-max-height, min(312px, calc(100vh - 24px)));
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #d5e3ed;
  border-radius: 8px;
  background: #fff;
  padding: 10px 12px;
  box-shadow: 0 22px 46px rgba(12, 46, 69, .18);
}

.passenger-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 22px;
  width: 12px;
  height: 12px;
  border-top: 1px solid #d5e3ed;
  border-left: 1px solid #d5e3ed;
  background: #fff;
  transform: rotate(45deg);
}

.passenger-picker.opens-up .passenger-menu {
  top: auto;
  bottom: calc(100% + 8px);
}

.passenger-picker.opens-up .passenger-menu::before {
  top: auto;
  bottom: -7px;
  transform: rotate(225deg);
}

.passenger-picker.align-right .passenger-menu {
  right: 0;
  left: auto;
}

.passenger-picker.align-right .passenger-menu::before {
  right: 22px;
  left: auto;
}

.passenger-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 3px 0;
}

.passenger-row + .passenger-row {
  border-top: 1px solid #edf3f7;
}

.passenger-row strong {
  display: block;
  color: #142d3e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
}

.passenger-row span {
  display: block;
  margin-top: 2px;
  color: #7a8ea0;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.15;
}

.passenger-counter {
  display: inline-grid;
  grid-template-columns: 28px 24px 28px;
  align-items: center;
  gap: 4px;
}

.passenger-step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid #cddde7;
  border-radius: 999px;
  background: #fff;
  color: #426273;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.passenger-step:hover:not(:disabled),
.passenger-step:focus-visible {
  border-color: #087ebd;
  background: #eaf6fd;
  color: #087ebd;
  outline: none;
}

.passenger-step:disabled {
  color: #b7c7d2;
  cursor: not-allowed;
}

.passenger-count {
  text-align: center;
  color: #142d3e;
  font-size: 13px;
  font-weight: 950;
}

.passenger-cabin {
  border-top: 1px solid #edf3f7;
  margin-top: 4px;
  padding-top: 9px;
}

.passenger-cabin .label {
  margin-bottom: 4px;
  color: #4f687a;
  font-size: 11px;
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

.passenger-cabin select {
  width: 100%;
  min-height: 34px;
  height: 34px;
  border: 1px solid #d5e3ed;
  border-radius: 6px;
  background: #fff;
  padding: 0 10px;
  color: #142d3e;
  font-size: 12px;
  font-weight: 850;
}

.flight-passenger-picker .flight-search-cell {
  height: 100%;
  border-right: 1px solid #dbe5ef !important;
}

.booking-console .booking-field .passenger-trigger {
  display: flex !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.flight-passenger-picker .passenger-trigger {
  display: flex !important;
  min-height: 44px !important;
  padding: 0 12px !important;
}

.booking-console .booking-form-label {
  color: var(--btb-action) !important;
}

.booking-console .booking-trip-tabs {
  color: #435f71 !important;
}

.booking-console .booking-trip-tabs label:has(input:checked) {
  color: #102a3a !important;
}

.booking-console .booking-search-grid {
  border: 1px solid rgba(185, 209, 222, .86) !important;
  background: rgba(185, 209, 222, .72) !important;
  box-shadow: 0 12px 24px rgba(16, 49, 67, .07) !important;
  overflow: visible !important;
}

.booking-console .booking-search-grid {
  margin-top: 8px !important;
}

.booking-console .booking-extra-grid {
  grid-template-columns: repeat(2, minmax(180px, 288px)) !important;
  justify-content: start !important;
  margin-top: 10px !important;
}

.booking-console #orderMessage {
  color: #435f71 !important;
  margin-top: 6px !important;
  min-height: 0 !important;
}

.booking-console .form-field,
.booking-extra-grid .form-field,
.flight-search-cell {
  border: 0 !important;
  background: rgba(255, 255, 255, .98) !important;
  color: #102a3a !important;
}

.booking-console .form-field::placeholder,
.flight-search-cell::placeholder {
  color: #7d91a0 !important;
}

.booking-console .form-field:focus,
.flight-search-cell:focus,
.field:focus,
.form-field:focus {
  border-color: transparent !important;
  box-shadow: inset 0 0 0 2px rgba(11, 120, 154, .34), 0 0 0 3px rgba(255, 255, 255, .22) !important;
}

.booking-console .primary-action,
.flight-search-button {
  background: linear-gradient(180deg, #3bdc98, var(--btb-success)) !important;
  color: #fff !important;
  box-shadow: none !important;
}

.booking-console .primary-action:hover,
.flight-search-button:hover,
.fare-action:hover,
.primary-action:hover,
.primary:hover {
  background: linear-gradient(180deg, #2cc585, #229e6a) !important;
}

.booking-console .service-lock-row .tab-btn {
  border-color: rgba(185, 209, 222, .86) !important;
  background: #f4fbfd !important;
  color: #5d7889 !important;
}

.booking-console .service-lock-row .tab-btn.is-active {
  background: #dff4ff !important;
  color: var(--btb-action-dark) !important;
}

.filter-panel {
  border: 1px solid rgba(185, 209, 222, .82) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: var(--btb-soft-shadow) !important;
  padding: 16px !important;
}

.filter-head {
  padding: 0 0 12px !important;
}

.filter-section {
  padding: 16px 0 0 !important;
}

.filter-option {
  border-radius: 6px !important;
  padding: 4px 6px !important;
}

.filter-option:hover {
  background: #f4f9fb !important;
}

.result-summary {
  border: 1px solid rgba(185, 209, 222, .72) !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, .76) !important;
  padding: 14px 16px !important;
  box-shadow: 0 8px 18px rgba(16, 49, 67, .05) !important;
}

.flight-row {
  overflow: hidden !important;
  border-color: rgba(185, 209, 222, .82) !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 6px 18px rgba(16, 49, 67, .06) !important;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.flight-row:hover {
  border-color: rgba(11, 120, 154, .36) !important;
  box-shadow: 0 16px 32px rgba(16, 49, 67, .1) !important;
}

.flight-row-main {
  padding: 20px 22px !important;
}

.airline-logo {
  border-color: rgba(185, 209, 222, .82) !important;
  border-radius: 8px !important;
  background:
    linear-gradient(180deg, #ffffff, #eef8fb) !important;
  color: var(--btb-action) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .8), 0 8px 18px rgba(16, 49, 67, .06) !important;
}

.flight-name,
.result-summary h1 {
  color: #102a3a !important;
}

.flight-code,
.flight-airport {
  color: #0b6f92 !important;
}

.flight-path-line::before {
  background: linear-gradient(90deg, rgba(11, 120, 154, .16), rgba(11, 120, 154, .72)) !important;
}

.flight-path-line::after {
  border-color: var(--btb-action) !important;
}

.fare-price {
  color: #087ebd !important;
}

.fare-action,
.primary-action,
.primary,
.select-product,
.action-link,
.soft-action.primary,
.quick-action-link {
  border-radius: 7px !important;
  background: linear-gradient(180deg, #0f85a9, var(--btb-action)) !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(11, 120, 154, .16) !important;
}

.fare-action {
  width: 100% !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 12px !important;
  text-align: center !important;
  font-size: 13px !important;
  line-height: 1.12 !important;
  white-space: normal !important;
}

.fare-action[hidden],
[data-choose-outbound][hidden],
[data-book-return][hidden] {
  display: none !important;
}

.soft-action,
.outline-action,
.quick-action-link.secondary {
  border-color: rgba(185, 209, 222, .86) !important;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .92) !important;
  color: #173247 !important;
  box-shadow: 0 6px 14px rgba(16, 49, 67, .05) !important;
}

.flight-row-details {
  background: #fbfdfe !important;
}

.fare-breakdown {
  border: 1px solid rgba(217, 231, 238, .82) !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 10px !important;
}

.finance-sheet {
  overflow: hidden !important;
}

.finance-sheet th {
  background: #f5fbfd !important;
  color: var(--btb-action) !important;
}

.finance-sheet td {
  background: #fff !important;
}

.finance-summary-table tbody tr {
  background: #fff !important;
}

.btb-data-table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
}

.btb-data-table th {
  background: #f3f8fb !important;
  color: #4f697b !important;
}

.btb-data-table td {
  background: rgba(255, 255, 255, .98) !important;
}

.btb-data-table tbody tr:hover td {
  background: #f8fcfd !important;
}

.status-pill,
.pill,
.finance-pill,
.quick-action-meta {
  border-radius: 999px !important;
}

.pagination-control,
.pagination-button {
  border-radius: 7px !important;
}

@media (max-width: 900px) {
  .filter-panel {
    position: static !important;
  }

  .result-summary {
    align-items: flex-start !important;
  }

  .flight-row-main {
    padding: 16px !important;
  }

  .btb-responsive-table tbody tr,
  .finance-summary-table tr {
    box-shadow: 0 8px 18px rgba(16, 49, 67, .06) !important;
  }
}

@media (max-width: 640px) {
  .btb-main {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  #booking {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
  }

  .booking-console,
  .flight-search-band {
    box-shadow: 0 12px 26px rgba(6, 68, 93, .13) !important;
  }

  .booking-console,
  .booking-console *,
  .booking-search-grid,
  .booking-search-grid *,
  .booking-extra-grid,
  .booking-extra-grid * {
    box-sizing: border-box !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .booking-console {
    width: 100% !important;
    padding: 14px !important;
    overflow: visible !important;
  }

  .booking-console-inner,
  #btbOrderForm {
    inline-size: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
  }

  .booking-type-row,
  .booking-trip-tabs {
    inline-size: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .booking-console .service-lock-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  .booking-console .service-lock-row .tab-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    border-radius: 8px !important;
    padding: 0 8px !important;
  }

  .booking-search-grid,
  .flight-search-grid {
    inline-size: 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 8px !important;
  }

  .booking-extra-grid,
  #flightOptions {
    inline-size: 100% !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    justify-content: stretch !important;
  }

  .booking-console .form-field,
  .flight-search-cell {
    border-bottom: 1px solid #edf3f7 !important;
  }

  .passenger-menu {
    position: absolute;
    right: 0;
    left: auto;
    width: min(260px, calc(100vw - 24px));
    max-height: var(--passenger-menu-max-height, min(306px, calc(100vh - 24px)));
  }

  .passenger-menu::before {
    left: auto;
    right: 22px;
  }

  .booking-console input[type="date"].form-field {
    padding-right: 10px !important;
  }

  [dir="rtl"] .booking-console input[type="date"].form-field {
    padding-left: 10px !important;
    padding-right: 0 !important;
  }

  .flight-search-button,
  .booking-console .primary-action {
    border-radius: 0 !important;
  }
}
