/* ═══════════════════════════════════════════════════════
   Booking page styles — inherits site fonts via CSS vars
   Roboto (body/headings) + Oswald (titles) from main.css
   ═══════════════════════════════════════════════════════ */

/* ── Base ─────────────────────────────────────────────── */
.booking-step-panel,
.booking-step-panel input,
.booking-step-panel textarea,
.booking-step-panel select,
.booking-step-panel label,
.booking-step-panel button,
.booking-step-panel p,
.booking-step-panel span,
.review-block,
.review-row,
.price-card,
.form-check-label {
    font-family: var(--bd-ff-body);
}

.booking-step-panel h4,
.booking-step-panel h5,
.booking-step-panel h6 {
    font-family: var(--bd-ff-heading);
}

/* ── Form controls ────────────────────────────────────── */
.form-control {
    min-height: 50px;
    padding: 10px 15px;
    font-size: 16px;
    font-family: var(--bd-ff-body);
    border: 1px solid #e3e3e3;
    border-radius: 0;
    background-color: #f7f7f7;
    color: #2a2a2a;
}
.form-control:focus {
    border-color: var(--bd-theme-1, #e9a84c);
    box-shadow: 0 0 0 3px rgba(233,168,76,.15);
    background-color: #fff;
}
.form-control.is-invalid { border-color: #dc3545; }
select.form-control { cursor: pointer; }

.booking-form-input-box { margin-bottom: 20px; }
.booking-form-input-title label {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 6px;
    display: block;
    font-family: var(--bd-ff-body);
    color: #2a2a2a;
}

/* ── Stepper ──────────────────────────────────────────── */
.booking-stepper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 40px;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
}
.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #e3e3e3;
    z-index: 0;
}
.step-item.completed:not(:last-child)::after,
.step-item.active:not(:last-child)::after {
    background: var(--bd-theme-1, #e9a84c);
}
.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3e3e3;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    font-family: var(--bd-ff-heading);
    position: relative;
    z-index: 1;
    transition: background .3s, color .3s;
}
.step-item.active .step-circle {
    background: var(--bd-theme-1, #e9a84c);
    color: #fff;
}
.step-item.completed .step-circle {
    background: #28a745;
    color: #fff;
}
.step-label {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 600;
    font-family: var(--bd-ff-body);
    color: #999;
    text-align: center;
}
.step-item.active .step-label,
.step-item.completed .step-label {
    color: #2a2a2a;
}

/* ── Step panels ──────────────────────────────────────── */
.booking-step-panel { display: none; }
.booking-step-panel.active { display: block; }

/* ── Group size warning ───────────────────────────────── */
.group-toggle-wrap {
    background: #f0f8ff;
    border: 1px solid #b8d4ea;
    border-radius: 6px;
    padding: 16px 20px;
    margin-bottom: 20px;
}
.group-toggle-wrap label {
    font-weight: 600;
    cursor: pointer;
    font-family: var(--bd-ff-body);
}
#groupDetails { margin-top: 16px; }

/* ── Review blocks ────────────────────────────────────── */
.review-block {
    background: #f7f7f7;
    border-radius: 6px;
    padding: 18px 20px;
    margin-bottom: 16px;
}
.review-block h6 {
    font-family: var(--bd-ff-title);
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--bd-theme-1, #e9a84c);
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.2px;
}
.review-row {
    display: flex;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 15px;
    font-family: var(--bd-ff-body);
}
.review-row .rk {
    font-weight: 600;
    min-width: 160px;
    color: #555;
}

/* ── Price card ───────────────────────────────────────── */
.price-card {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-radius: 6px;
    padding: 20px;
    font-family: var(--bd-ff-body);
}

/* ── Alert ────────────────────────────────────────────── */
#bookingAlert { display: none; margin-bottom: 16px; }

/* ── Button row ───────────────────────────────────────── */
.btn-nav-wrap {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

/* ── Terms — custom checkbox (avoids z-index conflicts) ── */
.terms-wrap {
    position: relative;
    z-index: 10;
}
.terms-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-family: var(--bd-ff-body);
    font-size: 15px;
    color: #2a2a2a;
    line-height: 1.5;
    user-select: none;
}
.terms-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.terms-box {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .2s, background .2s;
}
.terms-label input[type="checkbox"]:checked + .terms-box {
    background: var(--bd-theme-1, #e9a84c);
    border-color: var(--bd-theme-1, #e9a84c);
}
.terms-label input[type="checkbox"]:checked + .terms-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}
.terms-text a {
    color: var(--bd-theme-1, #e9a84c);
    text-decoration: underline;
    pointer-events: auto;
    position: relative;
    z-index: 20;
}
.terms-text a:hover { opacity: .8; }

/* ── Select2 country picker ───────────────────────────── */
.select2-container .select2-selection--single {
    height: 50px;
    border: 1px solid #e3e3e3;
    border-radius: 0;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 50px;
    padding-left: 15px;
    font-size: 16px;
    font-family: var(--bd-ff-body);
    color: #2a2a2a;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 50px;
    right: 10px;
}
.select2-container--default .select2-results__option {
    font-size: 15px;
    font-family: var(--bd-ff-body);
    padding: 8px 12px;
}
.select2-search--dropdown .select2-search__field {
    padding: 8px 10px;
    font-size: 15px;
    font-family: var(--bd-ff-body);
    border: 1px solid #e3e3e3;
}
.select2-dropdown {
    border: 1px solid #e3e3e3;
    border-radius: 0;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--bd-theme-1, #e9a84c);
    color: #fff;
}
.select2-container--default .select2-selection--single:focus,
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--bd-theme-1, #e9a84c);
    outline: none;
}

/* ── Select2 clear (×) button ─────────────────────────── */
.select2-container--default .select2-selection--single .select2-selection__clear {
    font-size: 20px;
    font-weight: 400;
    line-height: 50px;
    color: #999;
    margin-right: 20px;
    padding: 0 4px;
    cursor: pointer;
    transition: color .2s;
}
.select2-container--default .select2-selection--single .select2-selection__clear:hover {
    color: #dc3545;
}

/* ── Phone input group ────────────────────────────────── */
.input-group .input-group-text {
    font-family: var(--bd-ff-body);
    font-size: 15px;
    font-weight: 600;
    color: #2a2a2a;
    min-width: 80px;
    justify-content: center;
    background: #f0f0f0;
    border: 1px solid #e3e3e3;
    border-right: 0;
    border-radius: 0;
}
.input-group .form-control {
    border-left: 0;
}
.input-group .form-control:focus {
    border-left: 1px solid var(--bd-theme-1, #e9a84c);
}

/* ── WhatsApp button ──────────────────────────────────── */
.btn-whatsapp,
.btn-whatsapp:hover {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 576px) {
    .step-label { font-size: 10px; }
    .step-circle { width: 32px; height: 32px; font-size: 13px; }
    .review-row { flex-direction: column; gap: 2px; }
    .review-row .rk { min-width: unset; }
}
