
/* =========================================================
   CONSULTATION BOOKING
========================================================= */

.consultation-booking-section {
    padding: 90px 0;
}


/* =========================================================
   PROGRESS
========================================================= */

.booking-progress-wrapper {
    max-width: 1200px;
    margin: 0 auto 60px;
    position: relative;
}

.booking-progress {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.booking-progress-line {
    position: absolute;
    top: 22px;
    left: 6%;
    width: 88%;
    height: 2px;
    background: #e5e5e5;
    z-index: 1;
}

.booking-progress-line span {
    display: block;
    width: 0;
    height: 100%;
    background: #222;
    transition: width .35s ease;
}

.booking-step {
    width: 14.28%;
    text-align: center;
}

.booking-step-number {
    width: 46px;
    height: 46px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #f1f1f1;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    position: relative;
    z-index: 3;
    transition: all .3s ease;
}

.booking-step span {
    font-size: 12px;
    font-weight: 600;
    color: #777;
}

.booking-step.active .booking-step-number,
.booking-step.completed .booking-step-number {
    background: #222;
    color: #fff;
}

.booking-step.active span,
.booking-step.completed span {
    color: #222;
}


/* =========================================================
   ALERT
========================================================= */

.booking-alert {
    display: none;
    max-width: 1050px;
    margin: 0 auto 25px;
    padding: 14px 18px;
    border: 1px solid #f0c4c4;
    border-radius: 8px;
    background: #fdf1f1;
    color: #8a1f1f;
    font-size: 14px;
    line-height: 1.6;
}

.booking-alert.show {
    display: block;
}

.booking-alert.info {
    background: #f1f6fb;
    border-color: #c8dcef;
    color: #1f4a73;
}

.booking-alert ul {
    margin: 0;
    padding-left: 18px;
}

.booking-alert a {
    font-weight: 600;
    text-decoration: underline;
    color: inherit;
}


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

.booking-form-step {
    display: none;
}

.booking-form-step.active {
    display: block;
    animation: bookingFadeIn .35s ease;
}

@keyframes bookingFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   BOOKING CARD
========================================================= */

.booking-card {
    max-width: 1050px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 14px;
    padding: 40px;
}

.booking-card-header {
    text-align: center;
    margin-bottom: 35px;
}

.booking-card-header > span {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.booking-card-header h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.booking-card-header p {
    margin: 0;
}


/* =========================================================
   PLAN CARDS
========================================================= */

.booking-plan-option {
    display: block;
    cursor: pointer;
    height: 100%;
}

.booking-plan-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.booking-plan-card {
    height: 100%;
    min-height: 250px;
    padding: 30px;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    position: relative;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.booking-plan-card.is-highlighted {
    border-color: #999;
}

.booking-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,.07);
}

.booking-plan-option input:checked + .booking-plan-card {
    border: 2px solid #222;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.booking-plan-option input:focus-visible + .booking-plan-card {
    outline: 2px solid #222;
    outline-offset: 3px;
}

.booking-plan-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 4px 10px;
    border-radius: 20px;
    background: #222;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.booking-plan-check {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    opacity: 0;
    transition: all .3s ease;
}

.booking-plan-option input:checked + .booking-plan-card
.booking-plan-check {
    opacity: 1;
    background: #222;
    color: #fff;
    border-color: #222;
}

.booking-plan-number {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.booking-plan-badge + .booking-plan-check + .booking-plan-number {
    margin-top: 18px;
}

.booking-plan-card h4 {
    font-size: 21px;
    line-height: 1.35;
    margin-bottom: 15px;
}

.booking-plan-duration {
    font-size: 13px;
    margin-bottom: 12px;
}

.booking-plan-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 12px;
}

.booking-plan-price {
    font-size: 30px;
    font-weight: 700;
}

.booking-plan-old-price {
    font-size: 16px;
    font-weight: 400;
    color: #888;
    text-decoration: line-through;
    margin-right: 6px;
}


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

.booking-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 9px;
}

.booking-field .form-control {
    min-height: 52px;
    border-radius: 7px;
}

.booking-field textarea.form-control {
    min-height: auto;
    padding-top: 15px;
}

.booking-field .form-control:focus {
    border-color: #222;
    box-shadow: none;
}

.booking-field .form-control[readonly] {
    background: #f7f7f7;
    cursor: not-allowed;
}

.booking-help {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.5;
    color: #777;
}

.booking-option-disabled {
    color: #aaa;
}


/* =========================================================
   NOTE
========================================================= */

.booking-note {
    padding: 15px 18px;
    background: #f7f7f7;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.6;
    margin-top: 10px;
}

.booking-note.mb-4 {
    margin-top: 0;
}


/* =========================================================
   UPLOAD
========================================================= */

.booking-upload-area {
    border: 2px dashed #dcdcdc;
    border-radius: 12px;
    padding: 50px 25px;
    text-align: center;
}

.booking-upload-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 25px;
    font-weight: 700;
}

.booking-upload-area h4 {
    margin-bottom: 8px;
}

.booking-upload-area p {
    margin-bottom: 20px;
}

.booking-upload-area input[type="file"] {
    display: none;
}

.booking-upload-button {
    display: inline-block;
    padding: 12px 22px;
    border: 1px solid #222;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.booking-upload-area small {
    display: block;
    margin-top: 18px;
    color: #777;
}

.selected-files {
    margin-top: 20px;
}

.selected-file {
    padding: 8px 12px;
    background: #f6f6f6;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 13px;
    word-break: break-word;
}

.selected-file.error {
    background: #fdf1f1;
    color: #8a1f1f;
}


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

.booking-summary {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
}

.booking-summary h4 {
    margin-bottom: 20px;
}

.booking-summary-row,
.booking-summary-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.booking-summary-total {
    border-bottom: 0;
    padding-top: 20px;
    font-size: 18px;
}


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

.dummy-payment-box {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 25px;
}

.dummy-payment-box h4 {
    margin-bottom: 10px;
}

.dummy-payment-box > p {
    font-size: 14px;
}

.dummy-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.dummy-payment-methods label {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 7px;
    cursor: pointer;
    font-size: 13px;
}

.dummy-payment-methods input {
    margin-right: 5px;
}

.booking-checkbox {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.booking-checkbox label {
    font-size: 13px;
    cursor: pointer;
}

.booking-checkbox input {
    margin-right: 8px;
}


/* =========================================================
   NAVIGATION
========================================================= */

.booking-navigation {
    max-width: 1050px;
    margin: 25px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.booking-back,
.booking-link-button {
    background: transparent;
    border: 0;
    padding: 12px 5px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.booking-navigation button[disabled] {
    opacity: .6;
    cursor: not-allowed;
}


/* =========================================================
   CONFIRMATION
========================================================= */

.booking-confirmation {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 30px;
    border: 1px solid #e5e5e5;
    border-radius: 14px;
}

.confirmation-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    font-weight: 700;
}

.booking-confirmation h2 {
    margin: 10px 0 12px;
}

.booking-confirmation > p {
    margin-bottom: 30px;
}

.confirmation-details {
    text-align: left;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 25px;
}

.confirmation-detail {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 14px 18px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.confirmation-detail:last-child {
    border-bottom: 0;
}

.booking-confirmation .confirmation-note {
    font-size: 13px;
    color: #777;
    margin-bottom: 20px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .booking-progress-line {
        display: none;
    }

    .booking-progress {
        flex-wrap: wrap;
        gap: 25px 5px;
    }

    .booking-step {
        width: 14.28%;
    }

    .booking-step span {
        font-size: 10px;
    }

    .booking-card {
        padding: 30px 25px;
    }

}


@media (max-width: 767px) {

    .consultation-booking-section {
        padding: 60px 0;
    }

    .booking-progress {
        justify-content: center;
    }

    .booking-step {
        width: 25%;
    }

    .booking-step-number {
        width: 40px;
        height: 40px;
        font-size: 11px;
    }

    .booking-card {
        padding: 25px 18px;
    }

    .booking-card-header h3 {
        font-size: 23px;
    }

    .booking-navigation {
        flex-direction: row;
    }

    .booking-navigation .btn-default {
        font-size: 13px;
        padding: 12px 15px;
    }

}


@media (max-width: 480px) {


    .booking-progress-wrapper {
    max-width: 1200px;
    margin: 0 auto 10px !important;
    position: relative;
}

    .booking-step {
        width: 14.333%;
    }

    .booking-step span {
        font-size: 8px;
    }

    .booking-plan-card {
        min-height: 220px;
        padding: 5px 2px;
    }

    .booking-plan-price {
        font-size: 27px;
    }

    .dummy-payment-methods {
        flex-direction: column;
    }

    .confirmation-detail {
        flex-direction: column;
        gap: 5px;
    }

}
