/* ==========================================================
   BOOKING PAGE
   Bali Indo Tour
   ========================================================== */

/* ===========================
   Root
=========================== */

:root {

    --bit-primary: #f4b400;
    --bit-primary-dark: #d89d00;

    --bit-text: #1f2937;
    --bit-text-light: #6b7280;

    --bit-border: #e5e7eb;

    --bit-bg: #f8fafc;
    --bit-white: #ffffff;

    --bit-success: #16a34a;

    --bit-shadow-sm: 0 4px 12px rgba(15, 23, 42, .05);
    --bit-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --bit-shadow-lg: 0 18px 45px rgba(15, 23, 42, .12);

    --bit-radius-sm: 12px;
    --bit-radius: 18px;
    --bit-radius-lg: 24px;

    --bit-transition: .3s ease;

}

/* ===========================
   Page
=========================== */

.bit-booking-page {

    background: var(--bit-bg);

    min-height: 100vh;

}

/* ===========================
   Hero
=========================== */
/* ==========================================================
   BOOKING HEADER
========================================================== */

.bit-booking-header {

    position: sticky;

    top: 0;

    z-index: 1050;

    background: rgba(255, 255, 255, .95);

    backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0, 0, 0, .06);

}

.bit-booking-header-inner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    min-height: 76px;

    gap: 24px;

}

.bit-booking-back {

    display: inline-flex;

    align-items: center;

    gap: .75rem;

    color: var(--bit-text);

    font-weight: 600;

    text-decoration: none;

    transition: .3s;

}

.bit-booking-back:hover {

    color: var(--bit-primary-dark);

}

.bit-booking-brand {

    display: flex;

    align-items: center;

    gap: 14px;

    text-decoration: none;

}

.bit-booking-brand img {

    width: 52px;

    height: 52px;

    object-fit: contain;

    flex-shrink: 0;

}

.bit-booking-brand strong {

    display: block;

    margin-bottom: 2px;

    color: #0f172a;

    font-size: 1rem;

    font-weight: 700;

}

.bit-booking-brand small {

    display: block;

    color: var(--bit-text-light);

    font-size: .82rem;

}

.bit-booking-hero {

    position: relative;

    overflow: hidden;

    padding: 110px 0 70px;

    background:
        linear-gradient(135deg,
            #0f172a,
            #1e293b);

    color: #fff;

}

.bit-booking-hero::before {

    content: "";

    position: absolute;

    inset: 0;

    background:

        radial-gradient(circle at top right,
            rgba(244, 180, 0, .18),
            transparent 45%),

        radial-gradient(circle at bottom left,
            rgba(255, 255, 255, .08),
            transparent 35%);

}

.bit-booking-hero-content {

    position: relative;

    z-index: 2;

    max-width: 700px;

}

.bit-booking-badge {

    display: inline-flex;

    align-items: center;

    gap: .5rem;

    padding: .65rem 1rem;

    margin-bottom: 1.25rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, .12);

    border: 1px solid rgba(255, 255, 255, .15);

    font-size: .85rem;

    font-weight: 600;

    letter-spacing: .05em;

    backdrop-filter: blur(10px);

}

.bit-booking-title {

    margin: 0 0 1rem;

    font-size: clamp(2rem, 4vw, 3rem);

    font-weight: 800;

    line-height: 1.2;

    color: #fff;

    font-weight: 800;

    text-shadow: 0 4px 16px rgba(0, 0, 0, .25);

}

.bit-booking-description {

    margin: 0;

    max-width: 560px;

    color: rgba(255, 255, 255, .82);

    font-size: 1.05rem;

    line-height: 1.8;

}

/* ===========================
   Booking Section
=========================== */

.bit-booking-section {

    position: relative;

    margin-top: -45px;

    padding: 0 0 80px;

    z-index: 10;

}

/* ===========================
   Card
=========================== */

.bit-booking-card {

    margin-bottom: 24px;

    padding: 32px;

    background: var(--bit-white);

    border: 1px solid var(--bit-border);

    border-radius: var(--bit-radius);

    box-shadow: var(--bit-shadow);

    transition: var(--bit-transition);

}

.bit-booking-card:hover {

    transform: translateY(-3px);

    box-shadow: var(--bit-shadow-lg);

}

.bit-card-header {

    margin-bottom: 24px;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--bit-border);

}

.bit-section-title {

    margin: 0 0 .5rem;

    color: var(--bit-text);

    font-size: 1.35rem;

    font-weight: 700;

}

.bit-section-description {

    margin: 0;

    color: var(--bit-text-light);

    line-height: 1.8;

    font-size: .95rem;

}

/* ===========================
   Sidebar
=========================== */

.bit-booking-sidebar {

    position: sticky;

    top: 100px;

}

/* ===========================
   Typography
=========================== */

.bit-booking-page h1,

.bit-booking-page h2,

.bit-booking-page h3,

.bit-booking-page h4 {

    color: var(--bit-text);

}

.bit-booking-page p {

    color: var(--bit-text-light);

}

.bit-booking-page a {

    text-decoration: none;

    transition: var(--bit-transition);

}

.bit-booking-page a:hover {

    color: var(--bit-primary-dark);

}

/* ==========================================================
   FORM
========================================================== */

.form-label {

    display: block;

    margin-bottom: .65rem;

    color: var(--bit-text);

    font-size: .95rem;

    font-weight: 600;

}

.form-control,
.form-select {

    height: 56px;

    padding: 0 .95rem;

    border: 1px solid var(--bit-border);

    border-radius: 14px;

    background: #fff;

    color: var(--bit-text);

    font-size: .95rem;

    transition: all .25s ease;

    box-shadow: none;

}

textarea.form-control {

    min-height: 140px;

    height: auto;

    padding: 1rem;

    resize: vertical;

    line-height: 1.7;

}

.form-control::placeholder,
textarea::placeholder {

    color: #9ca3af;

}

.form-control:hover,
.form-select:hover {

    border-color: #d1d5db;

}

.form-control:focus,
.form-select:focus {

    border-color: var(--bit-primary);

    box-shadow: 0 0 0 .2rem rgba(244, 180, 0, .15);

    outline: none;

}

.form-control:disabled,
.form-select:disabled {

    background: #f3f4f6;

    cursor: not-allowed;

    opacity: .8;

}

/* ==========================================================
   VALIDATION
========================================================== */

.form-control.is-invalid,
.form-select.is-invalid {

    border-color: #dc3545;

    box-shadow: none;

}

.form-control.is-valid,
.form-select.is-valid {

    border-color: var(--bit-success);

    box-shadow: none;

}

.invalid-feedback {

    margin-top: .45rem;

    font-size: .85rem;

}

.text-danger {

    color: #dc3545 !important;

}

/* ==========================================================
   PRICE SUMMARY
========================================================== */

.bit-price-summary {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.bit-price-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    font-size: .96rem;

}

.bit-price-row span {

    color: var(--bit-text-light);

}

.bit-price-row strong {

    color: var(--bit-text);

    font-size: 1rem;

    font-weight: 700;

}

.bit-price-summary hr {

    margin: .25rem 0;

    border: none;

    border-top: 1px dashed var(--bit-border);

}

.bit-price-total {

    padding-top: .25rem;

}

.bit-price-total span {

    color: var(--bit-text);

    font-weight: 700;

    font-size: 1rem;

}

.bit-price-total strong {

    color: var(--bit-primary-dark);

    font-size: 1.45rem;

    font-weight: 800;

}

/* ==========================================================
   SUBMIT BUTTON
========================================================== */

.bit-booking-submit {

    margin-top: 21px;
    padding: 24px;

    background: #fff;

    border: 1px solid var(--bit-border);

    border-radius: var(--bit-radius);

    box-shadow: var(--bit-shadow-sm);

    transition: var(--bit-transition);

}

.bit-booking-submit:hover {

    border-color: var(--bit-primary);

    box-shadow: var(--bit-shadow);

}

.bit-booking-submit .btn {

    display: flex;
    align-items: center;
    justify-content: center;

    gap: .75rem;

    width: 100%;
    height: 60px;

    border: none;
    border-radius: 16px;

    background: var(--bit-primary);

    color: #fff;

    font-size: 1rem;
    font-weight: 700;

    transition: all .3s ease;

}

.bit-booking-submit .btn:hover {

    background: var(--bit-primary-dark);

    transform: translateY(-2px);

    box-shadow: 0 12px 28px rgba(244, 180, 0, .28);

}

.bit-booking-submit>* {

    width: 100%;

}

#paypal-button-container {

    margin-top: 1rem;

}

#paypal-button-container>div {

    width: 100% !important;

}

#paypal-button-container iframe {

    display: block;

    margin: 0 auto;

}

.bit-booking-submit .btn:active {

    transform: scale(.98);

}

.bit-booking-submit .btn i {

    font-size: 1rem;

}

/* ==========================================================
   SMALL HELP TEXT
========================================================== */

.form-text {

    margin-top: .5rem;

    color: var(--bit-text-light);

    font-size: .85rem;

    line-height: 1.6;

}

/* ==========================================================
   FORM SPACING
========================================================== */

.bit-booking-card .row {

    --bs-gutter-y: 1.5rem;

}

.bit-booking-card .col-12:last-child {

    margin-bottom: 0;

}

/* ==========================================================
   PAYMENT METHOD
========================================================== */

.bit-payment-method {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.bit-payment-option {

    position: relative;

    margin: 0;

    padding: 20px 22px;

    border: 1px solid var(--bit-border);

    border-radius: 16px;

    background: #fff;

    transition: all .3s ease;

    cursor: pointer;

    display: flex;

    align-items: flex-start;

    gap: 16px;

    padding: 20px;

}

.bit-payment-option:hover {

    border-color: var(--bit-primary);

    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);

}

.bit-payment-option .form-check-input {

    margin-top: .35rem;

    flex-shrink: 0;

    float: none;

    margin: 4px 0 0;

    position: static;

}

.bit-payment-option .form-check-input:checked {

    background-color: var(--bit-primary);

    border-color: var(--bit-primary);

}

.bit-payment-option .form-check-label {

    display: block;

    width: 100%;

    cursor: pointer;

    flex: 1;

    margin: 0;

}

.bit-payment-option strong {

    display: block;

    margin-bottom: .35rem;

    color: var(--bit-text);

    font-size: 1rem;

    font-weight: 700;

}

.bit-payment-option .text-muted {

    color: var(--bit-text-light) !important;

    line-height: 1.6;

}

.bit-payment-option i {

    color: #0070ba;

}

/* ==========================================================
   TERMS
========================================================== */

.bit-booking-card .form-check {

    display: flex;

    align-items: flex-start;

    gap: .85rem;

}

.bit-booking-card .form-check-input {

    margin-top: .3rem;

    width: 20px;

    height: 20px;

    border: 1px solid var(--bit-border);

    cursor: pointer;

}

.bit-booking-card .form-check-input:checked {

    background-color: var(--bit-primary);

    border-color: var(--bit-primary);

}

.bit-booking-card .form-check-label {

    color: var(--bit-text-light);

    line-height: 1.8;

    cursor: pointer;

}

.bit-booking-card .form-check-label a {

    color: var(--bit-primary-dark);

    font-weight: 600;

}

.bit-booking-card .form-check-label a:hover {

    text-decoration: underline;

}

/* ==========================================================
   SIDEBAR
========================================================== */

.bit-booking-sidebar {

    display: flex;

    flex-direction: column;

    gap: 24px;

}

.bit-booking-sidebar .bit-booking-card {

    margin-bottom: 0;

}

/* ==========================================================
   SUPPORT
========================================================== */

.bit-support-list {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.bit-support-item {

    display: flex;

    align-items: flex-start;

    gap: 16px;

}

.bit-support-item i {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 46px;

    height: 46px;

    border-radius: 14px;

    background: rgba(244, 180, 0, .12);

    color: var(--bit-primary-dark);

    font-size: 1.2rem;

    flex-shrink: 0;

}

.bit-support-item strong {

    display: block;

    margin-bottom: .35rem;

    color: var(--bit-text);

    font-size: .95rem;

}

.bit-support-item a {

    color: var(--bit-text-light);

    word-break: break-word;

}

.bit-support-item a:hover {

    color: var(--bit-primary-dark);

}

/* ==========================================================
   BENEFITS
========================================================== */

.bit-booking-benefits {

    margin: 0;

    padding: 0;

    list-style: none;

}

.bit-booking-benefits li {

    display: flex;

    align-items: flex-start;

    gap: 14px;

    padding: 14px 0;

    border-bottom: 1px solid var(--bit-border);

    color: var(--bit-text);

    line-height: 1.6;

}

.bit-booking-benefits li:last-child {

    padding-bottom: 0;

    border-bottom: none;

}

.bit-booking-benefits i {

    margin-top: 2px;

    color: var(--bit-success);

    font-size: 1rem;

    flex-shrink: 0;

}

/* ==========================================================
   SIDEBAR CARD HOVER
========================================================== */

.bit-booking-sidebar .bit-booking-card {

    transition: all .3s ease;

}

.bit-booking-sidebar .bit-booking-card:hover {

    transform: translateY(-4px);

    box-shadow: var(--bit-shadow-lg);

}

/* ==========================================================
   BOOKING FOOTER
========================================================== */

.bit-booking-footer {

    padding: 32px 0;

    background: #fff;

    border-top: 1px solid var(--bit-border);

}

.bit-booking-footer-content {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

}

.bit-booking-footer p {

    margin: 0;

    color: var(--bit-text-light);

    font-size: .9rem;

}

.bit-booking-footer nav {

    display: flex;

    align-items: center;

    gap: 14px;

}

.bit-booking-footer nav span {

    color: #d1d5db;

}

.bit-booking-footer nav a {

    color: var(--bit-text-light);

    font-size: .9rem;

    transition: var(--bit-transition);

}

.bit-booking-footer nav a:hover {

    color: var(--bit-primary-dark);

}

/* ==========================================================
   BADGE
========================================================== */

.bit-booking-badge {

    box-shadow: 0 8px 20px rgba(255, 255, 255, .08);

}

/* ==========================================================
   SCROLLBAR
========================================================== */

.bit-booking-page::-webkit-scrollbar {

    width: 10px;

}

.bit-booking-page::-webkit-scrollbar-thumb {

    background: #d6d6d6;

    border-radius: 20px;

}

.bit-booking-page::-webkit-scrollbar-thumb:hover {

    background: #bfbfbf;

}

/* ==========================================================
   TABLET
========================================================== */

@media (max-width:991.98px) {

    .bit-booking-section {

        margin-top: -30px;

    }

    .bit-booking-sidebar {

        position: static;

    }

    .bit-booking-card {

        padding: 28px;

    }

    .bit-booking-title {

        font-size: 2.2rem;

    }

    .bit-booking-footer-content {

        flex-direction: column;

        text-align: center;

    }

}

/* ==========================================================
   MOBILE
========================================================== */

@media (max-width:767.98px) {

    .bit-booking-hero {

        padding: 90px 0 60px;

    }

    .bit-booking-title {

        font-size: 1.9rem;

    }

    .bit-booking-description {

        font-size: .95rem;

    }

    .bit-booking-card {

        padding: 22px;

        border-radius: 18px;

    }

    .bit-card-header {

        margin-bottom: 20px;

        padding-bottom: 16px;

    }

    .bit-section-title {

        font-size: 1.15rem;

    }

    .bit-section-description {

        font-size: .9rem;

    }

    .form-control,
    .form-select {

        height: 52px;

        font-size: .95rem;

    }

    textarea.form-control {

        min-height: 120px;

    }

    .bit-price-row {

        font-size: .92rem;

    }

    .bit-price-total strong {

        font-size: 1.25rem;

    }

    .bit-payment-option {

        padding: 18px;

    }

    .bit-payment-option i {

        font-size: 2rem;

    }

    .bit-support-item {

        gap: 14px;

    }

    .bit-support-item i {

        width: 42px;

        height: 42px;

        font-size: 1rem;

    }

    .bit-booking-benefits li {

        padding: 12px 0;

        font-size: .92rem;

    }

    .bit-booking-submit .btn {

        height: 56px;

        font-size: .95rem;

    }

    .bit-booking-footer {

        padding: 24px 0;

    }

    .bit-booking-footer nav {

        flex-wrap: wrap;

        justify-content: center;

    }

}

/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width:575.98px) {

    .bit-booking-hero {

        padding: 80px 0 50px;

    }

    .bit-booking-badge {

        font-size: .75rem;

    }

    .bit-booking-title {

        font-size: 1.7rem;

    }

    .bit-booking-card {

        padding: 18px;

    }

    .bit-price-row {

        gap: 10px;

    }

    .bit-price-row strong {

        text-align: right;

    }

    .bit-payment-option .d-flex {

        flex-direction: column;

        align-items: flex-start !important;

        gap: 14px;

    }

}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion:reduce) {

    * {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;

    }

}