/* Start custom CSS for html, class: .elementor-element-2916aa1 */:root {
    --primary: #6366f1;
    --success: #10b981;
    --bg: #f8fafc;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-600: #4b5563;
    --gray-800: #1f2937;
    --card-bg: white;
    --radius: 20px;
    --transition: all 0.3s ease;
}

/* Body - Natural flow */
body {
    font-family: 'Segoe UI', sans-serif;
    background-image: url('https://www.waldoch.com/wp-content/uploads//2023/11/cropped-waldochfavicon.png');
    background-repeat: repeat;
    background-size: 150px 150px;
    background-color: rgba(0, 0, 0, 0.65);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
        url('https://www.waldoch.com/wp-content/uploads//2023/11/cropped-waldochfavicon.png');
    background-repeat: repeat;
    background-size: 150px 150px;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: block;
}

/* Form Container - Wider on laptops/desktops */
.form-container {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 760px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
}

.form-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 30px 40px 20px;
    gap: 30px;
    flex-wrap: wrap;
}

.header-logo img {
    height: 150px;
    width: auto;
    object-fit: contain;
}

.header-title {
    text-align: left;
    flex: 1;
}

.header-title h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #1a1a1a;
}

.header-title .subtitle {
    margin: 8px 0 0;
    color: #666;
    font-size: 1.1rem;
}

@media (min-width: 768px) {
    .form-header {
        justify-content: center;
    }

    .header-title {
        text-align: center;
    }
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 2.2rem;
    font-weight: 800;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 30px;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary);
    transition: width 0.4s ease;
}

.steps {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.step {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
}

.step.active {
    background: var(--primary);
    color: white;
    transform: scale(1.2);
}

.step.completed {
    background: var(--success);
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeIn 0.5s;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

input,
select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    transition: border 0.3s;
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary);
}

.btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-container button {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-prev {
    background: #e0e0e0;
}

.btn-next {
    background: var(--primary);
    color: white;
}

.btn-submit {
    background: var(--success);
    color: white;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* User Info Grid - Balanced 3-column layout */
.user-info-grid {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.info-block {
    flex: 1;
    min-width: 280px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.info-block h4 {
    margin: 0 0 16px 0;
    font-size: 1.2rem;
    color: #6366f1;
    border-bottom: 2px solid #6366f1;
    padding-bottom: 8px;
    font-weight: 600;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.info-table td {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.info-table td:first-child {
    width: 40%;
    color: #4b5563;
    font-weight: 600;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* Comments - Full width */
.comments-section {
    margin: 40px 0 20px 0;
}

.comments-text {
    background: #f0f9ff;
    padding: 20px;
    border-left: 5px solid #6366f1;
    border-radius: 8px;
    font-style: italic;
    color: #374151;
    font-size: 1rem;
}

/* Vehicle Build Title */
.vehicle-build-title {
    margin: auto;
    font-size: 1.6rem;
    color: #6366f1;
    border-bottom: 3px solid #6366f1;
    padding-bottom: 10px;
    font-weight: 700;
}

/* Responsive - Stack on tablet/mobile */
@media (max-width: 900px) {
    .user-info-grid {
        flex-direction: column;
        gap: 24px;
    }

    .info-block {
        min-width: auto;
    }
}

.achievements {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0;
    padding: 0 12px;
}

.achievement-btn {
    position: relative;
    padding: 16px 80px 16px 20px;
    justify-content: flex-start;
    text-align: left;
}

.download-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: white;
    border: 2px solid #6366f1;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #6366f1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    pointer-events: auto;
}

.download-text {
    opacity: 0;
    width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.download-icon:hover {
    width: 160px;
    padding-left: 20px;
    border-radius: 50px;
    background: #6366f1;
    color: white;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.download-icon:hover .download-text {
    opacity: 1;
    width: auto;
    margin-right: 8px;
}

.achievement-btn .ach-icon {
    font-size: 1.4rem;
}

.achievement-btn:hover {
    background: var(--gray-200);
    transform: translateY(-3px);
}

.achievement-btn.unlocked {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
    font-weight: 700;
}

.achievement-btn.unlocked:hover {
    background: #c3e6cb;
    transform: translateY(-4px);
}

@media (max-width: 640px) {
    .achievements {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .achievement-btn {
        font-size: 1rem;
        padding: 16px;
    }
}

/* Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--primary);
    color: white;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: white;
    opacity: 0.8;
}

.modal-close:hover {
    opacity: 1;
}

.modal-body {
    padding: 24px;
    max-height: 65vh;
    overflow-y: auto;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    padding: 20px 24px;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.btn-secondary {
    background: #e0e0e0;
    color: var(--gray-800);
}

.btn-secondary:hover {
    background: #d0d0d0;
    transform: translateY(-3px);
}

.modal-close-btn {
    padding: 12px 32px;
    font-size: 1.1rem;
}

.modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

#modalDownloadBtn {
    background: #6366f1;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

#modalDownloadBtn:hover {
    background: #2f32dd;
    color: white;
}

#modalDownloadBtn {
    display: none;
}

body.submitted #modalDownloadBtn {
    display: block;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalPop 0.6s;
}

@keyframes modalPop {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    cursor: pointer;
    color: #aaa;
}

.close:hover {
    color: #000;
}

.trophy {
    font-size: 80px;
    margin: 20px 0;
}

.btn-primary {
    background: #10b981;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: #059669;
    transform: translateY(-3px);
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

#preloader.active {
    opacity: 1;
    visibility: visible;
}

.loader {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid rgba(255, 255, 255, 0.3);
    border-top: 6px solid #10b981;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader p {
    font-size: 1.2rem;
    margin: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Package Info & Table */
.package-info h4 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.4rem;
}

.package-info h5 {
    color: var(--gray-800);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 8px;
    margin: 24px 0 12px;
}

.package-info ul {
    margin: 12px 0;
    padding-left: 20px;
}

.package-info li {
    margin: 8px 0;
    line-height: 1.5;
}

.chassis-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.95rem;
}

.chassis-table th {
    background: var(--primary);
    color: white;
    padding: 12px;
    text-align: left;
}

.chassis-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
}

.chassis-table tr:nth-child(even) {
    background: var(--gray-50);
}

.chassis-table .category-header {
    background: var(--gray-200);
    font-weight: bold;
    color: var(--gray-800);
}

/* Paint Selection */
.paint-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 20px;
}

.paint-card {
    position: relative;
    border: 3px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.paint-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.paint-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.paint-image-wrapper {
    height: 120px;
    background: var(--gray-100);
    overflow: hidden;
}

.paint-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.paint-card:hover .paint-image-wrapper img {
    transform: scale(1.08);
}

.paint-title {
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-100);
    line-height: 1.4;
}

/* Selected state for paint-card - full hover style */
.paint-card:has(input[type="radio"]:checked) {
    border-color: var(--primary) !important;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.paint-card input[type="radio"]:checked+.paint-image-wrapper::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

.placeholder-text {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--gray-600);
    font-style: italic;
    padding: 40px 20px;
    font-size: 1.1rem;
}

/* Vehicle Selection */
.vehicle-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.vehicle-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 3px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.vehicle-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.vehicle-image-wrapper {
    height: 100px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.vehicle-image-wrapper img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.vehicle-card:hover .vehicle-image-wrapper img {
    transform: scale(1.08);
}

.vehicle-title {
    padding: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--gray-800);
    background: var(--gray-100);
}

/* Selected state for vehicle-card - full hover style */
.vehicle-card:has(input[type="radio"]:checked) {
    border-color: var(--primary) !important;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}


.vehicle-card input[type="radio"]:checked+.vehicle-image-wrapper::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

/* Seating & Color Cards */
.seating-image-wrapper,
.color-image-wrapper {
    position: relative;
    width: 100%;
    background: #f8f8f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seating-image-wrapper {
    height: 180px;
}

.color-image-wrapper {
    height: 300px;
}

.seating-image-wrapper img,
.color-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.seating-card:hover .seating-image-wrapper img,
.color-card:hover .color-image-wrapper img {
    transform: scale(1.05);
}

.seating-card,
.color-card {
    display: flex;
    flex-direction: column;
    border: 3px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.seating-card:hover,
.color-card:hover {
    border-color: #007bff;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.seating-card input[type="radio"],
.color-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.seating-card input[type="radio"]:checked~*,
.color-card input[type="radio"]:checked~* {
    border-color: #007bff !important;
}

.seating-card input[type="radio"]:checked+.seating-image-wrapper::after,
.color-card input[type="radio"]:checked+.color-image-wrapper::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    background: #007bff;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
    z-index: 2;
}

/* Container to hold the toggle button */
.none-toggle-container {
    margin-top: 20px;
    text-align: center;
}

/* Very subtle clear button */
.none-toggle-btn {
    padding: 8px 20px;
    background: transparent;
    border: 1.5px solid #ddd;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.none-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.seating-title,
.color-title {
    padding: 16px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    background: #fafafa;
    border-top: 1px solid #eee;
}

/* Solid color swatch for Ford */
.color-swatch {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.celebration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Options Grid - Fixed cards, up to 3 per row, centered when fewer */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 340px));
    gap: 18px;
    justify-content: center;
    margin: 20px auto 0;
    padding: 0 20px;
    max-width: 1140px;
}

/* Options Card - All your original beautiful styling preserved */
.options-card {
    position: relative;
    border: 3px solid transparent;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.options-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Selected state for options-card - full hover style */
.options-card:has(input[type="radio"]:checked) {
    border-color: var(--primary) !important;
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Hide radio input */
.options-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

/* Real image wrapper (for options with images) */
.options-image-wrapper {
    height: 140px;
    background: var(--gray-100);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.options-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.options-card:hover .options-image-wrapper img {
    transform: scale(1.08);
}

/* "None" placeholder (text only) */
.options-image-placeholder {
    height: 140px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    font-style: italic;
    font-size: 1rem;
    text-align: center;
    padding: 20px;
}

/* Title */
.options-title {
    padding: 16px 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-100);
    line-height: 1.4;
}

/* Checkmark works on both image wrapper and placeholder */
.options-card input[type="radio"]:checked+.options-image-wrapper::after,
.options-card input[type="radio"]:checked+.options-image-placeholder::after {
    content: "✓";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    z-index: 10;
}

/* Hide actual checkbox but keep it functional */
.hidden-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Multi-select card styling - same as single but with checkmark */
.options-card.multi-select {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.options-card.multi-select.selected {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    background-color: rgba(99, 102, 241, 0.05);
}

/* Custom checkmark in corner */
.options-card.multi-select .checkmark {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background-color: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.options-card.multi-select.selected .checkmark {
    opacity: 1;
}

/* RESPONSIVE - Clean and simple */
@media (max-width: 1100px) {
    .options-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    }
}

@media (max-width: 640px) {
    .options-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }

    .options-image-wrapper,
    .options-image-placeholder {
        height: 160px;
    }

    .options-title {
        font-size: 1.05rem;
        padding: 18px 12px;
    }
}

/* Allow form container to expand on large screens so 3 cards fit perfectly */
@media (min-width: 1200px) {
    .form-container {
        max-width: 1140px;
    }
}

.build-summary-table {
    margin: 20px 0;
    overflow-x: auto;
}

#finalBuildTable,
.build-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

#finalBuildTable th,
.build-table th {
    background: var(--primary);
    color: white;
    padding: 12px;
    text-align: left;
}

#finalBuildTable td,
.build-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--gray-200);
}

#finalBuildTable tr:nth-child(even),
.build-table tr:nth-child(even) {
    background: var(--gray-50);
}

/* Gray "Skip" button style (same as Previous) */
.btn-next.skip-upgrade {
    background: #e0e0e0;
    color: #666;
}

.btn-next.skip-upgrade:hover {
    background: #d0d0d0;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Contact Form - Two Columns with Better Spacing */
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    margin-top: 28px;
}

.contact-form-grid .full-width {
    grid-column: 1 / -1;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin: 0;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-800);
    font-size: 1rem;
    line-height: 1.4;
}

.required {
    color: #e74c3c;
    font-weight: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.checkbox-group label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    font-size: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.1);
}

.checkbox-group.invalid {
    border: 1px solid #ef4444;
    border-radius: 4px;
    padding: 8px;
    background-color: #fee2e2;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    /* Reduced gap for tighter grouping */
    font-weight: normal;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

/* Target ONLY the special offers opt-in checkbox */
.opt-in-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    /* Tight spacing between checkbox and text */
    font-weight: normal;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

/* Hide native checkbox */
.opt-in-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom checkbox appearance */
.opt-in-checkbox .custom-checkbox {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
    margin-top: 2px;
    /* Perfect vertical alignment with text */
    position: relative;
}

/* Checked state */
.opt-in-checkbox input:checked+.custom-checkbox {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Checkmark */
.opt-in-checkbox input:checked+.custom-checkbox::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 9px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Hover effect */
.opt-in-checkbox:hover .custom-checkbox {
    border-color: var(--primary);
}

/* Focus accessibility */
.opt-in-checkbox input:focus-visible+.custom-checkbox {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    margin-top: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.privacy-note a {
    color: var(--primary);
    text-decoration: underline;
}

/* Success Section - Same style as form */
.success-section {
    margin-top: 40px;
    text-align: center;
}

.success-section h2 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.success-subtitle {
    font-size: 1.3rem;
    color: var(--gray-800);
    margin-bottom: 40px;
}

.build-summary-final {
    margin: 50px 0;
    text-align: left;
}

.build-summary-final h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--gray-800);
}

.success-footer {
    margin-top: 60px;
    text-align: center;
}

.success-footer p {
    font-size: 1.2rem;
    color: var(--gray-700);
    margin: 20px 0;
}

#newBuildBtn {
    padding: 16px 40px;
    font-size: 1.3rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Stack on tablet and below */
@media (max-width: 900px) {
    .contact-form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Extra breathing room on mobile */
@media (max-width: 640px) {
    .contact-form-grid {
        margin-top: 20px;
    }

    .form-group label {
        font-size: 0.95rem;
    }
}

/* Responsive Adjustments */
@media (min-width: 769px) {
    .paint-image-wrapper {
        height: 140px;
    }

    .vehicle-image-wrapper {
        height: 120px;
    }

    .seating-image-wrapper {
        height: 200px;
    }

    .color-image-wrapper {
        height: 320px;
    }
}

@media (max-width: 900px) {
    .paint-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .form-container {
        max-width: 100%;
        padding: 24px;
        margin: 20px auto;
    }

    .paint-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .paint-image-wrapper {
        height: 130px;
    }
}

@media (max-width: 640px) {
    body {
        padding: 10px;
    }
}

@media (max-width: 540px) {
    .paint-grid {
        grid-template-columns: 1fr;
    }

    .paint-image-wrapper {
        height: 140px;
    }

    .paint-title {
        font-size: 1.05rem;
        padding: 18px 12px;
    }
}

@media (min-height: 900px) {
    .form-container {
        margin: 60px auto;
    }
}/* End custom CSS */