/* Minification failed. Returning unminified contents.
(664,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(707,33): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(744,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(823,22): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1123,28): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1179,24): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
(1187,17): run-time error CSS1039: Token not allowed after unary operator: '-primary-color'
 */
/* Build and Price Configure Page - Drivethru Layout */
.bpv2-configure-page {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 0 15px 60px 15px;
    margin-left: 0 !important;
}

.bpv2-configure-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Back Navigation */
.bpv2-back-nav {
    padding: 15px 0;
}
.bpv2-back-nav a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}
.bpv2-back-nav a:hover {
    color: #003478;
}
.bpv2-back-nav .fa {
    margin-right: 5px;
}

/* Main Layout - Drivethru Style */
.bpv2-main-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.bpv2-content-col {
    flex: 0 0 60%;
    min-width: 0;
}

.bpv2-sidebar-col {
    flex: 0 0 calc(40% - 30px);
    flex-shrink: 0;
    position: sticky;
    top: 20px;
}

/* Hero Card - Vehicle Image and Title */
.bpv2-hero-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bpv2-hero-content {
    display: flex;
    flex-direction: column;
    padding: 25px;
}

/* Info Header - Title and Specs above gallery */
.bpv2-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 20px;
}

.bpv2-info-title-row {
    flex-shrink: 0;
}

.bpv2-gallery-col {
    width: 100%;
}

/* Gallery Styles */
.bpv2-gallery-main {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.bpv2-gallery-main img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery Loading Spinner */
.bpv2-gallery-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.bpv2-gallery-loader.active {
    display: flex;
}

.bpv2-gallery-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e0e0e0;
    border-top-color: #003478;
    border-radius: 50%;
    animation: bpv2-spin 0.8s linear infinite;
}

@keyframes bpv2-spin {
    to {
        transform: rotate(360deg);
    }
}

.bpv2-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.2s;
}

.bpv2-gallery-nav:hover {
    background: rgba(0,0,0,0.7);
}

.bpv2-gallery-prev { left: 10px; }
.bpv2-gallery-next { right: 10px; }

.bpv2-gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
}

.bpv2-gallery-thumb {
    width: 70px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 2px solid transparent;
    transition: all 0.2s;
    flex-shrink: 0;
}

.bpv2-gallery-thumb:hover,
.bpv2-gallery-thumb.active {
    opacity: 1;
    border-color: #003478;
}

.bpv2-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Vehicle Info */
.bpv2-vehicle-title {
    font-size: 28px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.bpv2-vehicle-trim {
    font-size: 20px;
    font-weight: 400;
    color: #666;
    margin: 0;
    display: inline;
}

.bpv2-details-toggle {
    display: inline;
    color: #003478;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
}

.bpv2-details-toggle:hover {
    text-decoration: underline;
}

.bpv2-trim-row {
    margin-bottom: 0;
}

/* Specs Grid */
.bpv2-specs-grid {
    display: flex;
    gap: 12px;
    margin-bottom: 0;
}

.bpv2-specs-grid.collapsed {
    display: none;
}

.bpv2-spec-cell {
    background: #f8f9fa;
    padding: 10px 14px;
    border-radius: 6px;
}

.bpv2-spec-value {
    font-weight: 700;
    color: #000000;
    font-size: 14px;
    margin-bottom: 2px;
}

.bpv2-spec-label {
    color: #777;
    font-size: 11px;
}

/* Configuration Sections */
.bpv2-config-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bpv2-section-title {
    font-size: 20px;
    font-weight: 700;
    color: #000000;
    margin: 0 0 20px 0;
}

/* Color Swatches */
.bpv2-color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.bpv2-color-swatch {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.bpv2-color-swatch:hover {
    border-color: #999;
}

.bpv2-color-swatch.active {
    border-color: #003478;
}

.bpv2-color-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
}

.bpv2-selected-color {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

.bpv2-selected-color-name {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.bpv2-selected-color-price {
    font-size: 14px;
    color: #003478;
    font-weight: 600;
    margin-left: 8px;
}

/* Key Features */
.bpv2-feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.bpv2-feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.bpv2-feature-list li .fa {
    color: #28a745;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Sidebar - Calculator Card */
.bpv2-calculator-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    overflow: hidden;
}

.bpv2-calc-price-header {
    background: #000000;
    color: #fff;
    padding: 25px;
    text-align: center;
}

.bpv2-calc-price-value {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 5px;
}

.bpv2-calc-price-label {
    font-size: 14px;
    opacity: 0.8;
}

.bpv2-calc-body {
    padding: 20px;
}

/* Payment Tabs */
.bpv2-payment-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.bpv2-payment-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.bpv2-payment-tab:hover {
    color: #333;
}

.bpv2-payment-tab.active {
    color: #003478;
}

.bpv2-payment-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #003478;
}

/* Payment Content */
.bpv2-payment-content {
    display: none;
}

.bpv2-payment-content.active {
    display: block;
}

.bpv2-payment-result {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 20px;
}

.bpv2-payment-amount {
    font-size: 32px;
    font-weight: 700;
    color: #000000;
}

.bpv2-payment-amount span {
    font-size: 16px;
    font-weight: 400;
    color: #666;
}

.bpv2-payment-details {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

/* Term Buttons */
.bpv2-term-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.bpv2-term-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.bpv2-term-btn:hover {
    border-color: #003478;
}

.bpv2-term-btn.active {
    background: #003478;
    color: #fff;
    border-color: #003478;
}

/* Form Group */
.bpv2-form-group {
    margin-bottom: 15px;
}

.bpv2-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.bpv2-form-group select,
.bpv2-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

/* Price Breakdown */
.bpv2-price-breakdown {
    margin-top: 0;
}

.bpv2-price-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.bpv2-price-row.total {
    border-top: 2px solid #000000;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

/* CTA Buttons */
.bpv2-cta-section {
    padding: 20px;
    border-top: 1px solid #e0e0e0;
}

.bpv2-cta-btn {
    display: block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 10px;
    text-decoration: none;
}

.bpv2-cta-btn.primary {
    background: #003478;
    color: #fff;
}

.bpv2-cta-btn.primary:hover {
    background: #002a5c;
    color: #fff;
}

.bpv2-cta-btn.outline {
    background: #fff;
    color: #333;
    border: 2px solid #ddd;
}

.bpv2-cta-btn.outline:hover {
    border-color: #003478;
    color: #003478;
}

.bpv2-cta-btn .fa {
    margin-right: 8px;
}

/* Responsive */
@media (max-width: 1200px) {
    .bpv2-content-col {
        flex: 0 0 55%;
    }
    
    .bpv2-sidebar-col {
        flex: 0 0 calc(45% - 30px);
    }
    
    /* Stack info header on smaller screens */
    .bpv2-info-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .bpv2-specs-grid {
        flex-wrap: wrap;
    }
}

@media (max-width: 992px) {
    .bpv2-main-layout {
        flex-direction: column;
    }
    
    .bpv2-sidebar-col {
        width: 100%;
        flex: none;
        position: static;
        order: 10;
    }
    
    .bpv2-content-col {
        width: 100%;
        flex: none;
        order: 1;
    }
    
    /* Hide specs by default on tablet/mobile, show with toggle */
    .bpv2-specs-grid {
        display: none;
    }
    
    .bpv2-specs-grid:not(.collapsed) {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .bpv2-vehicle-title {
        font-size: 24px;
    }
    
    .bpv2-feature-list {
        grid-template-columns: 1fr;
    }
    
    .bpv2-spec-cell {
        flex: 1 1 45%;
    }
}

/* Modal Header White Text */
#contactModal .modal-header {
    color: #fff;
}
#contactModal .modal-header .modal-title {
    color: #fff;
}
#contactModal .modal-header .close {
    color: #fff;
    opacity: 1;
}
#contactModal .modal-header .close:hover {
    color: #fff;
    opacity: 0.8;
}

/* ===== Modern Form Styling for Contact Modal (parity with Models page) ===== */
#contactModal.in,
#contactModal.show,
#contactModal.in .modal-dialog,
#contactModal.show .modal-dialog,
#contactModal.in .modal-content,
#contactModal.show .modal-content {
    visibility: visible !important;
    opacity: 1 !important;
}

#contactModal .modal-dialog {
    max-width: 520px !important;
    margin: 30px auto !important;
}

#contactModal .modal-content {
    border: none !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3) !important;
    max-height: calc(100vh - 60px) !important;
    overflow-y: auto !important;
    padding: 0 !important;
}

#contactModal .modal-header {
    background: var(--primary-color, #003478) !important;
    padding: 16px 24px !important;
    border-bottom: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

#contactModal .modal-header .modal-title {
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    text-align: left !important;
    flex-grow: 1 !important;
    order: 1 !important;
}

#contactModal .modal-header .close {
    color: #fff !important;
    opacity: 1 !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-shadow: none !important;
    background: transparent !important;
    border: none !important;
    order: 2 !important;
}

#contactModal .modal-body {
    padding: 24px !important;
    background: #fff !important;
}

#contactModal .bpv2-modal-vehicle-info {
    background: #f8f9fa !important;
    padding: 12px 16px !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
    border-left: 4px solid var(--primary-color, #003478) !important;
}

#contactModal .bpv2-modal-vehicle-info strong {
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
}

#contactModal .form-group label {
    display: block !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #444 !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.01em !important;
}

#contactModal .form-control {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #1a1a1a !important;
    background-color: #fff !important;
    border: 1px solid #d0d5dd !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

#contactModal .form-control:focus {
    border-color: var(--primary-color, #003478) !important;
    box-shadow: 0 0 0 3px rgba(235, 10, 30, 0.1) !important;
    outline: none !important;
}

#contactModal .form-control::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

#contactModal textarea.form-control {
    min-height: 100px !important;
    resize: vertical !important;
}

#contactModal .form-group {
    margin-bottom: 16px !important;
}

#contactModal .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Allow testDriveDateGroup to be hidden when display:none is set */
#contactModal #testDriveDateGroup[style*="display: none"],
#contactModal #testDriveDateGroup[style*="display:none"] {
    display: none !important;
}

#contactModal .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#contactModal .modal-footer {
    padding: 16px 24px 16px 0 !important;
    background: #f8f9fa !important;
    border-top: 1px solid #e5e7eb !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#contactModal .modal-footer .btn {
    padding: 10px 20px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    justify-content: center !important;
    display: inline-flex !important;
    align-items: center !important;
}

#contactModal .modal-footer .btn::after,
#contactModal .modal-footer .btn::before,
#contactModal .modal-footer .btn i,
#contactModal .modal-footer .btn svg {
    display: none !important;
}

#contactModal .modal-footer .btn-outlined-dark,
#contactModal .modal-footer .btn[type="submit"],
#contactModal .modal-footer .btn:last-of-type {
    background: var(--primary-color, #003478) !important;
    color: #fff !important;
    border: none !important;
    order: 1 !important;
    flex: 1 1 auto !important;
    max-width: calc(70% - 6px) !important;
    min-width: auto !important;
}

#contactModal .modal-footer .btn-outlined-dark:hover,
#contactModal .modal-footer .btn[type="submit"]:hover,
#contactModal .modal-footer .btn:last-of-type:hover {
    opacity: 0.9 !important;
}

#contactModal .modal-footer .btn[data-dismiss="modal"],
#contactModal .modal-footer .btn:first-of-type:not(:last-of-type) {
    background: #fff !important;
    color: #374151 !important;
    border: 1px solid #d0d5dd !important;
    order: 2 !important;
    flex: 0 0 auto !important;
    max-width: calc(30% - 6px) !important;
    min-width: auto !important;
    width: calc(30% - 6px) !important;
}

#contactModal .modal-footer .btn[data-dismiss="modal"]:hover,
#contactModal .modal-footer .btn:first-of-type:not(:last-of-type):hover {
    background: #f3f4f6 !important;
    border-color: #9ca3af !important;
}
/* Standard Equipment Section */
.bpv2-standard-equipment-section {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bpv2-standard-equipment-section .bpv2-section-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 15px;
}

.bpv2-standard-equipment-section .bpv2-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
}

/* Standard Equipment Feature Categories - Stacked Accordion */
.bpv2-standard-equipment-section .features-categories {
    display: flex;
    flex-direction: column;
}

.bpv2-standard-equipment-section .feature-category {
    background: transparent;
    border-bottom: 1px solid #e0e0e0;
}

.bpv2-standard-equipment-section .feature-category:last-child {
    border-bottom: none;
}

.bpv2-standard-equipment-section .category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.bpv2-standard-equipment-section .category-header:hover {
    background: #f8f9fa;
}

.bpv2-standard-equipment-section .category-name {
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    margin: 0;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.bpv2-standard-equipment-section .category-icon {
    margin: 0;
    flex-shrink: 0;
    font-size: 20px;
    font-weight: 300;
    color: #333;
    line-height: 1;
    width: 20px;
    text-align: center;
}

.bpv2-standard-equipment-section .category-features {
    display: none;
    padding: 0 10px 20px;
}

.bpv2-standard-equipment-section .feature-category.expanded .category-features {
    display: block;
}

.bpv2-standard-equipment-section .feature-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    columns: 2;
    column-gap: 40px;
}

.bpv2-standard-equipment-section .feature-list li {
    font-size: 14px;
    color: #333;
    padding: 5px 0;
    break-inside: avoid;
}

.bpv2-standard-equipment-section .loading-features {
    text-align: center;
    padding: 40px;
    color: #666;
}

.bpv2-standard-equipment-section .no-features {
    text-align: center;
    padding: 40px;
    color: #666;
}

@media (max-width: 768px) {
    .bpv2-standard-equipment-section .feature-list {
        columns: 1;
    }
}
@media (max-width: 576px) {
    #contactModal .modal-dialog {
        margin: 10px !important;
        max-width: calc(100% - 20px) !important;
    }

    #contactModal .modal-body {
        padding: 20px !important;
    }

    #contactModal .modal-footer {
        padding: 12px 16px 12px 0 !important;
        flex-direction: row !important;
        gap: 10px !important;
    }

    #contactModal .modal-footer .btn {
        padding: 8px 12px !important;
        font-size: 13px !important;
    }
}

/* Price Breakdown - Subtotal and Tax Rows */
.bpv2-price-breakdown .bpv2-price-row.subtotal {
    padding-top: 10px;
    margin-top: 5px;
    font-weight: 500;
}

.bpv2-price-breakdown .bpv2-price-row.tax-row {
    color: #666;
    font-size: 13px;
}

/* Collapsible Price Breakdown */
.bpv2-breakdown-collapsible {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 14px;
    transition: max-height 0.35s ease-out, opacity 0.25s ease-out;
}

.bpv2-breakdown-collapsible.expanded {
    max-height: 500px;
    opacity: 1;
    margin-top: 10px;
    transition: max-height 0.4s ease-in, opacity 0.3s ease-in;
}

/* Total row inside collapsible - remove top border */
.bpv2-breakdown-collapsible .bpv2-price-row.total {
    border-top: none;
    margin-top: 10px;
    padding-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

/* Toggle Row - Contains HST toggle and Breakdown toggle */
.bpv2-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 12px;
    border-top: 1px dashed #e0e0e0;
}

/* Breakdown Toggle Link */
.bpv2-breakdown-toggle,
.bpv2-breakdown-toggle:link,
.bpv2-breakdown-toggle:visited,
.bpv2-breakdown-toggle:hover,
.bpv2-breakdown-toggle:active,
.bpv2-breakdown-toggle:focus {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666;
    text-decoration: none;
    font-size: 13px;
    cursor: pointer;
    outline: none;
}

.bpv2-breakdown-toggle .fa {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.bpv2-breakdown-toggle.expanded .fa {
    transform: rotate(180deg);
}

.bpv2-breakdown-toggle.expanded .bpv2-breakdown-toggle-text::before {
    content: "Hide";
}

.bpv2-breakdown-toggle.expanded .bpv2-breakdown-toggle-text {
    font-size: 0;
}

.bpv2-breakdown-toggle.expanded .bpv2-breakdown-toggle-text::before {
    font-size: 13px;
}

/* Tax Toggle Switch */
.bpv2-tax-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.bpv2-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    margin: 0;
}

.bpv2-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.bpv2-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.bpv2-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.bpv2-toggle-switch input:checked + .bpv2-toggle-slider {
    background-color: var(--primary-color, #003478);
}

.bpv2-toggle-switch input:checked + .bpv2-toggle-slider:before {
    transform: translateX(20px);
}

.bpv2-toggle-label {
    font-size: 13px;
    color: #666;
}

/* Make sidebar not sticky (scrollable) */
.bpv2-sidebar-col {
    position: static !important;
    top: auto !important;
}

/* Down Payment & Trade-In Section */
.bpv2-down-trade-section {
    padding: 10px 0 0 0;
    border-top: 1px solid #eee;
    margin-top: 5px;
    margin-bottom: 0;
}

.bpv2-down-trade-row {
    display: flex;
    gap: 15px;
}

.bpv2-down-payment-group,
.bpv2-trade-in-group {
    flex: 1;
    margin-bottom: 0;
}

.bpv2-down-trade-section .bpv2-form-group label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    display: block;
}

.bpv2-currency-input input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
}

.bpv2-currency-input input:focus {
    border-color: var(--primary-color, #003478);
    outline: none;
}

.bpv2-verify-trade-link {
    display: inline-block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--primary-color, #003478);
    text-decoration: none;
}

.bpv2-verify-trade-link:hover {
    text-decoration: underline;
}

/* Hide down payment/trade section for Cash tab */
.bpv2-payment-content.active ~ .bpv2-down-trade-section {
    display: block;
}

#cashContent.active ~ .bpv2-down-trade-section {
    display: none;
}

/* Modal z-index fixes to ensure modal covers fixed header */
.modal-backdrop {
    z-index: 10050 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

.modal {
    z-index: 10060 !important;
}

#contactModal {
    z-index: 10060 !important;
}

#contactModal .modal-dialog {
    z-index: 10061;
}

