﻿body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f2f4f7;
  color: #111827;
}

.hidden { display: none !important; }



/* Premium login page */
.login-view {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.14), transparent 24%),
    linear-gradient(135deg, #eef2ff 0%, #eff6ff 42%, #f8fafc 100%);
}

.login-shell {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: minmax(320px, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: stretch;
}

.login-side {
  color: #0f172a;
  padding: 34px 18px 34px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-side h1 {
  margin: 0 0 12px;
  font-size: 44px;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #081f4d;
}

.login-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #475569;
  max-width: 560px;
}

.login-brand-badge,
.login-mini-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.login-brand-badge {
  margin-bottom: 16px;
  padding: 8px 14px;
  background: rgba(11, 92, 173, 0.08);
  color: #0b5cad;
  border: 1px solid rgba(11, 92, 173, 0.15);
  font-size: 12px;
}

.login-mini-badge {
  padding: 6px 11px;
  background: linear-gradient(180deg, #eff6ff, #dbeafe);
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-size: 11px;
  margin-bottom: 14px;
}

.login-highlights {
  margin-top: 28px;
  display: grid;
  gap: 14px;
}

.login-highlight {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.22);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(8px);
}

.login-highlight strong {
  display: block;
  font-size: 14px;
  color: #0f172a;
  margin-bottom: 3px;
}

.login-highlight small {
  display: block;
  color: #64748b;
  line-height: 1.5;
  font-size: 12px;
}

.login-highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0b5cad, #0a4a89);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 10px 22px rgba(11, 92, 173, 0.28);
}

.premium-login-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  border-radius: 26px;
  padding: 26px;
  border: 1px solid rgba(203, 213, 225, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 26px 60px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
}

.login-card-head {
  margin-bottom: 14px;
}

.login-card-title-wrap h2 {
  margin: 0 0 8px;
  font-size: 33px;
  line-height: 1.1;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.login-card-title-wrap p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #64748b;
}

.login-form {
  margin-top: 18px;
}

.login-card label {
  margin-top: 14px;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.01em;
}

.login-card input {
  height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  font-size: 14px;
  font-family: Arial, sans-serif;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.login-card input:focus {
  outline: none;
  border-color: #60a5fa;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.14);
}

.login-primary-btn {
  margin-top: 18px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(180deg, #1567ba, #0b5cad);
  color: #ffffff;
  font-size: 15px;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 30px rgba(11, 92, 173, 0.25);
}

.login-primary-btn:hover {
  filter: none;
  background: linear-gradient(180deg, #0f5cab, #094986);
}

.login-footer-note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

.login-card .status {
  min-height: 20px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .login-shell {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .login-side {
    padding: 8px 4px 0;
  }

  .premium-login-card {
    justify-self: center;
    max-width: 540px;
  }
}

@media (max-width: 640px) {
  .login-view {
    padding: 16px;
  }

  .login-side h1 {
    font-size: 34px;
  }

  .premium-login-card {
    padding: 20px;
    border-radius: 22px;
  }

  .login-card-title-wrap h2 {
    font-size: 28px;
  }

  .login-highlight {
    grid-template-columns: 34px 1fr;
    padding: 13px;
  }

  .login-highlight-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    font-size: 14px;
  }
}

label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin: 8px 0 4px;
}

input, textarea, select, button {
  box-sizing: border-box;
  width: 100%;
  font-size: 12px;
  padding: 7px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-family: Consolas, "Courier New", monospace;
  background: #fff;
}

textarea { resize: vertical; }

button {
  background: #0b5cad;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 800;
}

button:hover { filter: brightness(.92); }

.secondary { background: #64748b; width: auto; }

.danger { background: #b00020; }

.status {
  margin-top: 10px;
  color: #b00020;
  font-size: 12px;
}

.topbar {
  height: 44px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-bottom: 1px solid #d7dee9;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.pill {
  background: #e2e8f0;
  color: #334155;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.link-pill.linked {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.link-pill.not-linked {
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fdba74;
}

.nav-pill.running {
  background: #dbeafe;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.nav-pill.stopped {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.nav-pill.done {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #86efac;
}

.pnr-pill {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.app-layout {
  display: grid;
  grid-template-columns: minmax(0, 45fr) minmax(350px, 35fr) minmax(280px, 20fr);
  gap: 8px;
  height: calc(100vh - 60px);
  padding: 8px;
}

.section {
  background: #fff;
  border: 1px solid #d7dee9;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .04);
}

.section-header {
  font-size: 13px;
  font-weight: 900;
  color: #0b5cad;
  margin: -8px -8px 8px;
  padding: 9px 10px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
  border-bottom: 1px solid #e5e7eb;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-btn {
  width: auto;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11px;
}

.terminal-column,
.fare-column {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#output {
  flex: 1;
  resize: none;
  background: #000000;
  color: #00ff00;
  border-color: #003d00;
  border-radius: 8px 8px 0 0;
  font-family: Consolas, "Courier New", monospace;
  font-size: 14px;
  line-height: 1.35;
  min-height: 0;
}

.terminal-input-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  background: #000000;
  color: #00ff00;
  border: 1px solid #003d00;
  border-top: 0;
  border-radius: 0 0 8px 8px;
  align-items: center;
}

.terminal-input-row span {
  text-align: center;
  font-weight: 900;
}

#generalCommand {
  background: #000000;
  color: #00ff00;
  border: 0;
  outline: 0;
  font-size: 14px;
}

#generalCommand::placeholder {
  color: #70c970;
}

.terminal-hint {
  margin-top: 5px;
  font-size: 11px;
  color: #64748b;
}

.fare-toolbar {
  display: grid;
  grid-template-columns: 1fr 130px 140px;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}

.fare-filter {
  height: 30px;
  font-family: Arial, sans-serif;
  font-weight: 700;
}

#fareSummaryMeta {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fare-cards {
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  padding-right: 2px;
}

.fare-cards.empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  text-align: center;
}

.fare-card,
.tn-card {
  border: 1px solid #d7dee9;
  border-radius: 12px;
  margin-bottom: 8px;
  padding: 9px 10px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .04);
}

.fare-card-head,
.tn-card-head {
  display: grid;
  grid-template-columns: 1fr 30px auto;
  gap: 6px;
  align-items: start;
}

.fare-route,
.tn-route {
  font-weight: 900;
  font-size: 13px;
}

.fare-price {
  color: #2563eb;
  font-weight: 900;
  font-size: 14px;
  text-align: right;
}

.fare-subprice {
  color: #64748b;
  font-size: 10px;
  text-align: right;
  line-height: 1.25;
}

.fare-cashback {
  color: #15803d;
  font-size: 10px;
  font-weight: 800;
  text-align: right;
}

.fare-copy-btn {
  height: 29px;
  padding: 0;
  background: #f8fbff;
  color: #2563eb;
  border: 2px solid #9dbbf7;
}

.fare-line,
.tn-line {
  display: grid;
  grid-template-columns: 76px 52px max-content 1fr;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed #d5dfec;
  font-size: 11px;
}

.fare-line:last-child,
.tn-line:last-child {
  border-bottom: 0;
}

.fare-sector,
.tn-sector {
  font-weight: 900;
}

.fare-footer {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #d7dee9;
  display: grid;
  grid-template-columns: 1fr 1fr 82px;
  gap: 6px;
  align-items: center;
  font-size: 11px;
}

.fare-detail-row {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #475569;
  margin: 6px 0;
}

.badge {
  background: #eef2ff;
  color: #3730a3;
  border-radius: 999px;
  padding: 3px 7px;
  font-weight: 800;
}

.tn-card {
  border-left: 4px solid #0b5cad;
}

.tn-meta {
  color: #475569;
  font-size: 11px;
  line-height: 1.35;
  margin-top: 5px;
}

.tn-duration {
  color: #2563eb;
  font-weight: 900;
  text-align: right;
}

.tn-via {
  color: #0f766e;
  font-weight: 800;
  font-size: 11px;
  text-align: right;
}

.side-column {
  overflow-y: auto;
  min-height: 0;
  padding-right: 2px;
}

.side-column .section {
  margin-bottom: 8px;
}

.availability-section {
  max-height: calc(100vh - 84px);
  overflow-y: auto;
}

.compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  align-items: end;
}

.command-hint {
  margin-top: 4px;
  padding: 5px 7px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  font-size: 11px;
  color: #475569;
  font-family: Consolas, monospace;
}

.checkline {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  margin-top: 9px;
}

.checkline input {
  width: auto;
}

.buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-top: 10px;
}
#log {
  height: 120px;
  resize: none;
  background: #111827;
  color: #e5e7eb;
}

.pnr-box {
  margin-top: 8px;
  background: #e9fff0;
  color: #07551f;
  border: 1px solid #71c48c;
  border-radius: 8px;
  padding: 8px;
  font-size: 12px;
}

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

  body {
    overflow: auto;
  }

  #output {
    min-height: 420px;
  }

  .side-column,
  .availability-section {
    overflow: visible;
    max-height: none;
  }
}


.tn-no-copy {
  grid-template-columns: 1fr auto;
}



.side-column #paxNames {
  min-height: 140px;
}



/* v20 selected login content cleanup */
.premium-login-card .login-card-title-wrap h2 {
  margin-top: 4px;
}

.premium-login-card {
  padding-bottom: 30px;
}


/* v22 PNR passenger batch status */
.pax-summary,
.created-pax-summary {
  margin-top: 8px;
  border-radius: 10px;
  border: 1px solid #d7dee9;
  background: #f8fafc;
  padding: 8px;
  font-size: 11px;
  line-height: 1.45;
  color: #334155;
  max-height: 150px;
  overflow-y: auto;
}
.pax-summary-title,
.created-pax-title {
  font-weight: 900;
  color: #0b5cad;
  margin-bottom: 5px;
}
.pax-line,
.created-pax-line {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px dashed #e2e8f0;
}
.pax-line:last-child,
.created-pax-line:last-child { border-bottom: 0; }
.pax-sn { font-weight: 900; color: #64748b; }
.created-pax-summary {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.created-pax-title { color: #047857; }
.batch-note {
  margin-top: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  font-weight: 800;
}


/* Multi-Date Availability Patch v37 */
.mini-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 10px 0 8px;
  font-weight: 800;
  color: #e6edf7;
}
.multi-date-panel,
.multi-pax-panel {
  margin-top: 10px;
}
.multi-date-rows,
.multi-pax-rows {
  display: grid;
  gap: 10px;
}
.multi-date-row,
.multi-pax-row {
  border: 1px solid rgba(148, 163, 184, 0.32);
  background: rgba(15, 23, 42, 0.35);
  border-radius: 14px;
  padding: 10px;
}
.multi-date-row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.multi-date-title {
  color: #93c5fd;
  font-size: 12px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.multi-row-fields {
  margin-top: 8px;
}
.multi-pax-summary {
  margin-top: 6px;
  font-size: 12px;
  color: #94a3b8;
}
.multiPaxNames {
  min-height: 96px;
}


/* Patch v37 compact multi-date UI */
.multi-date-panel {
  margin-top: 8px;
}
.multi-date-rows {
  gap: 6px;
}
.multi-date-row {
  padding: 7px 8px;
  border-radius: 10px;
}
.compact-row-head {
  margin-bottom: 5px;
}
.multi-date-title {
  font-size: 11px;
}
.multi-date-inline {
  display: grid;
  grid-template-columns: minmax(145px, 1fr) 46px 58px;
  gap: 6px;
  align-items: end;
}
.multi-date-inline .multi-field label {
  display: block;
  margin: 0 0 3px;
  font-size: 10px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #94a3b8;
}
.multi-date-inline input {
  width: 100%;
  height: 34px;
  min-height: 34px;
  padding: 6px 7px;
  font-size: 12px;
  border-radius: 8px;
}
.multi-date-inline .multiRbd {
  text-align: center;
  font-weight: 800;
}
.multi-date-inline .multiSeats {
  text-align: center;
}
.multi-date-inline .maxfare-field {
  grid-column: span 2;
}
.multi-date-inline .maxfare-field input {
  text-align: right;
}
.multi-date-row .remove-multi-date {
  min-width: 28px;
  width: 28px;
  height: 26px;
  padding: 0;
  border-radius: 8px;
}
.multi-pax-rows {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}
.multi-pax-row {
  padding: 7px 8px;
  border-radius: 10px;
}
.multi-pax-row label {
  margin: 0 0 4px;
  font-size: 11px;
}
.multiPaxNames {
  min-height: 62px;
  height: 62px;
  font-size: 12px;
  padding: 7px;
}
.multi-pax-summary {
  margin-top: 4px;
  font-size: 11px;
}
.mini-section-head {
  margin: 7px 0 6px;
}
.multi-date-panel .terminal-hint,
.multi-pax-panel .terminal-hint {
  font-size: 11px;
  line-height: 1.25;
  margin-top: 5px;
}
@media (min-width: 1280px) {
  .multi-pax-rows {
    grid-template-columns: 1fr 1fr;
  }
}


/* Patch v38 - cleaner compact multi-date rows */
.multi-date-panel {
  margin-top: 6px !important;
}
.multi-date-panel .mini-section-head,
.multi-pax-panel .mini-section-head {
  margin: 5px 0 5px !important;
  color: #0f172a !important;
}
.multi-date-panel .mini-section-head span,
.multi-pax-panel .mini-section-head span {
  font-size: 13px !important;
  color: #0b5cad !important;
}
.multi-date-rows {
  gap: 5px !important;
}
.multi-date-row {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 6px !important;
  color: #0f172a !important;
  overflow: visible !important;
}
.multi-date-line {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 42px 58px 26px !important;
  gap: 5px !important;
  align-items: center !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: 42px minmax(0, 1fr) 70px 58px 26px !important;
}
.compact-date-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 30px !important;
  min-width: 42px !important;
  padding: 0 5px !important;
  border-radius: 8px !important;
  background: #e0f2fe !important;
  color: #075985 !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}
.multi-date-line input {
  width: 100% !important;
  min-width: 0 !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 5px 7px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  color: #0f172a !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
.multi-date-line .multiCommand {
  font-size: 11.5px !important;
  letter-spacing: -0.2px !important;
}
.multi-date-line .multiRbd,
.multi-date-line .multiSeats {
  text-align: center !important;
  font-weight: 800 !important;
}
.multi-date-line .multiMaxFare {
  text-align: right !important;
}
.multi-date-row .remove-multi-date {
  width: 26px !important;
  min-width: 26px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: static !important;
  transform: none !important;
}
.multi-date-panel .terminal-hint,
.multi-pax-panel .terminal-hint {
  font-size: 11px !important;
  line-height: 1.2 !important;
  margin-top: 4px !important;
  color: #475569 !important;
}
.multi-pax-panel {
  margin-top: 6px !important;
}
.multi-pax-rows {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 6px !important;
}
.multi-pax-row {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 6px !important;
  color: #0f172a !important;
}
.multi-pax-head {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 6px !important;
  margin-bottom: 4px !important;
}
.multi-pax-head strong {
  font-size: 11px !important;
  color: #075985 !important;
}
.multi-pax-head span {
  font-size: 10px !important;
  color: #64748b !important;
  white-space: nowrap !important;
}
.multiPaxNames {
  min-height: 46px !important;
  height: 46px !important;
  padding: 6px !important;
  border-radius: 8px !important;
  font-size: 12px !important;
  background: #ffffff !important;
  color: #0f172a !important;
}
.multi-pax-summary {
  margin-top: 3px !important;
  font-size: 10.5px !important;
  color: #64748b !important;
}
#multiDateRows,
#multiPaxRows {
  max-height: none !important;
  overflow: visible !important;
}


/* Patch v39 - 45/30/25 layout, cleaner multi-date UI, IG only with PNR */
.app-layout {
  grid-template-columns: minmax(0, 45fr) minmax(260px, 30fr) minmax(300px, 25fr) !important;
  gap: 7px !important;
  padding: 7px !important;
}
.fare-column.section,
.side-column .section {
  padding: 7px !important;
}
.fare-column .section-header,
.side-column .section-header {
  margin: -7px -7px 7px !important;
  padding: 7px 9px !important;
  font-size: 12px !important;
}
.fare-toolbar {
  grid-template-columns: minmax(0, 1fr) 92px 104px !important;
  gap: 5px !important;
  margin-bottom: 5px !important;
}
.fare-filter {
  height: 26px !important;
  font-size: 11px !important;
}
#fareSummaryMeta {
  font-size: 10.5px !important;
}
.fare-card,
.tn-card {
  padding: 6px 7px !important;
  margin-bottom: 5px !important;
  border-radius: 9px !important;
}
.fare-card-head,
.tn-card-head {
  grid-template-columns: minmax(0, 1fr) 24px auto !important;
  gap: 5px !important;
}
.fare-route,
.tn-route {
  font-size: 11.2px !important;
  line-height: 1.2 !important;
}
.fare-price {
  font-size: 12px !important;
}
.fare-subprice,
.fare-cashback {
  font-size: 9px !important;
}
.fare-copy-btn {
  height: 24px !important;
  min-height: 24px !important;
  font-size: 11px !important;
}
.fare-line,
.tn-line {
  grid-template-columns: 58px 38px max-content 1fr !important;
  gap: 5px !important;
  padding: 3px 0 !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
}
.fare-bag,
.fare-rule {
  font-size: 9.5px !important;
}
.availability-section {
  max-height: none !important;
  overflow-y: visible !important;
}
.side-column label {
  font-size: 11.5px !important;
  margin-bottom: 3px !important;
}
.side-column input,
.side-column select {
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
  border-radius: 9px !important;
}
.side-column .compact-grid {
  gap: 5px !important;
}
.side-column .checkline {
  margin-top: 7px !important;
  font-size: 11.5px !important;
}
.buttons {
  gap: 5px !important;
  margin-top: 8px !important;
}
.buttons button {
  height: 34px !important;
  min-height: 34px !important;
  padding: 6px 8px !important;
  font-size: 11.5px !important;
}
.multi-date-panel .mini-section-head {
  margin: 4px 0 4px !important;
}
.multi-date-panel .mini-section-head span {
  font-size: 12px !important;
}
#addMultiDateRow {
  height: 26px !important;
  min-height: 26px !important;
  padding: 3px 10px !important;
  font-size: 11px !important;
}
.multi-date-row {
  padding: 5px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  overflow: visible !important;
}
.multi-date-rows {
  gap: 4px !important;
}
.multi-date-line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 44px 54px 24px !important;
  gap: 5px !important;
  align-items: center !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: minmax(0, 1fr) 72px 54px 24px !important;
}
.multi-date-line input {
  height: 30px !important;
  min-height: 30px !important;
  padding: 5px 7px !important;
  font-size: 11.5px !important;
  border-radius: 8px !important;
}
.multi-date-line .multiCommand {
  font-size: 11px !important;
  letter-spacing: -0.35px !important;
}
.multi-date-line .multiRbd,
.multi-date-line .multiSeats {
  text-align: center !important;
  font-weight: 900 !important;
}
.multi-date-line .remove-multi-date {
  width: 24px !important;
  min-width: 24px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  font-size: 15px !important;
  border-radius: 8px !important;
}
.compact-date-badge,
.multi-date-title {
  display: none !important;
}
.multi-date-panel .terminal-hint {
  font-size: 10.5px !important;
  margin-top: 4px !important;
}
.multi-pax-panel .mini-section-head {
  margin: 4px 0 5px !important;
}
.multi-pax-rows {
  gap: 5px !important;
}
.multi-pax-row {
  padding: 6px !important;
  border-radius: 9px !important;
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
.multi-pax-head {
  margin-bottom: 4px !important;
}
.multi-pax-head strong {
  font-size: 11px !important;
}
.multi-pax-head span {
  font-size: 10px !important;
}
.multiPaxNames {
  height: 92px !important;
  min-height: 92px !important;
  padding: 7px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}
#log {
  height: 92px !important;
}


/* Patch v40 - iOS style enable/disable switches */
.toggle-source {
  display: none !important;
}
.ios-switch-row {
  height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  width: 100%;
}
.ios-switch-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.ios-switch {
  width: 54px;
  height: 28px;
  border-radius: 999px;
  background: #111827;
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25), 0 1px 2px rgba(15,23,42,.12);
  transition: background .18s ease, box-shadow .18s ease;
}
.ios-knob {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 2px;
  left: 2px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(15,23,42,.35);
  transition: transform .18s ease;
}
.ios-switch-input:checked + .ios-switch {
  background: #16d65f;
}
.ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(26px);
}
.ios-switch-text {
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}
.ios-switch.mini {
  width: 44px;
  height: 24px;
}
.ios-switch.mini .ios-knob {
  width: 20px;
  height: 20px;
}
.ios-switch-input:checked + .ios-switch.mini .ios-knob {
  transform: translateX(20px);
}
.switch-checkline {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 900;
  color: #0f172a;
  cursor: pointer;
  user-select: none;
}
.switch-checkline span:last-child {
  line-height: 1.15;
}
.side-column .ios-switch-row {
  margin-top: 0;
}
.side-column .compact-grid .ios-switch-row {
  margin-bottom: 0;
}


/* Patch v41 - 45/33/22 layout + compact availability + hidden waitlist */
.app-layout {
  grid-template-columns: minmax(0, 45fr) minmax(280px, 33fr) minmax(285px, 22fr) !important;
  gap: 6px !important;
  padding: 6px !important;
}
.hardcoded-hidden {
  display: none !important;
}
.availability-section {
  max-height: none !important;
  overflow-y: visible !important;
  padding: 6px !important;
}
.availability-section .section-header {
  margin: -6px -6px 6px !important;
  padding: 6px 8px !important;
  font-size: 12px !important;
}
.availability-section label {
  margin: 3px 0 3px !important;
  font-size: 11px !important;
  line-height: 1.1 !important;
}
.availability-section .compact-grid {
  gap: 4px !important;
  margin-bottom: 4px !important;
}
.availability-section input,
.availability-section select {
  height: 30px !important;
  min-height: 30px !important;
  padding: 5px 7px !important;
  font-size: 11.5px !important;
  border-radius: 8px !important;
}
.availability-section .ios-switch-row {
  height: 30px !important;
  min-height: 30px !important;
}
.availability-section .ios-switch {
  width: 48px !important;
  height: 25px !important;
}
.availability-section .ios-switch .ios-knob {
  width: 21px !important;
  height: 21px !important;
}
.availability-section .ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(23px) !important;
}
.availability-section .ios-switch-text {
  font-size: 11px !important;
}
.multi-date-panel {
  margin-top: 4px !important;
}
.multi-date-panel .mini-section-head {
  margin: 2px 0 3px !important;
}
#addMultiDateRow {
  height: 24px !important;
  min-height: 24px !important;
  padding: 2px 9px !important;
}
.multi-date-rows {
  gap: 3px !important;
}
.multi-date-row {
  padding: 4px !important;
  border-radius: 8px !important;
}
.multi-date-line {
  grid-template-columns: minmax(0, 1fr) 42px 50px 22px !important;
  gap: 4px !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: minmax(0, 1fr) 68px 50px 22px !important;
}
.multi-date-line input {
  height: 28px !important;
  min-height: 28px !important;
  padding: 4px 6px !important;
  font-size: 11px !important;
}
.multi-date-line .remove-multi-date {
  width: 22px !important;
  min-width: 22px !important;
  height: 28px !important;
  min-height: 28px !important;
}
.multi-date-panel .terminal-hint {
  font-size: 10px !important;
  margin-top: 3px !important;
}
.buttons {
  gap: 4px !important;
  margin-top: 6px !important;
}
.buttons button {
  height: 31px !important;
  min-height: 31px !important;
  padding: 5px 7px !important;
  font-size: 11px !important;
}
.side-column .section {
  margin-bottom: 6px !important;
}
#log {
  height: 80px !important;
}


/* Patch v42 - premium compact toggle UI + 45/33/22 */
.app-layout {
  grid-template-columns: minmax(0, 45fr) minmax(300px, 33fr) minmax(275px, 22fr) !important;
  gap: 6px !important;
  padding: 6px !important;
}
.availability-section {
  padding: 6px !important;
  border-radius: 12px !important;
}
.availability-section .section-header {
  padding: 6px 8px !important;
  margin: -6px -6px 6px !important;
  font-size: 12px !important;
}
.availability-section > label,
.availability-section .toggle-name {
  font-size: 10.8px !important;
  margin: 2px 0 3px !important;
  color: #0f172a !important;
}
.availability-section input,
.availability-section select {
  height: 29px !important;
  min-height: 29px !important;
  padding: 4px 7px !important;
  font-size: 11.2px !important;
  border-radius: 8px !important;
}
.toggle-source {
  display: none !important;
}
.ios-switch-row {
  height: 26px !important;
  min-height: 26px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  cursor: pointer !important;
}
.ios-switch {
  width: 42px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: #111827 !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.25), 0 1px 2px rgba(15,23,42,.16) !important;
}
.ios-knob {
  width: 18px !important;
  height: 18px !important;
  top: 2px !important;
  left: 2px !important;
}
.ios-switch-input:checked + .ios-switch {
  background: #12d65d !important;
}
.ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(20px) !important;
}
.ios-switch-text {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
}
.compact-grid {
  gap: 4px !important;
}
#singleCommandPanel {
  margin-top: 2px !important;
}
#rbdBox {
  grid-template-columns: 1fr 1fr !important;
  gap: 4px !important;
}
#rbdBox > div {
  min-width: 0 !important;
}
#rbdBox .ios-switch-row {
  justify-content: flex-start !important;
}
#multiDatePanel .terminal-hint {
  display: none !important;
}
.multi-date-panel {
  margin-top: 4px !important;
}
.multi-date-panel .mini-section-head {
  margin: 2px 0 3px !important;
}
.multi-date-panel .mini-section-head span {
  font-size: 11.5px !important;
  color: #0b5cad !important;
}
#addMultiDateRow {
  height: 23px !important;
  min-height: 23px !important;
  padding: 2px 8px !important;
  font-size: 10.5px !important;
}
.multi-date-rows {
  gap: 3px !important;
}
.multi-date-row {
  background: #ffffff !important;
  border: 1px solid #d5deea !important;
  border-radius: 9px !important;
  padding: 4px !important;
  box-shadow: 0 2px 5px rgba(15,23,42,.04) !important;
}
.multi-date-line {
  grid-template-columns: minmax(0, 1fr) 41px 49px 22px !important;
  gap: 4px !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: minmax(0, 1fr) 68px 49px 22px !important;
}
.multi-date-line input {
  height: 28px !important;
  min-height: 28px !important;
  padding: 4px 6px !important;
  font-size: 10.8px !important;
  border-radius: 8px !important;
}
.multi-date-line .multiCommand {
  font-size: 10.8px !important;
  letter-spacing: -0.45px !important;
}
.multi-date-line .multiRbd,
.multi-date-line .multiSeats {
  text-align: center !important;
  font-weight: 900 !important;
}
.multi-date-line .remove-multi-date {
  width: 22px !important;
  min-width: 22px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  border-radius: 8px !important;
  font-size: 14px !important;
}
.buttons {
  gap: 4px !important;
  margin-top: 6px !important;
}
.buttons button {
  height: 31px !important;
  min-height: 31px !important;
  padding: 5px 7px !important;
  font-size: 10.8px !important;
  border-radius: 9px !important;
}
.multi-pax-panel {
  margin-top: 4px !important;
}
.multi-pax-panel .terminal-hint {
  display: none !important;
}
.multi-pax-rows {
  gap: 5px !important;
}
.multi-pax-row {
  background: #ffffff !important;
  border: 1px solid #d5deea !important;
  border-radius: 10px !important;
  padding: 7px !important;
}
.multi-pax-head strong {
  font-size: 11px !important;
}
.multi-pax-head span {
  font-size: 10px !important;
}
.multiPaxNames {
  height: 98px !important;
  min-height: 98px !important;
  line-height: 1.35 !important;
  font-size: 12px !important;
  border-radius: 8px !important;
}
.fare-column {
  min-width: 0 !important;
}
.fare-card,
.tn-card {
  padding: 6px 7px !important;
  margin-bottom: 5px !important;
}
.fare-route,
.tn-route {
  font-size: 11px !important;
}
.fare-price {
  font-size: 12px !important;
}
.fare-line,
.tn-line {
  font-size: 10.3px !important;
}


/* Patch v43 - plus-date premium command UI */
.top-control-line {
  display: grid !important;
  grid-template-columns: minmax(90px, 135px) !important;
  margin-bottom: 4px !important;
}
.command-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin: 3px 0 4px !important;
}
.command-title-row label {
  margin: 0 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #0b5cad !important;
}
.add-date-btn {
  height: 23px !important;
  min-height: 23px !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  font-size: 10.5px !important;
  font-weight: 900 !important;
}
.command-panel {
  margin-top: 2px !important;
}
.single-rbd-row {
  display: grid !important;
  grid-template-columns: 54px minmax(78px, 1fr) 86px !important;
  gap: 5px !important;
  align-items: end !important;
  margin-top: 5px !important;
}
.single-rbd-row > div {
  min-width: 0 !important;
}
.toggle-inline-block,
.pnr-toggle-line {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.toggle-inline-block {
  height: 29px !important;
  align-self: end !important;
}
.pnr-toggle-line {
  margin: 7px 0 4px !important;
  height: 28px !important;
}
.toggle-inline-name {
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  white-space: nowrap !important;
}
.compact-switch-row {
  width: auto !important;
}
.ios-switch {
  width: 34px !important;
  height: 18px !important;
}
.ios-knob {
  width: 14px !important;
  height: 14px !important;
  top: 2px !important;
  left: 2px !important;
}
.ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(16px) !important;
}
.ios-switch-text {
  display: none !important;
}
.availability-section input,
.availability-section select {
  height: 28px !important;
  min-height: 28px !important;
  padding: 4px 7px !important;
  font-size: 11px !important;
}
#availabilityCommand {
  font-size: 11.5px !important;
}
#multiDatePanel {
  margin-top: 2px !important;
}
.multi-date-rows {
  gap: 4px !important;
}
.multi-date-row {
  padding: 4px !important;
  border-radius: 9px !important;
  background: #ffffff !important;
  border: 1px solid #d5deea !important;
}
.multi-date-line {
  grid-template-columns: minmax(0, 1fr) 42px 50px 22px !important;
  gap: 4px !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: minmax(0, 1fr) 68px 50px 22px !important;
}
.multi-date-line input {
  height: 28px !important;
  min-height: 28px !important;
  padding: 4px 6px !important;
  font-size: 10.7px !important;
  border-radius: 8px !important;
}
.multi-date-line .multiCommand {
  font-size: 10.7px !important;
  letter-spacing: -0.45px !important;
}
.multi-date-line .remove-multi-date {
  width: 22px !important;
  min-width: 22px !important;
  height: 28px !important;
  min-height: 28px !important;
  border-radius: 8px !important;
  padding: 0 !important;
}
.multi-pax-panel .terminal-hint,
#multiDatePanel .terminal-hint {
  display: none !important;
}
.multiPaxNames {
  height: 102px !important;
  min-height: 102px !important;
}
#paxNames {
  min-height: 132px !important;
}


/* Patch v44 - labelled pill toggle style like requested image */
.toggle-inline-block,
.pnr-toggle-line {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) !important;
  border: 1px solid #aeb8c7 !important;
  border-radius: 999px !important;
  box-shadow: 0 7px 16px rgba(15, 23, 42, .08), inset 0 1px 0 rgba(255,255,255,.9) !important;
  display: grid !important;
  grid-template-columns: 1fr 1px 44px !important;
  align-items: center !important;
  gap: 7px !important;
  padding: 4px 6px 4px 10px !important;
  min-height: 34px !important;
  height: 34px !important;
}
.toggle-inline-block {
  width: 112px !important;
  justify-self: end !important;
}
.pnr-toggle-line {
  width: 132px !important;
  margin: 7px 0 5px !important;
}
.toggle-inline-name {
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
  color: #020617 !important;
  text-transform: uppercase !important;
  line-height: 1 !important;
}
.toggle-divider {
  display: block !important;
  width: 1px !important;
  height: 22px !important;
  background: #aeb8c7 !important;
  opacity: .95 !important;
}
.compact-switch-row,
.ios-switch-row {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
  gap: 0 !important;
}
.ios-switch {
  width: 38px !important;
  height: 22px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #d9dee7, #cbd2dc) !important;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.18), 0 2px 5px rgba(15,23,42,.16) !important;
}
.ios-knob {
  width: 20px !important;
  height: 20px !important;
  top: 1px !important;
  left: 1px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 7px rgba(15,23,42,.35) !important;
}
.ios-switch-input:checked + .ios-switch {
  background: linear-gradient(180deg, #19d968, #10c95c) !important;
  box-shadow: inset 0 1px 2px rgba(6,95,70,.25), 0 3px 8px rgba(22, 214, 95, .32) !important;
}
.ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(16px) !important;
}
.ios-switch-text {
  display: none !important;
}
.single-rbd-row {
  grid-template-columns: 48px minmax(72px, 1fr) 116px !important;
  gap: 5px !important;
}
#rbdBox .toggle-inline-block {
  align-self: end !important;
}
.pnr-toggle-line + .hardcoded-hidden,
.pnr-toggle-line ~ .hardcoded-hidden {
  display: none !important;
}
@media (max-width: 1180px) {
  .toggle-inline-block {
    width: 112px !important;
  }
  .pnr-toggle-line {
    width: 132px !important;
  }
}


/* Patch v45 - PNR and LOWER same-line compact cards */
.single-rbd-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin-top: 5px !important;
  align-items: end !important;
}
.single-rbd-row > div {
  min-width: 0 !important;
}
.single-rbd-row input {
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 9px !important;
}
.pnr-toggle-line,
.toggle-inline-block {
  display: none !important;
}
.pnr-lower-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 6px !important;
  margin: 7px 0 6px !important;
  align-items: center !important;
}
.small-toggle-card {
  height: 32px !important;
  min-height: 32px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 1px 38px !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 3px 6px 3px 9px !important;
  border-radius: 9px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 6px rgba(15,23,42,.05) !important;
}
.small-toggle-card .toggle-inline-name {
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
.small-toggle-card .toggle-divider {
  display: block !important;
  height: 20px !important;
  width: 1px !important;
  background: #cbd5e1 !important;
}
.small-toggle-card .ios-switch-row,
.small-toggle-card .compact-switch-row {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  justify-content: center !important;
}
.small-toggle-card .ios-switch {
  width: 34px !important;
  height: 18px !important;
  background: linear-gradient(180deg, #d9dee7, #cbd2dc) !important;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.15), 0 1px 4px rgba(15,23,42,.12) !important;
}
.small-toggle-card .ios-knob {
  width: 16px !important;
  height: 16px !important;
  top: 1px !important;
  left: 1px !important;
}
.small-toggle-card .ios-switch-input:checked + .ios-switch {
  background: linear-gradient(180deg, #18db69, #10c95c) !important;
}
.small-toggle-card .ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(16px) !important;
}
.small-toggle-card .ios-switch-text {
  display: none !important;
}
.availability-section.multi-date-active .lower-toggle-card {
  display: none !important;
}
.availability-section.multi-date-active .pnr-lower-row {
  grid-template-columns: 1fr !important;
}
.availability-section.multi-date-active .pnr-toggle-card {
  max-width: 50% !important;
}
@media (max-width: 1180px) {
  .pnr-lower-row {
    grid-template-columns: 1fr 1fr !important;
  }
  .availability-section.multi-date-active .pnr-toggle-card {
    max-width: 50% !important;
  }
}


/* Patch v46 - smaller controls, LOWER enabled in multi-date, taller log */
.availability-section {
  padding: 5px !important;
}
.availability-section .section-header {
  margin: -5px -5px 5px !important;
  padding: 5px 8px !important;
  font-size: 12px !important;
}
.availability-section label {
  font-size: 10.5px !important;
  line-height: 1.05 !important;
  margin: 2px 0 2px !important;
}
.availability-section input,
.availability-section select {
  height: 27px !important;
  min-height: 27px !important;
  padding: 3px 7px !important;
  font-size: 10.8px !important;
  border-radius: 8px !important;
}
#availabilityCommand {
  height: 28px !important;
  min-height: 28px !important;
  font-size: 10.8px !important;
}
.top-control-line {
  margin-bottom: 3px !important;
}
.command-title-row {
  margin: 2px 0 3px !important;
}
.command-title-row label {
  font-size: 10.8px !important;
}
.add-date-btn {
  height: 22px !important;
  min-height: 22px !important;
  padding: 1px 9px !important;
  font-size: 10px !important;
}
.single-rbd-row {
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin-top: 4px !important;
}
.single-rbd-row input {
  height: 29px !important;
  min-height: 29px !important;
}
.pnr-lower-row {
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin: 5px 0 5px !important;
}
.small-toggle-card {
  height: 29px !important;
  min-height: 29px !important;
  grid-template-columns: minmax(0, 1fr) 1px 33px !important;
  gap: 5px !important;
  padding: 2px 5px 2px 8px !important;
  border-radius: 8px !important;
}
.small-toggle-card .toggle-inline-name {
  font-size: 10.5px !important;
  letter-spacing: 0 !important;
}
.small-toggle-card .toggle-divider {
  height: 18px !important;
}
.small-toggle-card .ios-switch {
  width: 30px !important;
  height: 16px !important;
}
.small-toggle-card .ios-knob {
  width: 14px !important;
  height: 14px !important;
  top: 1px !important;
  left: 1px !important;
}
.small-toggle-card .ios-switch-input:checked + .ios-switch .ios-knob {
  transform: translateX(14px) !important;
}
/* LOWER must remain visible and enabled in Multi-Date mode */
.availability-section.multi-date-active .lower-toggle-card {
  display: grid !important;
}
.availability-section.multi-date-active .pnr-lower-row {
  grid-template-columns: 1fr 1fr !important;
}
.availability-section.multi-date-active .pnr-toggle-card {
  max-width: none !important;
}
.multi-date-row {
  padding: 3px !important;
  border-radius: 8px !important;
}
.multi-date-rows {
  gap: 3px !important;
}
.multi-date-line {
  grid-template-columns: minmax(0, 1fr) 40px 47px 21px !important;
  gap: 3px !important;
}
.multi-date-row.multi-fxd-mode .multi-date-line {
  grid-template-columns: minmax(0, 1fr) 64px 47px 21px !important;
}
.multi-date-line input {
  height: 26px !important;
  min-height: 26px !important;
  padding: 3px 5px !important;
  font-size: 10.2px !important;
}
.multi-date-line .multiCommand {
  font-size: 10.2px !important;
  letter-spacing: -0.45px !important;
}
.multi-date-line .remove-multi-date {
  width: 21px !important;
  min-width: 21px !important;
  height: 26px !important;
  min-height: 26px !important;
  font-size: 13px !important;
}
.buttons {
  gap: 4px !important;
  margin-top: 5px !important;
}
.buttons button {
  height: 30px !important;
  min-height: 30px !important;
  font-size: 10.5px !important;
  padding: 4px 6px !important;
  border-radius: 8px !important;
}
#log {
  height: 150px !important;
  min-height: 150px !important;
}
.side-column .section {
  margin-bottom: 6px !important;
}


/* Patch v47 - compact checkbox style for PNR / LOWER */
.pnr-lower-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin: 5px 0 5px !important;
  align-items: center !important;
}

.small-toggle-card {
  height: 28px !important;
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 5px rgba(15,23,42,.04) !important;
}

.small-toggle-card .toggle-inline-name {
  font-size: 10.8px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
}

.small-toggle-card .toggle-divider,
.small-toggle-card .ios-switch,
.small-toggle-card .ios-knob,
.small-toggle-card .ios-switch-text {
  display: none !important;
}

.small-toggle-card .ios-switch-row,
.small-toggle-card .compact-switch-row {
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
}

.small-toggle-card .ios-switch-input {
  position: static !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 5px !important;
  border: 2px solid #94a3b8 !important;
  background: #f8fafc !important;
  cursor: pointer !important;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.08) !important;
}

.small-toggle-card .ios-switch-input:checked {
  border-color: #16a34a !important;
  background: #16c761 !important;
  box-shadow: 0 2px 5px rgba(22,199,97,.25) !important;
}

.small-toggle-card .ios-switch-input:checked::after {
  content: "âœ“" !important;
  display: block !important;
  color: #ffffff !important;
  font-size: 11px !important;
  line-height: 12px !important;
  text-align: center !important;
  font-weight: 900 !important;
}

/* keep the rows tight */
.single-rbd-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin-top: 4px !important;
}

.single-rbd-row input,
.availability-section input,
.availability-section select {
  height: 27px !important;
  min-height: 27px !important;
  font-size: 10.8px !important;
  border-radius: 8px !important;
}

#availabilityCommand {
  height: 28px !important;
  min-height: 28px !important;
}

.buttons button {
  height: 30px !important;
  min-height: 30px !important;
}

#log {
  height: 165px !important;
  min-height: 165px !important;
}

/* LOWER stays available in multi-date mode */
.availability-section.multi-date-active .lower-toggle-card {
  display: flex !important;
}
.availability-section.multi-date-active .pnr-lower-row {
  grid-template-columns: 1fr 1fr !important;
}
.availability-section.multi-date-active .pnr-toggle-card {
  max-width: none !important;
}


/* Patch v49 - Interval UI removed; internal auto interval */
.top-control-line {
  display: none !important;
}
.command-panel {
  margin-top: 0 !important;
}


/* Patch v50 - multi-date pending passengers summary */
.multi-pax-summary .pax-summary-title {
  font-size: 11px !important;
  font-weight: 900 !important;
  color: #0b5cad !important;
  margin: 4px 0 3px !important;
}
.multi-pax-summary .pax-line {
  display: flex !important;
  gap: 5px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
  color: #0f172a !important;
}
.multi-pax-summary .pax-sn {
  width: 16px !important;
  flex: 0 0 16px !important;
  color: #64748b !important;
  font-weight: 800 !important;
}

/* Patch v51 - IG safety after sell: no UI change */

/* Patch v52 - watch error terminal display; no layout change */


/* Patch v53 - RBD and Seats boxed like PNR/LOWER */
.boxed-rbd-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 6px !important;
}

.small-input-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  padding: 6px 10px !important;
  border: 1px solid #bccbe2 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.92), 0 1px 2px rgba(33,61,110,.06) !important;
}

.small-input-label {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 42px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #0b1736 !important;
  letter-spacing: .02em !important;
}

.small-input-card input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #24324a !important;
}

.small-input-card input::placeholder {
  color: #6d7c95 !important;
  opacity: 1 !important;
}

.small-input-card input:focus {
  outline: none !important;
  box-shadow: none !important;
}


/* Patch v55 - RBD and SEATS same card design as original PNR and LOWER */
.rbd-seats-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 5px !important;
  margin: 5px 0 5px !important;
  align-items: center !important;
}

.small-field-card {
  height: 28px !important;
  min-height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 6px !important;
  padding: 0 8px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  box-shadow: 0 2px 5px rgba(15,23,42,.04) !important;
}

.small-field-card .toggle-inline-name {
  font-size: 10.8px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  text-transform: uppercase !important;
  letter-spacing: 0 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

.small-field-card input {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 10.8px !important;
  font-weight: 600 !important;
  color: #334155 !important;
  text-align: left !important;
}

.small-field-card input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Patch v56 after v55 - multi-date one remaining row fix; no UI change */



/* Patch v57 after v55 - Clear button for Created PNR Passengers */
.created-pax-title-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}

.mini-clear-created-pax {
  height: 22px !important;
  min-height: 22px !important;
  padding: 0 10px !important;
  border: 1px solid #b7c7df !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffffff, #eef5ff) !important;
  color: #0759bd !important;
  font-size: 11px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 5px rgba(15,23,42,.06) !important;
}

.mini-clear-created-pax:hover {
  background: linear-gradient(180deg, #f8fbff, #e5efff) !important;
}

.mini-clear-created-pax:active {
  transform: translateY(1px) !important;
}

/* Patch v58 after v55 - JWT pre-check and SS error beep; no UI change */
/* Patch v60 after v59 - Username voice before alert beeps; no UI change */

/* Patch v61 after v60 - RT retry DK parser and activity logs; no UI change */

/* Patch v62 after v61 - DK exact and PNR admin report context */

/* Patch v64 after v63 - stop after unconfirmed SS and show auto RT */

/* Patch v65 - multi-date per-row passenger queue and duplicate PNR protection */

/* Patch v66 - multi-date balanced-safe interval */


/* Patch v67 - automatic Multi-Date speed logic */




