/* Base Styles */
.sb-calculator-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: system-ui, -apple-system, sans-serif;
    color: #1a1a1a;
}

/* Progress Steps */
.sb-progress-steps {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    position: relative;
    gap: 1rem;
}

.sb-progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
    z-index: 1;
}

.sb-step {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding-right: 1rem;
}

.sb-step:first-child {
    padding-left: 0;
}

.sb-step-number {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    font-weight: 500;
    font-size: 0.875rem;
    background: white;
    color: #6b7280;
    transition: all 0.2s ease;
}

.sb-step.active .sb-step-number {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
}

.sb-step.completed .sb-step-number {
    background: #ff0000;
    border-color: #ff0000;
    color: white;
}

.sb-step-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
}

.sb-step.active .sb-step-label {
    color: #ff0000;
}

/* Form Content */
.sb-step-content {
    margin-bottom: 2rem;
}

.sb-step-content h2 {
    font-size: 1.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.sb-subtitle {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 2rem;
}

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

.sb-option {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem 1rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sb-option:hover {
    border-color: #ff0000;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.1);
}

.sb-option.active {
    background: #fff5f5;
    border-color: #ff0000;
}

.sb-option-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff0000;
}

.sb-option-icon svg {
    width: 100%;
    height: 100%;
}

.sb-option-label {
    font-weight: 500;
    color: #1a1a1a;
    text-align: center;
}

/* Navigation Buttons */
.sb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
}

.sb-btn-back {
    color: #6b7280;
    background: #f3f4f6;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
}

.sb-btn-back:hover {
    background: #e5e7eb;
    color: #374151;
}

.sb-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Results Card */
.sb-results-card {
    background: #1a1a1a;
    border-radius: 1rem;
    padding: 2rem;
    color: white;
}

.sb-results-title {
    margin-bottom: 2rem;
    text-align: center;
}

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

.sb-savings-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.sb-savings-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.sb-savings-value {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
}

/* Eco Impact Section */
.sb-eco-impact {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sb-eco-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

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

/* Contact Form */
.sb-contact-section {
    margin-top: 2rem;
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.sb-contact-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.sb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.sb-form-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.sb-form-field:focus {
    outline: none;
    border-color: #ff0000;
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.1);
}

.sb-form-note {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.sb-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
    text-align: center;
    margin-top: 1.5rem;
}

.sb-submit-btn:hover:not(:disabled) {
    background: #e60000;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(255, 0, 0, 0.2);
}

.sb-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Messages */
.sb-success-message,
.sb-error-message,
.sb-info-message {
    padding: 2.5rem;
    border-radius: 0.75rem;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.sb-success-message {
    background: #f0fdf4;
    border: 1px solid #86efac;
    color: #166534;
}

.sb-error-message {
    color: #ff0000;
    margin-bottom: 1rem;
}

.sb-info-message {
    background: #fff5f5;
    border: 1px solid #ff0000;
    color: #1a1a1a;
}

.sb-info-message h2 {
    color: #ff0000;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sb-info-message p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #4a5568;
}

/* Benefits List */
.sb-benefits {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
}

.sb-benefits li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    color: #4b5563;
    font-size: 1rem;
    line-height: 1.5;
}

.sb-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff0000;
    font-weight: bold;
}

.sb-disclaimer {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 1.5rem;
    text-align: center;
    font-style: italic;
}

/* Reset Button */
.sb-btn-reset {
    background: #ff0000;
    color: white;
    margin-top: 2rem;
    padding: 0.875rem 2rem;
    display: inline-block;
}

.sb-btn-reset:hover {
    background: #e60000;
}

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

    .sb-step-label {
        display: none;
    }

    .sb-savings-breakdown {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sb-form-grid {
        grid-template-columns: 1fr;
    }

    .savings-text {
        font-size: 1.5rem;
    }

    .sb-submit-btn,
    .sb-btn-back,
    .sb-btn-reset {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .sb-benefits li {
        font-size: 0.875rem;
        padding-left: 1.5rem;
    }

    .sb-eco-impact {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

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

.sb-step-content {
    animation: fadeIn 0.2s ease-out;
}
