/* Car Multi-Step Form Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #000000 100%);
    min-height: 100vh;
}

.car-calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

/* Progress Steps */
.car-progress-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
    background: rgba(45, 45, 45, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    overflow: hidden;
}

.car-progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: rgba(107, 114, 128, 0.3);
    z-index: 1;
    transform: translateY(-50%);
}

.car-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    padding: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    min-width: 80px;
    text-align: center;
}

.car-step.active .car-step-number {
    background: #ffffff;
    color: #1a1a1a;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.car-step.completed .car-step-number {
    background: #6b7280;
    color: white;
}

.car-step-number {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.1rem;
    background: rgba(107, 114, 128, 0.4);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.car-step-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-top: 0.25rem;
}

.car-step.active .car-step-label {
    color: #ffffff;
    font-weight: 600;
}

.car-step.completed .car-step-label {
    color: rgba(255, 255, 255, 0.8);
}

/* Form Content */
.car-form {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid rgba(107, 114, 128, 0.2);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.car-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a1a1a, #6b7280);
}

.car-step-content {
    margin-bottom: 2rem;
}

.car-step-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    text-align: center;
}

.car-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 3rem;
    text-align: center;
}

/* Options Grid */
.car-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.car-option {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #d1d5db;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}


.car-option:hover {
    border-color: #6b7280;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}


.car-option.active {
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    border-color: #1a1a1a;
    color: white;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.car-option-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.car-option.active .car-option-icon {
    transform: scale(1.1);
}

.car-option-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.car-option.active .car-option-label {
    color: white;
}

/* Date Selection */
.car-date-selection {
    max-width: 600px;
    margin: 0 auto;
}

.car-calendar-wrapper {
    margin-bottom: 2rem;
    text-align: center;
}

.car-calendar-wrapper label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.car-date-input {
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
}

.car-date-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.car-time-slots {
    text-align: center;
}

.car-time-slots h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.car-time-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.car-time-option {
    padding: 1rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.car-time-option:hover {
    border-color: #667eea;
    background: #f0f4ff;
}

.car-time-option.active {
    background: #667eea;
    border-color: #667eea;
    color: white;
}

.car-continue-section {
    text-align: center;
    margin-top: 3rem;
}

.car-continue-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.car-continue-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Results Card */
.car-results-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    border-radius: 1.5rem;
    padding: 2.5rem;
    color: white;
    margin-bottom: 2rem;
    text-align: center;
}

.car-results-title {
    margin-bottom: 2rem;
}

.car-savings-text {
    color: #22c55e;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.car-eco-impact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}

.car-eco-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.car-eco-impact p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e5e7eb;
    margin: 0;
}

/* Contact Form */
.car-contact-section {
    background: white;
    border-radius: 1.5rem;
    padding: 2.5rem;
}

.car-contact-section h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1a1a1a;
    text-align: center;
}

.car-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.car-message-field {
    margin-bottom: 1.5rem;
}

.car-form-field {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.75rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.car-form-field:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.car-form-field:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #ef4444;
}

/* Privacy Section */
.car-privacy-section {
    margin-bottom: 1.5rem;
}

.car-privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    font-size: 0.95rem;
    line-height: 1.5;
}

.car-privacy-checkbox input[type="checkbox"] {
    display: none;
}

.car-checkbox-custom {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.car-privacy-checkbox input[type="checkbox"]:checked + .car-checkbox-custom {
    background-color: #667eea;
    border-color: #667eea;
}

.car-privacy-checkbox input[type="checkbox"]:checked + .car-checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

.car-privacy-text {
    color: #6b7280;
    line-height: 1.5;
}

.car-privacy-text a {
    color: #667eea;
    text-decoration: none;
}

.car-privacy-text a:hover {
    text-decoration: underline;
}

/* Form Notes */
.car-form-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 2rem;
    text-align: center;
    font-style: italic;
}

/* Submit Button */
.car-submit-btn {
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.car-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.car-submit-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.car-disclaimer {
    font-size: 0.9rem;
    color: #6b7280;
    text-align: center;
    font-style: italic;
}

/* Navigation */
.car-navigation {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.car-navigation.center {
    justify-content: center;
}

.car-navigation.start {
    justify-content: flex-start;
}

.car-navigation.end {
    justify-content: flex-end;
}

.car-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.car-btn-back {
    color: #6b7280;
    background: #f3f4f6;
    margin-right: 1rem;
}

.car-btn-back:hover {
    background: #e5e7eb;
    color: #374151;
    transform: translateX(-2px);
}

.car-btn-next {
    background: linear-gradient(135deg, #1a1a1a 0%, #374151 100%);
    color: white;
}

.car-btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.car-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Messages */
.car-message {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.car-message-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.car-success {
    border-left: 5px solid #22c55e;
}

.car-success .car-message-icon {
    color: #22c55e;
}

.car-success h2 {
    color: #22c55e;
    margin-bottom: 1rem;
}

.car-error {
    border-left: 5px solid #ef4444;
}

.car-error .car-message-icon {
    color: #ef4444;
}

.car-error h2 {
    color: #ef4444;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .car-calculator-wrapper {
        padding: 1rem;
    }

    .car-progress-steps {
        padding: 1rem 1.5rem;
    }

    .car-progress-steps::before {
        left: 15%;
        right: 15%;
    }

    .car-step {
        min-width: 60px;
    }

    .car-step-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .car-step-label {
        font-size: 0.75rem;
    }

    .car-form {
        padding: 2rem 1.5rem;
    }

    .car-step-content h2 {
        font-size: 2rem;
    }

    .car-subtitle {
        font-size: 1rem;
    }

    .car-options-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .car-option {
        padding: 1.5rem 1rem;
    }

    .car-option-icon {
        font-size: 2.5rem;
    }

    .car-form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .car-time-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .car-savings-text {
        font-size: 1.8rem;
    }

    .car-contact-section h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .car-progress-steps {
        padding: 1rem;
    }

    .car-progress-steps::before {
        left: 20%;
        right: 20%;
    }

    .car-step {
        min-width: 50px;
    }

    .car-step-number {
        width: 2rem;
        height: 2rem;
        font-size: 0.9rem;
    }

    .car-step-label {
        font-size: 0.7rem;
    }

    .car-step-content h2 {
        font-size: 1.8rem;
    }

    .car-time-options {
        grid-template-columns: 1fr;
    }

    .car-option-label {
        font-size: 1rem;
    }
}

/* Loading States */
.car-submit-btn.loading {
    pointer-events: none;
    position: relative;
}

.car-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}
