﻿/* ============================================================
   BOOKING PAGE - MODERN CHECKOUT
   Drop this at the END of modern.css
   ============================================================ */

.hc-booking-header {
    padding: 38px 0;
    background: #f6f7f9;
    border-bottom: 1px solid #e5e7eb;
}

.hc-booking-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hc-booking-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--hc-primary);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
}

.hc-booking-header h1 {
    margin: 0 0 5px;
    color: var(--hc-heading);
    font-size: 30px;
    line-height: 1.2;
}

.hc-booking-header p {
    margin: 0;
    color: var(--hc-muted);
    font-size: 13px;
}

.hc-booking-steps {
    display: flex;
    align-items: center;
    gap: 24px;
}

    .hc-booking-steps span {
        display: flex;
        align-items: center;
        gap: 7px;
        color: #9299a1;
        font-size: 11px;
        font-weight: 700;
        white-space: nowrap;
    }

    .hc-booking-steps b,
    .hc-booking-steps i {
        width: 26px;
        height: 26px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 26px;
        margin: 0;
        background: #e6e8eb;
        border-radius: 50%;
        color: #747c85;
        font-size: 10px;
        font-style: normal;
    }

    .hc-booking-steps .complete {
        color: #6d757e;
    }

        .hc-booking-steps .complete i {
            background: #e8f5ed;
            color: #358352;
        }

    .hc-booking-steps .active {
        color: var(--hc-heading);
    }

        .hc-booking-steps .active b {
            background: var(--hc-primary);
            color: #fff;
        }


/* Main page */

.listing-page {
    background: #f6f7f9;
}

.hc-booking-main,
.hc-booking-sidebar {
    padding-top: 38px;
    padding-bottom: 55px;
}


/* Vehicle summary */

.hc-booking-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
    padding: 22px 25px;
    background: #fff;
    border: 1px solid #e2e5e8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.04);
}

.hc-booking-summary-main {
    display: flex;
    align-items: center;
    gap: 17px;
    min-width: 0;
}

.hc-booking-summary-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    background: var(--hc-primary-soft);
    border-radius: 9px;
    color: var(--hc-primary);
    font-size: 20px;
}

.hc-summary-label {
    display: block;
    margin-bottom: 3px;
    color: #959ca4;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .08em;
}

.hc-booking-summary h2 {
    margin: 0 0 7px;
    color: var(--hc-heading);
    font-size: 21px;
    line-height: 1.2;
}

    .hc-booking-summary h2 small {
        color: #8b939c;
        font-size: 12px;
        font-weight: 400;
    }

.hc-booking-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    color: #747c85;
    font-size: 11px;
}

    .hc-booking-meta i {
        margin-right: 4px;
        color: var(--hc-primary);
    }

    .hc-booking-meta strong {
        color: #535b64;
    }

.hc-booking-summary-price {
    min-width: 160px;
    padding-left: 25px;
    border-left: 1px solid #e5e7eb;
    text-align: right;
}

    .hc-booking-summary-price span,
    .hc-booking-summary-price small {
        display: block;
        color: #8a929b;
        font-size: 10px;
    }

    .hc-booking-summary-price strong {
        display: block;
        margin: 2px 0;
        color: var(--hc-heading);
        font-size: 25px;
        line-height: 1.2;
    }


/* Alerts */

.hc-booking-alert,
.hc-booking-main > [id$="pnlWarning"],
.hc-booking-main > [id$="pnlWarning2"] {
    margin-bottom: 22px;
    padding: 15px 18px;
    background: #fff8e5;
    border: 1px solid #f0dfa0;
    border-radius: 8px;
    color: #62583b;
}

.hc-booking-alert {
    display: flex;
    gap: 13px;
}

    .hc-booking-alert > i {
        margin-top: 3px;
        color: #bd8d19;
    }

    .hc-booking-alert strong {
        color: #4f4732;
    }

    .hc-booking-alert p {
        margin: 3px 0 0;
        font-size: 12px;
        line-height: 1.55;
    }


/* Form cards */

.hc-form-card {
    width: 100%;
    margin: 0 15px 22px;
    background: #fff;
    border: 1px solid #e2e5e8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
    overflow: hidden;
}

.hc-form-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 18px 22px;
    border-bottom: 1px solid #eceef0;
}

.hc-form-card-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    background: var(--hc-primary-soft);
    border-radius: 8px;
    color: var(--hc-primary);
}

.hc-form-card-heading h2 {
    margin: 0 0 2px;
    color: var(--hc-heading);
    font-size: 17px;
    line-height: 1.25;
}

.hc-form-card-heading p {
    margin: 0;
    color: var(--hc-muted);
    font-size: 11px;
}

.hc-form-body {
    padding: 22px;
}

    .hc-form-body .control-label {
        display: block;
        margin: 0 0 6px;
        color: #464d55;
        font-size: 11px;
        font-weight: 700;
    }

        .hc-form-body .control-label:not(:first-child) {
            margin-top: 16px;
        }

        .hc-form-body .control-label > span {
            color: var(--hc-primary);
        }

    .hc-form-body input.form-control,
    .hc-form-body select.form-control,
    .hc-form-body textarea.form-control {
        width: 100%;
        height: 44px;
        padding: 9px 11px;
        background: #fff !important;
        border: 1px solid #dce0e4 !important;
        border-radius: 6px !important;
        color: #30363d;
        box-shadow: none !important;
    }

        .hc-form-body input.form-control:focus,
        .hc-form-body select.form-control:focus,
        .hc-form-body textarea.form-control:focus {
            border-color: var(--hc-primary) !important;
            box-shadow: 0 0 0 3px rgba(178,93,134,.10) !important;
            outline: none;
        }

    /* DOB controls */

    .hc-form-body select.inline {
        display: inline-block !important;
        width: auto !important;
        margin-right: 6px;
    }

    /* WebForms checkbox renders a wrapper span because CssClass is on the CheckBox */
    .hc-form-body span.form-control {
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        min-height: 44px;
        padding: 10px 12px;
        background: #f8f9fa !important;
        border: 1px solid #dce0e4 !important;
        border-radius: 6px !important;
        box-shadow: none !important;
    }

        .hc-form-body span.form-control input[type="checkbox"] {
            width: 16px;
            height: 16px;
            margin: 0 8px 0 0;
        }

        .hc-form-body span.form-control label {
            margin: 0;
            color: #535b64;
            font-size: 12px;
            font-weight: 400;
        }

    /* Validators */

    .hc-form-body .control-label strong {
        margin-left: 5px;
        color: #b84747;
        font-size: 10px;
        font-weight: 600;
    }

[id$="valSummary1"],
[id$="ValidationSummary1"] {
    margin: 0 0 20px;
    padding: 14px 17px;
    background: #fff1f1;
    border: 1px solid #eccaca;
    border-radius: 7px;
    color: #a33f3f;
    font-size: 11px;
}

    [id$="valSummary1"] h4,
    [id$="ValidationSummary1"] h4 {
        margin: 0 0 7px;
        color: #913838;
        font-size: 13px;
    }


/* Insurance */

.hc-insurance-section {
    margin: 6px 0 25px;
    padding-bottom: 24px;
    background: #fff;
    border: 1px solid #e2e5e8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
    overflow: hidden;
}

    .hc-insurance-section > .row {
        margin-left: 0;
        margin-right: 0;
        padding: 22px 7px 0;
    }

    .hc-insurance-section h4 {
        margin: 0 0 12px;
        color: var(--hc-heading);
        font-size: 15px;
        line-height: 1.35;
    }

        .hc-insurance-section h4.insurancePage {
            margin-top: 22px;
        }

    .hc-insurance-section p {
        color: #626a73;
        font-size: 12px;
        line-height: 1.65;
    }

    .hc-insurance-section .fa-ul {
        margin-top: 14px;
    }

        .hc-insurance-section .fa-ul li {
            margin-bottom: 8px;
            color: #606871;
            font-size: 12px;
            line-height: 1.45;
        }

    .hc-insurance-section .green {
        color: #3c9560 !important;
    }

    .hc-insurance-section .red {
        color: #c26060 !important;
    }

    .hc-insurance-section .insuranceCost {
        display: block;
        margin: 12px 0 5px;
        color: var(--hc-heading);
        font-size: 24px;
        font-weight: 700;
    }

    .hc-insurance-section .btn {
        min-height: 46px;
        padding: 11px 18px;
        background: var(--hc-primary) !important;
        border: 0 !important;
        border-radius: 6px !important;
        color: #fff !important;
        font-size: 12px;
        font-weight: 700;
        white-space: normal;
    }

        .hc-insurance-section .btn:hover,
        .hc-insurance-section .btn:focus {
            background: var(--hc-primary-dark) !important;
            color: #fff !important;
        }

    .hc-insurance-section > .row:last-child > .col-md-12:last-child {
        margin-top: 18px;
        padding-top: 18px;
        border-top: 1px solid #eceef0;
        color: #7a828b;
        font-size: 10px;
        line-height: 1.6;
    }

    .hc-insurance-section a {
        color: var(--hc-primary);
        text-decoration: underline;
    }


/* No-insurance / all-inclusive panel */

[id$="pnlNoInsurance"] {
    margin: 6px 0 25px;
    padding: 22px;
    background: #fff;
    border: 1px solid #e2e5e8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
    color: #626a73;
    font-size: 12px;
}

    [id$="pnlNoInsurance"] .btn {
        min-height: 46px;
        background: var(--hc-primary) !important;
        border: 0 !important;
        border-radius: 6px !important;
        color: #fff !important;
        font-weight: 700;
    }


/* Assistance sidebar */

.hc-assistance-card,
.hc-booking-reassurance {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e5e8;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0,0,0,.035);
}

.hc-assistance-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    background: var(--hc-primary-soft);
    border-radius: 50%;
    color: var(--hc-primary);
}

.hc-assistance-card h3 {
    margin: 0 0 8px;
    color: var(--hc-heading);
    font-size: 17px;
}

.hc-assistance-card > p {
    margin: 0 0 19px;
    color: #777f88;
    font-size: 11px;
    line-height: 1.6;
}

.hc-assistance-link {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 13px 0;
    color: var(--hc-heading) !important;
    text-decoration: none !important;
}

    .hc-assistance-link > i {
        width: 28px;
        flex: 0 0 28px;
        color: var(--hc-primary);
        text-align: center;
    }

    .hc-assistance-link span {
        min-width: 0;
        font-size: 11px;
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .hc-assistance-link small {
        display: block;
        color: #989fa7;
        font-size: 9px;
        font-weight: 400;
        text-transform: uppercase;
    }

.hc-assistance-address {
    display: flex;
    gap: 10px;
    margin-top: 18px;
    padding-top: 17px;
    border-top: 1px solid #eceef0;
    color: #777f88;
    font-size: 10px;
    line-height: 1.55;
}

    .hc-assistance-address i {
        width: 28px;
        flex: 0 0 28px;
        color: var(--hc-primary);
        text-align: center;
    }

.hc-booking-reassurance {
    margin-top: 15px;
}

    .hc-booking-reassurance > div {
        display: flex;
        gap: 9px;
        margin-bottom: 15px;
        color: #848b93;
        font-size: 10px;
        line-height: 1.45;
    }

        .hc-booking-reassurance > div:last-child {
            margin-bottom: 0;
        }

    .hc-booking-reassurance i {
        margin-top: 2px;
        color: #4c9a69;
    }

    .hc-booking-reassurance strong {
        display: block;
        color: #505861;
        font-size: 11px;
    }


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {

    .hc-booking-header-inner {
        display: block;
    }

    .hc-booking-steps {
        margin-top: 22px;
    }

    .hc-booking-main {
        padding-bottom: 20px;
    }

    .hc-booking-sidebar {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {

    .hc-booking-header {
        padding: 28px 0;
    }

        .hc-booking-header h1 {
            font-size: 25px;
        }

    .hc-booking-steps {
        flex-wrap: wrap;
        gap: 12px;
    }

        .hc-booking-steps span {
            font-size: 9px;
        }

    .hc-booking-summary {
        display: block;
        padding: 19px;
    }

    .hc-booking-summary-price {
        margin-top: 18px;
        padding: 16px 0 0;
        border-top: 1px solid #e5e7eb;
        border-left: 0;
        text-align: left;
    }

    .hc-form-card {
        margin-left: 15px;
        margin-right: 15px;
    }

    .hc-form-card-heading,
    .hc-form-body {
        padding-left: 17px;
        padding-right: 17px;
    }

        .hc-form-body select.inline {
            margin-bottom: 7px;
        }

    .hc-insurance-section > .row {
        padding-left: 2px;
        padding-right: 2px;
    }
}

.hc-form-card-heading {
    padding: 16px 22px !important;
}