/* Base typography */
html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

/*@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}*/
:root {
    --bg: #f6f7f9; /* page background */
    --surface: #ffffff; /* cards */
    --ink: #1d232a; /* main text */
    --muted: #6b7280; /* secondary text */
    --line: #e6e8ee; /* dividers/borders */
    --accent: #3b82f6; /* subtle brand accent (links/focus) */
    --accent-ink: #0f172a;
    --chip: #eef2f7; /* edit chip surface */
    --chip-ink: #2c3440;
    --ring: rgba(59,130,246,.35); /* focus ring */
    --shadow-sm: 0 6px 18px rgba(17, 24, 39, .06);
    --shadow-md: 0 12px 32px rgba(17, 24, 39, .08);
    --radius-xl: 16px;
    --radius-2xl: 22px;
    --pad: 1.25rem;
}

/*body {
    background: var(--bg);
    color: var(--ink);
    font-feature-settings: "ss01" on, "liga" on;
}*/
/* Headings */
/*h1, h2, h3 {
    letter-spacing: .2px
}*/

body {
    margin-bottom: 60px;
    font-family: 'Segoe UI', sans-serif;
    color: #212529;
    background: var(--bg);
}

h1, h2, h3 {    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Focus styles for accessibility */
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
    outline: none;
}

/* Quote panel */
.quote-panel {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
}

    .quote-panel .form-control {
        border-radius: 6px;
    }

/* Orange button styling */
.btn-orange {
    background-color: #ff6600;
    color: #fff;
    transition: background-color 0.3s ease;
}

    .btn-orange:hover {
        background-color: #e65c00;
    }

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pop {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Card layout */
/* Card layout */
.card, .custom-card, .van-card {
    /* REMOVE the max-width and margin override */
    /* max-width: 600px; */
    /* margin: 40px auto; */
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.7s ease-out;
}
/* Section header */
.custom-card-header {
    padding: 30px;
    text-align: center;
    color: #fff;
    background-color: #333;
}

    .custom-card-header h2 {
        margin-top: 15px;
        font-size: 28px;
    }

/* Icons and body */
.icon {
    font-size: 60px;
    animation: pop 0.5s ease;
}

.card-body {
    padding: 30px 25px;
    text-align: center;
    font-size: 16px;
    color: #212529;
}

/* Reusable button style */
.btn-primary {
    background-color: #258cfb;
    color: #fff;
    border: none;
}

    .btn-primary:hover {
        background-color: #1d6edb;
    }


/* Van listing layout */
.van-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}

.van-card {
    flex: 1 1 300px;
    max-width: 400px;
}

.van-image {
    max-height: 180px;
    width: 100%;
    object-fit: contain;
    border-radius: 8px;
}

@media (max-width: 576px) {
    .wizard-nav-wrapper {
        position: sticky;
        top: 0;
        z-index: 1050;
        background-color: #fff;
        padding-top: 0.5rem;
    }    
    .wizard-step .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .wizard-step .d-flex.justify-content-between {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/*@media (prefers-color-scheme: dark) {
    body {
        background-color: #121212;
        color: #f1f1f1;
    }

    .form-control {
        background-color: #1e1e1e;
        color: #fff;
    }
}*/

.wizard-nav-wrapper {
    display: flex;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

#wizardNav {
    white-space: nowrap;
    scrollbar-width: none; /* Firefox */
}

    #wizardNav::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    #wizardNav .nav-link {
        flex-shrink: 0;
    }

/*@media (max-width: 576px) {
    .profile-image-wrapper {
        bottom: -40px;
        left: 16px;
    }*/

    .profile-image {
        width: 80px;
        height: 80px;
    }
}


 /* Drivers  */
/* Driver Card Container */
/*.driver-card {
    display: flex;
    justify-content: center;
}*/

/* Image Styling */
/*.driver-photo {
    max-width: 180px;
    border-radius: 8px;
}*/

/* Info Column */
/*.driver-details {
    min-width: 250px;
}
*/
/* Price Box */
/*.total-price-box {
    min-width: 160px;
    text-align: center;
    align-self: center;
}
*/
@media (max-width: 768px) {
    .driver-card .card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .driver-details {
        text-align: center;
    }
}


@media (max-width: 576px) {
    .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
    }

    .progress-bar {
        font-size: 0.65rem;
        padding: 0.2rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}
.driver-card {
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: box-shadow 0.3s;
}

    .driver-card:hover {
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    }

.driver-photo {
    width: 120px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
}

.total-price-box .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}





    .quote-editor h2 {
        font-size: clamp(1.35rem, 1.2rem + .6vw, 1.75rem)
    }
    /* Buttons – refined */
    .btn {
        border-radius: 12px;
        transition: transform .08s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    }

        .btn:focus-visible {
            outline: none;
            box-shadow: 0 0 0 3px var(--ring)
        }

    .btn-primary {
        background: linear-gradient(180deg, #3c86f7, #2f79ee);
        border: 0;
    }

        .btn-primary:hover {
            filter: brightness(.98);
            box-shadow: var(--shadow-sm)
        }

    .btn-outline-dark {
        border: 1px solid var(--line);
        background: #fff;
        color: var(--ink);
    }

        .btn-outline-dark:hover {
            border-color: #cfd3dc;
            box-shadow: var(--shadow-sm);
        }
    /* Cards & Summary */
    .summary-card,
    .card.shadow {
        border: 1px solid var(--line);
        border-radius: var(--radius-2xl);
        background: var(--surface);
        box-shadow: var(--shadow-md);
    }

        .summary-card .display-6 {
            letter-spacing: -.2px
        }
    /* ===========
       Strips / Accordion
       =========== */
    .quote-editor .strip {
        border: 1px solid var(--line);
        border-radius: var(--radius-2xl);
        background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.95)) padding-box, linear-gradient(180deg, #f1f3f8, #e8ebf3) border-box; /* elegant border */
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }
        /* Do NOT use red/blue states; keep neutral and use a left indicator bar */
        .quote-editor .strip::before {
            content: "";
            position: absolute;
            inset: 0 0 0 auto;
        }

    .quote-editor .accordion-button {
        background: transparent;
        padding: var(--pad) calc(var(--pad) + .75rem);
        border-radius: 0;
    }

        .quote-editor .accordion-button:focus {
            box-shadow: none;
        }

        .quote-editor .accordion-button.collapsed {
            background: linear-gradient(180deg, #ffffff, #fbfcfe);
        }

    .quote-editor .accordion-body {
        background: #fbfcfe;
        padding: calc(var(--pad) + .25rem);
        border-top: 1px dashed var(--line);
    }
    /* Edit pill on right */
    .quote-editor .edit-chip {
        background: var(--chip);
        color: var(--chip-ink);
        border: 1px solid #d7dce5;
        border-radius: 999px;
        padding: .35rem 1rem;
        font-weight: 600;
        letter-spacing: .1px;
    }

    .quote-editor .accordion-button:not(.collapsed) .edit-chip {
        background: #e9eef7;
        border-color: #cfd7e6;
    }
    /* Icons + titles */
    .quote-editor .accordion-header i {
        opacity: .75;
        filter: saturate(.9);
    }

    .quote-editor small.text-muted {
        color: var(--muted) !important
    }
    /* Inputs */
    .form-control, .form-select {
        border-radius: 12px;
        border: 1px solid var(--line);
        padding: .7rem .9rem;
        background: #fff;
        transition: border-color .2s ease, box-shadow .2s ease;
    }

        .form-control:focus, .form-select:focus {
            border-color: #c6cbe0;
            box-shadow: 0 0 0 3px var(--ring);
        }
    /* Validation summary */
    #validationSummary {
        border-radius: 14px;
        border: 1px solid #f2d6d6;
        background: #fff5f5;
    }
    /* List-group in summary */
    .summary-card .list-group-item {
        border: 0;
        padding: .55rem 0;
        color: var(--muted);
    }

        .summary-card .list-group-item strong {
            color: var(--ink);
            font-weight: 700;
        }
    /* Utility spacing tweaks */
    .quote-editor .row.g-4 {
        --bs-gutter-y: 1.5rem
    }

    .position-sticky {
        will-change: transform
    }
    /* Subtle hover elevation on strips */
    .quote-editor .strip:hover {
        box-shadow: 0 14px 36px rgba(17,24,39,.10);
        transform: translateY(-1px);
        transition: transform .15s ease, box-shadow .25s ease;
    }
    /* Make the header layout breathe on small screens */
    @media (max-width: 576px) {
        .quote-editor .accordion-button {
            padding: 1rem
        }

        .quote-editor .edit-chip {
            display: none
        }
        /* keep header clean on phones */
    }


 