/**
 * Book Your Trip — scoped styles (matches design-preview/book-your-trip)
 * All rules live under .byt-page to avoid Bootstrap / site CSS conflicts.
 */

.byt-page {
  --byt-navy: #002147;
  --byt-orange: #f16b24;
  --byt-orange2: #d95a18;
  --byt-ink: #1a2332;
  --byt-muted: #6b7280;
  --byt-line: #e5e7eb;
  --byt-bg: #f7f8fa;
  --byt-green: #25d366;
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--byt-ink);
  background: var(--byt-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

.byt-page *,
.byt-page *::before,
.byt-page *::after {
  box-sizing: border-box;
}

.byt-page img {
  max-width: 100%;
  display: block;
}

.byt-page a {
  text-decoration: none;
  color: inherit;
}

.byt-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.byt-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero */
.byt-page-hero {
  position: relative;
  min-height: 200px;
  display: flex;
  align-items: flex-end;
  background: url('https://images.unsplash.com/photo-1595815771615-0ad5c4db5f49?w=1400&q=80') center/cover;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.byt-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 33, 71, 0.9), rgba(0, 33, 71, 0.4));
}

.byt-page-hero .byt-container {
  position: relative;
  z-index: 2;
  padding: 30px 20px 24px;
  width: 100%;
}

.byt-crumb {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.byt-crumb a {
  color: rgba(255, 255, 255, 0.7);
}

.byt-crumb i {
  font-size: 8px;
  margin: 0 5px;
}

.byt-hero-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 800;
  margin: 0 0 4px;
}

.byt-hero-title i {
  color: var(--byt-orange);
}

.byt-hero-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 20px;
  color: var(--byt-orange);
  margin: 0;
}

/* Stepper */
.byt-stepper {
  background: #fff;
  border-bottom: 1px solid var(--byt-line);
  padding: 20px 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.byt-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
}

.byt-step {
  flex: 1;
  text-align: center;
  position: relative;
}

.byt-step::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--byt-line);
  z-index: 0;
}

.byt-step:last-child::after {
  display: none;
}

.byt-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--byt-line);
  color: var(--byt-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
}

.byt-step.active .byt-step-num {
  background: var(--byt-orange);
  color: #fff;
}

.byt-step.done .byt-step-num {
  background: var(--byt-navy);
  color: #fff;
}

.byt-step-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--byt-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.byt-step.active .byt-step-label {
  color: var(--byt-orange);
}

/* Layout */
.byt-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 30px;
  padding: 30px 0 50px;
  align-items: start;
}

.byt-form-col {
  min-width: 0;
}

.byt-side-col {
  position: sticky;
  top: 90px;
}

/* Form sections */
.byt-form-sec {
  background: #fff;
  border: 1px solid var(--byt-line);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
}

.byt-sec-head {
  background: var(--byt-navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.byt-sec-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--byt-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

.byt-sec-head h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
}

.byt-sec-body {
  padding: 22px 20px;
}

.byt-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.byt-form-row.three {
  grid-template-columns: 1fr 1fr 1fr;
}

.byt-form-row.full {
  grid-template-columns: 1fr;
}

.byt-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--byt-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.byt-field label .req {
  color: #ef4444;
}

.byt-field input,
.byt-field select,
.byt-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--byt-line);
  border-radius: 5px;
  font-size: 13px;
  font-family: inherit;
  background: #fff;
  color: var(--byt-ink);
  height: auto;
  box-shadow: none;
}

.byt-field input:focus,
.byt-field select:focus,
.byt-field textarea:focus {
  outline: none;
  border-color: var(--byt-orange);
  box-shadow: none;
}

.byt-field input[readonly] {
  background: #f3f4f6;
  color: var(--byt-muted);
}

.byt-field textarea {
  resize: vertical;
  min-height: 80px;
}

.byt-char-count {
  text-align: right;
  font-size: 10px;
  color: var(--byt-muted);
  margin-top: 4px;
}

/* Quantity stepper */
.byt-qty-ctrl {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--byt-line);
  border-radius: 5px;
  overflow: hidden;
  width: fit-content;
}

.byt-qty-ctrl button {
  width: 36px;
  height: 38px;
  border: none;
  background: #f3f4f6;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: var(--byt-navy);
  line-height: 1;
  padding: 0;
}

.byt-qty-ctrl button:hover {
  background: var(--byt-line);
}

.byt-qty-ctrl input {
  width: 48px;
  text-align: center;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0;
  border-radius: 0;
}

/* Traveller cards */
.byt-traveller-card {
  border: 1px solid var(--byt-line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fafbfc;
}

.byt-traveller-card h5 {
  font-size: 12px;
  font-weight: 800;
  color: var(--byt-navy);
  margin: 0 0 12px;
  text-transform: uppercase;
}

.byt-btn-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px dashed var(--byt-navy);
  color: var(--byt-navy);
  font-size: 12px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 5px;
  cursor: pointer;
  background: none;
  font-family: inherit;
}

.byt-btn-add:hover {
  background: rgba(0, 33, 71, 0.04);
}

/* Upload */
.byt-alert-box {
  background: #fef3e7;
  border: 1px solid #fde0c0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: #92400e;
  margin-bottom: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.byt-alert-box i {
  color: var(--byt-orange);
  margin-top: 2px;
}

.byt-upload-zone {
  border: 2px dashed var(--byt-line);
  border-radius: 8px;
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: 0.2s;
  margin-bottom: 12px;
}

.byt-upload-zone:hover {
  border-color: var(--byt-orange);
  background: #fffbf5;
}

.byt-upload-zone i {
  font-size: 28px;
  color: var(--byt-muted);
  margin-bottom: 8px;
  display: block;
}

.byt-upload-zone span {
  font-size: 12px;
  color: var(--byt-muted);
}

.byt-upload-zone b {
  display: block;
  font-size: 13px;
  color: var(--byt-navy);
  margin-bottom: 4px;
}

/* Terms block */
.byt-terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 13px;
}

.byt-terms-check input {
  margin-top: 3px;
  width: auto;
}

.byt-terms-check a {
  color: var(--byt-orange);
}

.byt-info-box {
  background: #e8f4fd;
  border: 1px solid #b8d9f0;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 12px;
  color: #1e40af;
  margin-bottom: 20px;
  display: flex;
  gap: 10px;
}

.byt-form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.byt-btn-back {
  font-size: 13px;
  font-weight: 600;
  color: var(--byt-navy);
}

.byt-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--byt-orange);
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  padding: 15px 32px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  letter-spacing: 0.3px;
  font-family: inherit;
}

.byt-btn-primary:hover {
  background: var(--byt-orange2);
}

/* Sidebar */
.byt-side-card {
  background: #fff;
  border: 1px solid var(--byt-line);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.byt-side-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: var(--byt-navy);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.byt-trip-mini {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--byt-line);
}

.byt-trip-mini img {
  width: 72px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.byt-trip-mini b {
  display: block;
  font-size: 14px;
  color: var(--byt-navy);
}

.byt-trip-mini span {
  font-size: 11px;
  color: var(--byt-muted);
}

.byt-itin-mini .byt-day {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 11.5px;
  border-bottom: 1px solid #f3f4f6;
}

.byt-itin-mini .byt-day:last-child {
  border-bottom: none;
}

.byt-d-num {
  font-weight: 800;
  color: var(--byt-orange);
  min-width: 42px;
  flex-shrink: 0;
}

.byt-summary-list li {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 12px;
  border-bottom: 1px solid #f3f4f6;
}

.byt-summary-list li span {
  color: var(--byt-muted);
}

.byt-summary-list li b {
  color: var(--byt-navy);
}

.byt-price-box {
  text-align: center;
  padding: 16px 0;
  border-top: 2px solid var(--byt-line);
  margin-top: 10px;
}

.byt-price-box .lbl {
  font-size: 11px;
  color: var(--byt-muted);
  text-transform: uppercase;
}

.byt-price-box .amt {
  font-size: 32px;
  font-weight: 800;
  color: var(--byt-orange);
}

.byt-price-box .note {
  font-size: 10px;
  color: var(--byt-muted);
}

.byt-trust-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.byt-trust-mini .t {
  text-align: center;
  font-size: 10px;
  font-weight: 600;
  color: var(--byt-navy);
}

.byt-trust-mini i {
  display: block;
  color: var(--byt-orange);
  font-size: 16px;
  margin-bottom: 4px;
}

.byt-confidence {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 14px;
  margin-top: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.byt-confidence i {
  color: #22c55e;
  font-size: 20px;
}

.byt-confidence b {
  display: block;
  font-size: 12px;
  color: var(--byt-navy);
}

.byt-confidence span {
  font-size: 11px;
  color: var(--byt-muted);
}

/* Help bar */
.byt-help-bar {
  background: #fff;
  border-top: 1px solid var(--byt-line);
  padding: 20px 0;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;
}

.byt-help-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.byt-help-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--byt-navy);
}

.byt-help-item i {
  color: var(--byt-orange);
  font-size: 18px;
}

.byt-help-item a {
  color: var(--byt-navy);
}

@media (max-width: 1024px) {
  .byt-grid {
    grid-template-columns: 1fr;
  }

  .byt-side-col {
    position: static;
  }

  .byt-form-row,
  .byt-form-row.three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .byt-step-label {
    font-size: 8px;
  }
}
