/* Booking Wizard & Success Page */
.bk-section {
  background: linear-gradient(180deg, #f4f6fa 0%, #eef1f7 100%);
  padding: 50px 0 90px;
  min-height: 60vh;
}

.bk-wrap {
  margin-top: 80px;
  max-width: 920px;
}

/* Tour summary strip */
.bk-tour-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: 18px;
  padding: 18px 24px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(234, 185, 117, 0.25);
  margin-bottom: 30px;
}

.bk-tour-img {
  width: 110px;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.bk-tour-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bk-tour-info {
  flex: 1;
  min-width: 0;
}

.bk-tour-category {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-dark);
  background: #faf3e6;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 6px;
}

.bk-tour-info h1 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--text-color);
}

.bk-tour-meta {
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #888;
}

.bk-tour-meta i {
  color: var(--primary-dark);
  margin-left: 4px;
}

.bk-tour-price {
  text-align: center;
  flex-shrink: 0;
}

.bk-price-label {
  display: block;
  font-size: 12px;
  color: #999;
  font-weight: 600;
}

.bk-price-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-color);
}

/* Stepper */
.bk-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 30px;
}

.bk-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.bk-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ddd;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.bk-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.bk-step-item.active .bk-step-num {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 18px rgba(217, 18, 0, 0.4);
}

.bk-step-item.active .bk-step-label {
  color: var(--primary-dark);
}

.bk-step-item.done .bk-step-num {
  border-color: #27ae60;
  background: #27ae60;
  color: #fff;
}

.bk-step-item.done .bk-step-label {
  color: #27ae60;
}

.bk-step-line {
  flex: 1;
  max-width: 140px;
  height: 3px;
  background: #ddd;
  margin: 0 14px 26px;
  border-radius: 3px;
  position: relative;
  z-index: 1;
}

/* Steps & cards */
.bk-step {
  display: none;
}

.bk-step.active {
  display: block;
  animation: bkFadeIn 0.35s ease;
}

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

.bk-card {
  background: #fff;
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(234, 185, 117, 0.18);
  margin-bottom: 22px;
}

.bk-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--text-color);
  padding-bottom: 14px;
  border-bottom: 2px solid #f5f0e6;
}

.bk-card-title i {
  color: var(--primary-dark);
  font-size: 21px;
}

.bk-count-badge {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  min-width: 26px;
  height: 26px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
}

/* Fields */
.bk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bk-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.bk-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.bk-grid-2 .bk-field,
.bk-grid-3 .bk-field {
  margin-bottom: 0;
}

.bk-field label {
  font-size: 13px;
  font-weight: 600;
  color: #555;
}

.req {
  color: #e0245e;
}

.bk-field input,
.bk-field select,
.bk-field textarea {
  border: 1.5px solid #e4e7ee;
  border-radius: 12px;
  padding: 12px 16px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 14.5px;
  color: var(--text-color);
  background: #f8f9fc;
  transition: all 0.25s ease;
  width: 100%;
}

.bk-field input:focus,
.bk-field select:focus,
.bk-field textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(234, 185, 117, 0.18);
}

.bk-field input.invalid,
.bk-field select.invalid,
.bk-field textarea.invalid {
  border-color: #e0245e;
  box-shadow: 0 0 0 4px rgba(224, 36, 94, 0.1);
}

.bk-field textarea {
  resize: vertical;
  min-height: 80px;
}

/* Traveler cards */
.bk-traveler-card {
  border: 1.5px solid #eee;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  background: #fbfbfd;
  transition: border-color 0.3s ease;
}

.bk-traveler-card:focus-within {
  border-color: var(--primary-color);
}

.bk-traveler-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.bk-traveler-head i {
  font-size: 18px;
}

/* Terms checkbox */
.bk-terms {
  padding: 20px 24px;
}

.bk-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.bk-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.bk-check-box {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1.5px solid #d5d9e2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: transparent;
  font-size: 15px;
  transition: all 0.25s ease;
}

.bk-check input:checked + .bk-check-box {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-color: transparent;
  color: #fff;
}

.bk-check a {
  color: var(--primary-dark);
}

/* Error box */
.bk-error {
  background: #fdeeee;
  border: 1px solid #f5c6c6;
  color: #c0392b;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

/* Nav buttons */
.bk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}

.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-size: 15.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: all 0.3s ease;
}

.bk-btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  box-shadow: 0 8px 24px rgba(217, 18, 0, 0.3);
  margin-inline-start: auto;
}

.bk-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(217, 18, 0, 0.45);
}

.bk-btn-ghost {
  background: #fff;
  color: #666;
  border: 1.5px solid #ddd;
}

.bk-btn-ghost:hover {
  border-color: var(--primary-color);
  color: var(--primary-dark);
}

.bk-btn-submit {
  background: linear-gradient(135deg, #27ae60, #1e8449);
  color: #fff;
  box-shadow: 0 8px 24px rgba(39, 174, 96, 0.35);
  margin-inline-start: auto;
  font-size: 16.5px;
  padding: 15px 38px;
}

.bk-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(39, 174, 96, 0.5);
}

.bk-btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

/* Review styles */
.rv-section {
  margin-bottom: 24px;
}

.rv-section:last-child {
  margin-bottom: 0;
}

.rv-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-color);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f5;
}

.rv-section h3 i {
  color: var(--primary-dark);
}

.rv-tour-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #faf8f4;
  border-radius: 12px;
  padding: 14px;
}

.rv-tour-row img {
  width: 80px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.rv-tour-row strong {
  display: block;
  font-size: 15px;
  color: var(--text-color);
}

.rv-tour-row span {
  font-size: 12.5px;
  color: #888;
}

.rv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 4px;
  font-size: 14px;
  border-bottom: 1px dashed #f0f0f5;
}

.rv-row span {
  color: #888;
}

.rv-row strong {
  color: var(--text-color);
  text-align: left;
}

.rv-total {
  border-bottom: none;
  padding-top: 14px;
  margin-top: 6px;
}

.rv-total span,
.rv-total strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-dark);
}

.rv-travelers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rv-traveler {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8f9fc;
  border-radius: 12px;
  padding: 12px 16px;
}

.rv-traveler-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
}

.rv-traveler strong {
  display: block;
  font-size: 14px;
}

.rv-traveler span {
  font-size: 12.5px;
  color: #888;
}

.rv-notes {
  font-weight: 500;
  font-size: 13px;
}

/* Success page */
.bk-success-section {
  background: linear-gradient(180deg, #f4f6fa 0%, #eef1f7 100%);
  padding: 70px 0 100px;
  min-height: 70vh;
}

.bk-success-card {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 50px 45px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.bk-success-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #27ae60, #1e8449);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(39, 174, 96, 0.4);
  animation: bkPop 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

@keyframes bkPop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

.bk-success-card h1 {
  font-size: 30px;
  font-weight: 800;
  color: var(--text-color);
  margin: 0 0 10px;
}

.bk-success-sub {
  color: #888;
  font-size: 15px;
  margin-bottom: 30px;
}

.bk-ref-box {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 28px;
  color: #fff;
}

.bk-ref-label {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 6px;
}

.bk-ref-value {
  display: block;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary-color);
  font-family: monospace;
}

.bk-ref-hint {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 6px;
}

.bk-summary {
  text-align: right;
  margin-bottom: 24px;
}

.bk-summary .rv-row {
  text-align: right;
}

.bk-summary .rv-row strong {
  text-align: left;
}

.bk-travelers-list {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #f0f0f5;
}

.bk-travelers-list h3 {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text-color);
}

.bk-traveler-mini {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.bk-traveler-mini strong {
  display: block;
  font-size: 13.5px;
}

.bk-traveler-mini span {
  font-size: 12px;
  color: #888;
}

.bk-next-steps {
  background: #f8f9fc;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 28px;
  text-align: right;
}

.bk-next-steps h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text-color);
}

.bk-next-steps h3 i {
  color: var(--primary-dark);
}

.bk-step-item-static {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #555;
  padding: 7px 0;
}

.bk-step-dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.bk-success-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
  .bk-tour-strip {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .bk-tour-meta {
    justify-content: center;
  }

  .bk-grid-2,
  .bk-grid-3 {
    grid-template-columns: 1fr;
  }

  .bk-step-label {
    display: none;
  }

  .bk-step-line {
    max-width: 40px;
  }

  .bk-card {
    padding: 20px;
  }

  .bk-nav {
    flex-direction: column-reverse;
  }

  .bk-btn-primary,
  .bk-btn-submit {
    width: 100%;
    margin-inline-start: 0;
  }

  .bk-btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .bk-success-card {
    padding: 35px 22px;
  }

  .bk-success-card h1 {
    font-size: 22px;
  }

  .bk-ref-value {
    font-size: 22px;
  }
}

/* ===== Review CTA on booking success ===== */
.bk-review-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-radius: 14px;
    padding: 16px 22px;
    margin: 24px 0;
    text-align: right;
}
.bk-review-cta > i { font-size: 34px; color: #d97706; flex-shrink: 0; }
.bk-review-cta > div { flex: 1; }
.bk-review-cta strong { display: block; color: var(--dark, #1e293b); }
.bk-review-cta span { font-size: 13px; color: #64748b; }
.bk-review-cta .bk-btn { flex-shrink: 0; }
@media (max-width: 576px) {
    .bk-review-cta { flex-wrap: wrap; }
    .bk-review-cta .bk-btn { width: 100%; text-align: center; }
}
