/**
 * Bike fitting styles
 * @author: Marc visser
 * @date: 28-10-2025
 */

/* General styles for the wizard */
.bike-fitting-wizard {
    background-color: #000;
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    width: fit-content;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    width: 900px;
    min-height: 600px
}

/* Container classes */
.two-container-wrapper {
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 20px; 
    margin-bottom: 20px;
}
.two-column-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 20px;
    padding: 15px 0;
}

@media (max-width: 992px) {
    .two-container-wrapper {
        grid-template-columns: 1fr;
    }
    .bike-fitting-wizard {
        padding: 20px;
        min-width:unset;
        width: 100%;
    }
    
}
/* Disable standard form styling */
input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/* step indicators */
.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #444;
}
.wizard-step-indicator {
    color: #888;
    font-size: 14px;
    text-align: center;
    flex: 1;
}
.wizard-step-indicator.active {
    color: #fff;
    font-weight: bold;
}
@media (max-width: 960px) {
    .wizard-step-indicator {
        display:none;
    }
    .wizard-step-indicator.active {
        display:block;
        color: #fff;
        font-weight: bold;
        margin: auto;
    }
    
}

/* Individual step content styles */
.wizard-step-content {
    display: none; /* Hide all steps by default */
}
.wizard-step-content.active {
    display: block; /* Show only the active step */
}

.wizard-step-content h2 {
    margin-top: 0;
    color: #fff;
    font-size: 24px;
}
.wizard-step-content p {
    color: #ccc;
}

/* Navigation buttons */
.wizard-navigation {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
}
.wizard-button {
    background-color: #3d3d3dff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}
.wizard-button:hover {
    background-color: #252525ff;
}
.wizard-button.prev {
    background-color: #6c757d;
}
.wizard-button.prev:hover {
    background-color: #5a6268;
}
.wizard-button:disabled {
    background-color: #444;
    cursor: not-allowed;
}

/* font styling */
.form-container .form-group label {
    background-color: transparent;
    padding: 0 0 10px 0;
    border: none;
    transition: color 0.3s ease;
}
.rs-form-label {
    font-weight: 800;
    display: block; 
    margin: 20px 0px; 
    color: #fff; 
    font-size: 16px;
}

/* Hidden inputs */
.bikefit-data {
    display:none;
}
/* General form items */
.wizard-input {
    width: 100%;
    padding: 10px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 2px solid #555;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.1, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    padding: 15px 10px !important;
}

.wizard-input:focus {
    outline: none;
    transform: scale(1.02);
    background: linear-gradient(145deg, #444, #333);
    border-color: #ffffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                0 4px 8px rgba(0, 0, 0, 0.4);
    animation: inputPulse 0.6s ease;
}

@keyframes inputPulse {
    0%, 100% { transform: scale(1.02); }
    50% { transform: scale(1.03); }
}

/* .wizard-input:hover {
    border-color: #777;
    background: linear-gradient(145deg, #3d3d3d, #2d2d2d);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
} */

.wizard-input::placeholder {
    color: #888;
    transition: color 0.3s ease;
}

.wizard-input:focus::placeholder {
    color: #aaa;
}

.wizard-select {
    padding: 10px !important;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a) !important;
    border: 2px solid #555 !important;
    color: #fff !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    width: 100% !important;
    padding-right: 30px !important; 
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20448%20512%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M207.029%20381.476L12.686%20187.132c-9.373-9.373-9.373-24.569%200-33.941l22.667-22.667c9.357-9.357%2024.522-9.375%2033.901-.04L224%20284.505l154.745-154.021c9.379-9.335%2024.544-9.317%2033.901.04l22.667%2022.667c9.373%209.373%209.373%2024.569%200%2033.941L240.971%20381.476c-9.373%209.372-24.569%209.372-33.942%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 14px !important;
}

.wizard-select::-ms-expand {
    display: none !important;
}

.wizard-select option {
    background-color: #2a2a2a !important;
    color: #fff !important;
    padding: 10px !important;
}
@keyframes labelGlow { /* Relevant? */
    0%, 100% { text-shadow: none; }
    50% { text-shadow: 0 0 10px rgba(0, 123, 255, 0.6); }
}
/* rs-select */
.rs-select {
    position: relative;
    width: 100%;
}

.rs-select-trigger {
    position: relative;
    width: 100%;
    padding: 10px;
    background-color: #2a2a2a;
    border: 2px solid #555;
    border-radius: 8px;
    color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.rs-select-trigger:hover {
    border-color: #666;
    background-color: #333;
}

.rs-select-trigger:focus {
    border-color: #ffffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #fff;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.rs-select.active .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}
.rs-select.active .rs-select-trigger {
    border-radius: 8px 8px 0 0;
    border: 2px solid #fff;
    border-width: 2px 2px 0px 2px;
}
.rs-select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #2a2a2a;
    border: 1px solid #444;
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0;
    z-index: 10;
}
.rs-select.active .rs-select-options {
    max-height: 200px;
    opacity: 1;
    border-width: 0px 2px 2px 2px;
    border-color: #fff;
}

.rs-option {
    padding: 12px 16px;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.rs-option:hover {
    background-color: #333;
}

.rs-option.selected {
    background-color: #007bff;
}
/* rs-checkpoints */
.rs-checkpoints {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 15px;
}
.sub.rs-checkpoints label {
    min-height: unset;
}
.rs-checkpoints label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 800;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.checkpoint-text {
    font-size: 16px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}
.checkpoint-option label.checked {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    border: 2px solid #fff;
}
.goal-icon {
    max-width: 150px !important;
}
.goal-icon {
    margin-bottom: 10px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}
.checkpoint-option:hover .goal-icon {
    transform: scale(1.02) rotate(5deg);
}
.checkpoint-option input[type="checkbox"]:checked + label {
    border-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: checkPulse 0.6s ease;
}
.checkpoint-option input[type="checkbox"]:checked + label .goal-icon {
    transform: scale(1.05);
    color: #000;
}
.checkpoint-option input[type="checkbox"]:checked + label .checkpoint-text {
    font-weight: 900;
}

@keyframes checkPulse {
    0%, 100% { transform: scale(1.05); }
    50% { transform: scale(1.1); }
}
@keyframes checkmark {
    0% { transform: scale(0) rotate(-180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
/* radio (rider selection (radio but hey) / goal of the bikefit) */
.rs-radio {
    display: grid; 
    grid-template-columns: 1fr 1fr 1fr; 
    gap: 15px;
}
.radio-option {
    position: relative;
}
.radio-option input[type="checkbox"] {
    display: none;
}
.radio-option .radio-icon {
    width: 100% !important;
    max-width: 200px;
}
.radio-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 800;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.radio-option label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.radio-option label:hover::before {
    transform: translateX(100%);
}
.radio-option label:hover {
    background: linear-gradient(145deg, #333, #252525);
    border-color: #e0e0e0;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}
.radio-option input[type="radio"]:checked + label {
    border-color: #ffffff;
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: checkPulse 0.6s ease;
}
        
.radio-option input[type="radio"]:checked + label::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 16px;
    animation: checkmark 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.form-group input[type="radio"] {
    display: none; /* Hide the actual radio button */
}

.form-group input[type="radio"]:checked + label {
    background-color: #555;
    border-color: #007bff;
}

/* Mobile radio and select */
@media (max-width: 650px) {
    .rs-radio, .rs-checkpoints {
        grid-template-columns: 1fr; 
        padding: 0 40px;
    }
}
/* Form element styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
    background-color: #333;
    padding: 15px;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: background-color 0.3s, border-color 0.3s;
}


/* Slide 1: Type of rider */
.inputs-column, 
.wkg-display-column {
    flex: 1;
    min-width: 200px;
}
.wkg-display-column {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.range-group,
.range-slider-container {
    position: relative;
}
.range-slider-container {
    margin-top: 30px;
}
/* --- Collapsible Trigger --- */
.collapsible-trigger {
    /* Base Styles */
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
    color: #fff;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: 2px solid #444;
    border-radius: 8px;
    text-align: left;
    outline: none;
    font-size: 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    
    /* Positioning & Icon */
    position: relative;
    overflow: hidden;
    padding-right: 45px; /* Space for the icon */
    transition: all 0.3s ease;

    /* Icon Variables */
    --icon-size: 16px;
    --icon-thick: 2px;
    --icon-right: 18px;
    --icon-color: #fff;
    --icon-speed: 0.3s;
}

/* --- Icon Styles (+ sign) --- */
.collapsible-trigger::before,
.collapsible-trigger::after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--icon-right);
    width: var(--icon-size);
    height: var(--icon-thick);
    background: var(--icon-color);
    transform-origin: center;
    transition: transform var(--icon-speed) ease-out;
}

/* Horizontal bar */
.collapsible-trigger::before {
    transform: translateY(-50%) rotate(0deg);
}

/* Vertical bar */
.collapsible-trigger::after {
    transform: translateY(-50%) rotate(90deg);
}

/* --- Active State (Open) --- */
.collapsible-trigger.active {
    background: linear-gradient(135deg, #444 0%, #333 100%);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    border-radius: 10px 10px 0 0; /* Connects to open panel */
}

/* Animate icon to (- sign) */
.collapsible-trigger.active::after {
    transform: translateY(-50%) rotate(0deg);
}

/* --- Content Animation --- */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Trainingsdata container */
.collapsible-content { 
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                padding 0.8s ease,
                background-color 0.3s ease;
    background-color: #2a2a2a;
    border-radius: 0px 0px 20px 20px;
    position: relative;
}
.collapsible-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        #007bff 0%, 
        #00d4ff 25%, 
        #7928ca 50%, 
        #ff0080 75%, 
        #007bff 100%);
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: shimmer 50s linear infinite;
}
.collapsible-content.open::before {
    opacity: 1;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.collapsible-content.open {
    padding: 18px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.collapsible-content.open .form-group {
    animation: fadeInUp 0.5s ease-out backwards;
}
.collapsible-content.open .form-group:nth-child(1) { animation-delay: 0.1s; }
.collapsible-content.open .form-group:nth-child(2) { animation-delay: 0.2s; }
.collapsible-content.open .form-group:nth-child(3) { animation-delay: 0.3s; }
.collapsible-content.open .form-group:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.collapsible-content.open {
    max-height: none; /* Allow content to expand fully */
}


/* Collapsable content */
.collapsible-content.open {
    padding: 18px;
    box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s ease-out;
}
.collapsible-content .form-group {
    margin-top: 15px;
}

.collapsible-content .form-group:last-child {
    padding-bottom: 15px;
}
/* Range Slider Classes */
input[type=range] {
    -webkit-appearance: none; /* Hides the slider so that custom styles can be applied */
    appearance: none;
    width: 100%;
    background: transparent; /* Otherwise white in Chrome */
    cursor: pointer;
}
input[type=range]:focus {
    outline: none; /* Removes the focus outline */
}
input[type=range]::-webkit-slider-runnable-track { /* --- Track Styles --- */
    width: 100%;
    height: 8px;
    background: #555;
    border: 1px solid #444;
    border-radius: 5px;
}

input[type=range]::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #555;
    border: 1px solid #444;
    border-radius: 5px;
}
input[type=range]::-webkit-slider-thumb {/* --- Thumb Styles --- */
    -webkit-appearance: none;
    margin-top: -7px; /* Vertically center thumb on track */
    height: 20px;
    width: 20px;
    background: #fff;
    border: 2px solid #ffffffff;
    border-radius: 50%;
}

input[type=range]::-moz-range-thumb {
    height: 20px;
    width: 20px;
    background: #fff;
    border: 2px solid #007bff;
    border-radius: 50%;
}
.wkg-display { /* W/kg Meter Classes */
    width: 130px;
    height: 130px;
    background: #2a2a2a;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    border: 2px solid #444;
    margin: 0 auto;
    animation: pulse 10s infinite;
}
/* Slide 2: Goal slide */
.checkpoint-option input[type="checkbox"] {
    display:none;
}
img {image-rendering : -webkit-optimize-contrast;}
.goal-bikefit .checkpoint-option label {
    min-height: 150px;
}
.goal-bikefit .checkpoint-option label span {
    vertical-align: bottom;
}

/* Slide 3: Advice */
.advice-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.loading-spinner {
    animation: spin 1.5s linear infinite;
}
.loading-spinner img {
    width: 150px;
    height: 150px;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.loading-text {
    margin-top: 20px;
    color: #fff;
    font-size: 16px;
}
.loading-dots::after {
    content: '.';
    animation: dots 1.5s steps(3, end) infinite;
}
@keyframes dots {
    0%, 33% { content: '.'; }
    34%, 66% { content: '..'; }
    67%, 100% { content: '...'; }
}
.advice-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
    animation: fadeInAdvice 0.6s ease;
}
@keyframes fadeInAdvice {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.advice-logo-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 2px solid #444;
}
.advice-logo-header img {
    max-height: 100px;
    margin: auto;
}
.advice-logo-header span {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.advice-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    color: #fff;
}
.advice-details-left,
.advice-details-right {
    display: flex;
    flex-direction: column;
}
.advice-details h3 {
    margin: 0 0 15px 0;
    font-size: 28px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}
.advice-details p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
}
.advice-details strong {
    color: #ffffff;
}
.advice-details h4 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 15px 0;
}
.advice-details h5 {
    color: #fff;
    font-size: 15px;
    margin: 0 0 15px 0;
}
.advice-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.advice-details ul li {
    padding: 8px 0 8px 25px;
    position: relative;
    color: #ccc;
    line-height: 1.5;
}
.advice-details ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #fff;
    font-weight: bold;
}
.advice-slide {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #fff;
    margin-top: 5px;
}
.advice-slide strong {
    color: #fff;
}
.show-all-options-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    transition: all 0.3s ease;
}
.show-all-options-btn .btn-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}
.show-all-options-btn.active .btn-arrow {
    transform: rotate(180deg);
}
.show-all-options-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
    .advice-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .advice-logo-header {
        flex-direction: column;
        text-align: center;
    }
}

/* Slide 4: make an appointment */
.bikefit-selection-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}
.bikefit-option-card {
    position: relative;
}
.bikefit-option-card input[type="radio"] {
    display: none;
}
.bikefit-option-card label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-height: 200px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.bikefit-option-card label::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.bikefit-option-card label:hover::before {
    transform: translateX(100%);
}
.bikefit-option-card label:hover {
    background: linear-gradient(145deg, #333, #252525);
    border-color: #e0e0e0;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.3);
}
.bikefit-option-card input[type="radio"]:checked + label {
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    border-color: #ffffff;
    transform: scale(1.025);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.5), 
                0 0 20px rgba(255, 255, 255, 0.4),
                inset 0 0 20px rgba(255, 255, 255, 0.2);
    animation: checkPulse 0.6s ease;
}
.bikefit-option-card input[type="radio"]:checked + label::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    animation: checkmark 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.bikefit-logo {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}
.bikefit-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}
.bikefit-option-card:hover .bikefit-logo {
    transform: scale(1.1);
}
.bikefit-option-card input[type="radio"]:checked + label .bikefit-logo img {
    filter: brightness(0) drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}
.bikefit-option-text {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    text-align: center;
}
.bikefit-option-card input[type="radio"]:checked + label .bikefit-option-text {
    color: #000;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
@media (max-width: 768px) {
    .bikefit-selection-container {
        grid-template-columns: 1fr;
    }
}

/* Contact form 7 styling */
.wizard-contact-form {
    margin-top: 30px;
    padding: 30px;
}

.wizard-contact-form .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wizard-contact-form .wpcf7-form-control-wrap {
    width: 100%;
}

.wizard-contact-form input[type="text"],
.wizard-contact-form input[type="email"],
.wizard-contact-form input[type="tel"],
.wizard-contact-form input[type="date"],
.wizard-contact-form textarea,
.wizard-contact-form select {
    width: 100%;
    padding: 10px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 2px solid #555;
    color: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    transition: all 0.3s cubic-bezier(0.1, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-family: inherit;
}

.wizard-contact-form input:focus,
.wizard-contact-form textarea:focus,
.wizard-contact-form select:focus {
    outline: none;
    transform: scale(1.02);
    background: linear-gradient(145deg, #444, #333);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
                0 4px 8px rgba(0, 0, 0, 0.4);
}

.wizard-contact-form input::placeholder,
.wizard-contact-form textarea::placeholder {
    color: #888;
}

.wizard-contact-form textarea {
    min-height: 100px;
    resize: vertical;
}

.wizard-contact-form .wpcf7-submit {
    background-color: #3d3d3dff;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    width: fit-content;
    align-self: flex-start;
}

.wizard-contact-form .wpcf7-submit:hover {
    background-color: #252525ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.wizard-contact-form .wpcf7-spinner {
    margin-left: 10px;
}

.wizard-contact-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
}

.wizard-contact-form .wpcf7-validation-errors,
.wizard-contact-form .wpcf7-mail-sent-ok {
    border: 2px solid;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.wizard-contact-form .wpcf7-validation-errors {
    background-color: rgba(255, 107, 107, 0.1);
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.wizard-contact-form .wpcf7-mail-sent-ok {
    background-color: rgba(81, 255, 107, 0.1);
    border-color: #51ff6b;
    color: #51ff6b;
}

.wizard-contact-form label {
    color: #fff;
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

@media (max-width: 768px) {
    .wizard-contact-form {
        padding: 20px;
    }
}
