﻿ 
/* ────────────────────────────────────────────────
       GLOBAL WIZARD STYLES (shared across site)
    ──────────────────────────────────────────────────── */
/* Typography */
body {
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* Modern input/select/autotrader style */
.modern-input,
.modern-select {
    border-radius: 10px;
    height: 48px;
    font-size: 1rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid #d0d4d9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

    .modern-input:focus,
    .modern-select:focus {
        border-color: #0d6efd !important;
        box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
    }

/* Labels */
.autotrader-form label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2b2b2b;
    margin-bottom: 0.25rem;
}

/* Disabled DVLA button */
#lookupVrmBtn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
}

/* Mileage Stepper */
.input-group button {
    width: 48px;
    font-size: 1.2rem;
    font-weight: bold;
}

#Mileage {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Image preview */
#profilePreview {
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* Datepickers */
.flatpickr-input {
    background-color: #fff !important;
    cursor: pointer;
}

/* ────────────────────────────────────────────────
       WIZARD NAVIGATION (Shared across all multi-step forms)
    ──────────────────────────────────────────────────── */

#wizardNav {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin-bottom: 1.2rem;
}

    #wizardNav::-webkit-scrollbar {
        display: none;
    }

    #wizardNav .nav-link {
        border-radius: 12px;
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        font-weight: 500;
        white-space: nowrap;
        border: 1px solid #dee2e6;
        background-color: #f8f9fa;
        color: #212529;
        transition: all 0.2s ease-in-out;
    }

        #wizardNav .nav-link:hover {
            transform: translateY(-1px);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        /* ACTIVE STEP */
        #wizardNav .nav-link.active {
            background-color: #0d6efd !important;
            color: #fff !important;
            border-color: #0d6efd;
        }

        /* COMPLETED STEP */
        #wizardNav .nav-link.completed {
            background-color: #d1e7dd !important;
            color: #0f5132 !important;
            border-color: #badbcc;
        }

        /* Icons */
        #wizardNav .nav-link i {
            font-size: 1.1rem;
            margin-right: 0.25rem;
        }

/* MOBILE BEHAVIOUR */
@@media (max-width: 768px) {
    #wizardNav {
        justify-content: flex-start;
    }

        #wizardNav .nav-link {
            flex: 0 0 auto;
            min-width: 110px;
            padding: 0.5rem 0.8rem;
            font-size: 0.82rem;
        }

            #wizardNav .nav-link span {
                display: none;
            }

            #wizardNav .nav-link i {
                font-size: 1.25rem;
                margin: 0;
            }
}

/* Pricing-sensitive step (Date & Price) */
#wizardNav .nav-link.pricing-step {
    background: linear-gradient(135deg, #fff3cd, #ffe69c);
    border-color: #ffecb5;
    color: #664d03;
}

    #wizardNav .nav-link.pricing-step.active {
        background: linear-gradient(135deg, #fd7e14, #ffb020) !important;
        border-color: #fd7e14;
        color: #fff !important;
    }

#wizardNav .nav-link.pricing-complete {
    background-color: #e7f1ff !important;
    border-color: #b6d4fe;
    color: #084298;
}


/* Tab fade animations */
.tab-content {
    transition: opacity 0.3s ease-in-out;
}

.tab-pane {
    transition: opacity 0.4s ease;
}

 