/*
|--------------------------------------------------------------------------
| Go Walkies v2
| Booking / Enquiry Wizard Styles
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| BOOKING HERO
|--------------------------------------------------------------------------
*/

.booking-hero {

    padding:
        75px
        0;

}


.booking-hero .container {

    max-width:
        900px;

}


.booking-hero h1 {

    margin-bottom:
        15px;

}


.booking-hero p {

    max-width:
        650px;

}


/*
|--------------------------------------------------------------------------
| BOOKING WRAPPER
|--------------------------------------------------------------------------
*/

.booking-wrapper {

    padding:
        80px
        0
        110px;

    background:
        var(--light);

}


/*
|--------------------------------------------------------------------------
| PROGRESS
|--------------------------------------------------------------------------
*/

.booking-progress {

    max-width:
        850px;

    margin:
        0
        auto
        35px;

}


.progress-bar {

    width:
        100%;

    height:
        8px;

    overflow:
        hidden;

    border-radius:
        20px;

    background:
        #e2e8e3;

}


.progress-fill {

    width:
        25%;

    height:
        100%;

    border-radius:
        inherit;

    background:
        var(--primary);

    transition:
        width .35s ease;

}


#progressText {

    margin:
        10px
        0
        0;

    color:
        #68736f;

    font-size:
        .85rem;

    font-weight:
        700;

    text-align:
        center;

}


/*
|--------------------------------------------------------------------------
| BOOKING FORM
|--------------------------------------------------------------------------
*/

#bookingForm {

    max-width:
        850px;

    margin:
        0
        auto;

}


/*
|--------------------------------------------------------------------------
| BOOKING STEPS
|--------------------------------------------------------------------------
*/

.booking-step {

    display:
        none;

    padding:
        45px;

    border:
        1px solid
        #e4e9e5;

    border-radius:
        28px;

    background:
        var(--white);

    box-shadow:
        0
        20px
        50px
        rgba(38, 50, 56, .08);

}


.booking-step.active {

    display:
        block;

}


.booking-step h2 {

    display:
        flex;

    align-items:
        center;

    gap:
        12px;

    margin:
        0
        0
        35px;

    font-size:
        1.8rem;

    letter-spacing:
        -.03em;

}


.booking-step h2 i {

    color:
        var(--primary);

    font-size:
        1.35rem;

}


/*
|--------------------------------------------------------------------------
| SERVICE SELECTION
|--------------------------------------------------------------------------
*/

.booking-step .service-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        18px;

}


.service-option {

    position:
        relative;

    display:
        block;

    cursor:
        pointer;

}


.service-option input {

    position:
        absolute;

    opacity:
        0;

    pointer-events:
        none;

}


.service-option .service-card {

    height:
        100%;

    padding:
        28px;

    border:
        2px solid
        #e5eae6;

    border-radius:
        22px;

    background:
        #f8faf8;

    box-shadow:
        none;

    transition:
        border-color .25s ease,
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;

}


.service-option:hover .service-card {

    transform:
        translateY(-3px);

    border-color:
        #b9d9bc;

}


.service-option input:checked + .service-card {

    border-color:
        var(--primary);

    background:
        #f0f8f1;

    box-shadow:
        0
        0
        0
        4px
        rgba(76,175,80,.10);

}


.service-option .service-icon {

    margin-bottom:
        18px;

    font-size:
        2.5rem;

}


.service-option h3 {

    margin:
        0
        0
        10px;

}


.service-option p {

    margin:
        0
        0
        18px;

    color:
        #68736f;

    font-size:
        .92rem;

}


.service-option strong {

    color:
        var(--primary-dark);

}


/*
|--------------------------------------------------------------------------
| FORM GROUPS
|--------------------------------------------------------------------------
*/

.form-group {

    margin-bottom:
        28px;

}


.form-group > label,
.booking-step > label {

    display:
        block;

    margin-bottom:
        10px;

    font-weight:
        700;

}


.form-group small {

    color:
        #68736f;

}


/*
|--------------------------------------------------------------------------
| FREQUENCY OPTIONS
|--------------------------------------------------------------------------
*/

.frequency-options {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        18px;

}


.frequency-option {

    position:
        relative;

    display:
        block;

    cursor:
        pointer;

}


.frequency-option input {

    position:
        absolute;

    opacity:
        0;

}


.frequency-option span {

    display:
        flex;

    flex-direction:
        column;

    gap:
        5px;

    min-height:
        105px;

    justify-content:
        center;

    padding:
        20px;

    border:
        2px solid
        #e5eae6;

    border-radius:
        18px;

    background:
        #f8faf8;

    transition:
        border-color .25s ease,
        background .25s ease,
        box-shadow .25s ease;

}


.frequency-option:hover span {

    border-color:
        #b9d9bc;

}


.frequency-option input:checked + span {

    border-color:
        var(--primary);

    background:
        #f0f8f1;

    box-shadow:
        0
        0
        0
        4px
        rgba(76,175,80,.08);

}


.frequency-option strong {

    font-size:
        1.05rem;

}


.frequency-option small {

    font-size:
        .85rem;

    line-height:
        1.45;

}


/*
|--------------------------------------------------------------------------
| CONDITIONAL SECTIONS
|--------------------------------------------------------------------------
*/

.booking-frequency-section {

    margin-top:
        10px;

    padding:
        25px;

    border:
        1px solid
        #e5eae6;

    border-radius:
        20px;

    background:
        #fafcfb;

}


.booking-frequency-section[hidden],
#timeOptionsSection[hidden] {

    display:
        none;

}


/*
|--------------------------------------------------------------------------
| INPUTS
|--------------------------------------------------------------------------
*/

.booking-step input[type="text"],
.booking-step input[type="email"],
.booking-step input[type="tel"],
.booking-step input[type="date"],
.booking-step select,
.booking-step textarea {

    width:
        100%;

    padding:
        13px
        15px;

    border:
        1px solid
        #d9e0da;

    border-radius:
        12px;

    background:
        var(--white);

    color:
        var(--dark);

    font:
        inherit;

    outline:
        none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;

}


.booking-step input:focus,
.booking-step select:focus,
.booking-step textarea:focus {

    border-color:
        var(--primary);

    box-shadow:
        0
        0
        0
        3px
        rgba(76,175,80,.10);

}


.booking-step textarea {

    min-height:
        130px;

    resize:
        vertical;

}


/*
|--------------------------------------------------------------------------
| FORM GRID
|--------------------------------------------------------------------------
*/

.form-grid {

    display:
        grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap:
        22px;

    margin-bottom:
        25px;

}


.form-grid > div label {

    display:
        block;

    margin-bottom:
        8px;

    font-weight:
        700;

}


/*
|--------------------------------------------------------------------------
| DAY OPTIONS
|--------------------------------------------------------------------------
*/

.day-options {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        10px;

}


.day-option {

    cursor:
        pointer;

}


.day-option input {

    position:
        absolute;

    opacity:
        0;

}


.day-option span {

    display:
        block;

    padding:
        11px
        8px;

    border:
        1px solid
        #dce3dd;

    border-radius:
        10px;

    background:
        var(--white);

    font-size:
        .85rem;

    font-weight:
        600;

    text-align:
        center;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}


.day-option:hover span {

    border-color:
        #b9d9bc;

}


.day-option input:checked + span {

    border-color:
        var(--primary);

    background:
        var(--primary);

    color:
        var(--white);

}


/*
|--------------------------------------------------------------------------
| TIME OPTIONS
|--------------------------------------------------------------------------
*/

.time-options {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        12px;

}


.time-option {

    cursor:
        pointer;

}


.time-option input {

    position:
        absolute;

    opacity:
        0;

}

.time-option-icon {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        55px;

    padding:
        10px;

    border: none;

    border-radius:
        12px;

    background:
        var(--white);

    font-size:
        .88rem;

    font-weight:
        600;

    text-align:
        center;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}

.time-option span {

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        55px;

    padding:
        10px;

    border:
        1px solid
        #dce3dd;

    border-radius:
        12px;

    background:
        var(--white);

    font-size:
        .88rem;

    font-weight:
        600;

    text-align:
        center;

    transition:
        background .2s ease,
        border-color .2s ease,
        color .2s ease;

}



.time-option:hover span {

    border-color:
        #b9d9bc;

}


.time-option input:checked + span {

    border-color:
        var(--primary);

    background:
        #f0f8f1;

    color:
        var(--primary-dark);

}


/*
|--------------------------------------------------------------------------
| REVIEW
|--------------------------------------------------------------------------
*/

.review-card {

    overflow:
        hidden;

    margin-bottom:
        35px;

    border:
        1px solid
        #e2e8e3;

    border-radius:
        18px;

}


.review-card table {

    width:
        100%;

    border-collapse:
        collapse;

}


.review-card th,
.review-card td {

    padding:
        16px
        20px;

    border-bottom:
        1px solid
        #e8ece9;

    text-align:
        left;

    vertical-align:
        top;

}


.review-card tr:last-child th,
.review-card tr:last-child td {

    border-bottom:
        none;

}


.review-card th {

    width:
        32%;

    background:
        #f7faf7;

    font-weight:
        700;

}


.review-card td {

    background:
        var(--white);

}


/*
|--------------------------------------------------------------------------
| WIZARD BUTTONS
|--------------------------------------------------------------------------
*/

.wizard-buttons {

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        15px;

    margin-top:
        35px;

}


.wizard-buttons .btn {

    min-width:
        125px;

    justify-content:
        center;

}


.wizard-buttons .btn-secondary {

    background:
        #e9efea;

    color:
        var(--dark);

}


.wizard-buttons .btn-secondary:hover {

    background:
        #dce5dd;

}


/*
|--------------------------------------------------------------------------
| VALIDATION
|--------------------------------------------------------------------------
*/

.booking-step input.error,
.booking-step select.error,
.booking-step textarea.error {

    border-color:
        #d9534f;

    box-shadow:
        0
        0
        0
        3px
        rgba(217,83,79,.08);

}


.booking-step .service-option input.error + .service-card,
.booking-step .frequency-option input.error + span,
.booking-step .time-option input.error + span,
.booking-step .day-option input.error + span {

    border-color:
        #d9534f;

}


/*
|--------------------------------------------------------------------------
| BUTTON ICONS
|--------------------------------------------------------------------------
*/

.wizard-buttons .btn i {

    font-size:
        .85rem;

}


/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) {

    .booking-step {

        padding:
            35px;

    }


    .day-options {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .time-options {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


@media (max-width: 700px) {

    .booking-wrapper {

        padding:
            55px
            0
            80px;

    }


    .booking-step {

        padding:
            25px;

        border-radius:
            22px;

    }


    .booking-step h2 {

        font-size:
            1.5rem;

    }


    .booking-step .service-grid,
    .frequency-options,
    .form-grid {

        grid-template-columns:
            1fr;

    }


    .day-options {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .time-options {

        grid-template-columns:
            1fr;

    }


    .wizard-buttons {

        flex-direction:
            column-reverse;

        align-items:
            stretch;

    }


    .wizard-buttons .btn {

        width:
            100%;

    }


    .review-card {

        overflow-x:
            auto;

    }


    .review-card table {

        min-width:
            520px;

    }

}


@media (max-width: 480px) {

    .booking-hero {

        padding:
            55px
            0;

    }


    .booking-step {

        padding:
            20px;

    }


    .booking-step .service-card {

        padding:
            22px;

    }


    .booking-frequency-section {

        padding:
            18px;

    }


    .day-options {

        grid-template-columns:
            1fr
            1fr;

    }


    .progress-bar {

        height:
            6px;

    }

}

/* Hide the booking spam-protection honeypot */
.booking-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Hide frequency icons until their option is selected */
.frequency-option-icon.frequency-option-icon-hidden {
    display: none;
}

/* Hide selection ticks until their option is selected */
.selection-indicator.selection-indicator-hidden {
    display: none;
}