/* HVAC Quote System Styles */
.hvac-quote-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.hvac-form-container {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    position: relative;
}

/* Progress Bar */
.hvac-progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 30px;
    overflow: hidden;
}

.hvac-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    transition: width 0.4s ease;
}

.hvac-step-counter {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* Form Steps */
.hvac-form-step {
    display: none;
}

.hvac-form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

/* Option Cards */
.hvac-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.hvac-option-card {
    background: #f8f9fa;
    border: 2px solid transparent;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hvac-option-card:hover {
    border-color: #FF6B35;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.15);
}

.hvac-option-card.selected {
    border-color: #FF6B35;
    background: #fff5f2;
}

.option-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.option-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}

/* Product Cards */
#hvac-recommendations-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.hvac-product-card {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF6B35;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    margin: 20px 0;
}

.product-price {
    font-size: 32px;
    font-weight: 700;
    color: #FF6B35;
    text-align: center;
    margin: 15px 0;
}

.product-specs {
    margin: 20px 0;
}

.spec-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-item strong {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.hvac-select-product-btn {
    width: 100%;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hvac-select-product-btn:hover {
    background: #e55a2b;
}

/* Form Inputs */
.hvac-input-group {
    margin-bottom: 20px;
}

.hvac-input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.hvac-input-group input,
.hvac-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.hvac-input-group input:focus,
.hvac-input-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

/* Buttons */
.hvac-form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.hvac-btn {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.hvac-back-btn {
    background: #f0f0f0;
    color: #666;
}

.hvac-back-btn:hover {
    background: #e0e0e0;
}

.hvac-next-btn,
#hvac-submit-quote {
    background: #FF6B35;
    color: white;
    flex: 1;
}

.hvac-next-btn:hover,
#hvac-submit-quote:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.hvac-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Loading Overlay */
.hvac-loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.hvac-loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notifications */
.hvac-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 15px;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.hvac-notification.show {
    transform: translateX(0);
}

.hvac-notification.error {
    border-left: 4px solid #dc3545;
}

.hvac-notification.success {
    border-left: 4px solid #28a745;
}

.hvac-notification .close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* Blocked Message */
.hvac-blocked-message {
    text-align: center;
    padding: 60px 20px;
}

.blocked-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.hvac-blocked-message h2 {
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.hvac-blocked-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
}

#hvac-waitlist-form {
    max-width: 400px;
    margin: 30px auto 0;
}

#hvac-waitlist-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

#hvac-waitlist-form button {
    width: 100%;
    padding: 14px;
    background: #FF6B35;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

/* Success Page */
#hvac-success-page {
    text-align: center;
    padding: 60px 20px;
}

#hvac-success-page .success-icon {
    font-size: 80px;
    color: #28a745;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hvac-form-container {
        padding: 30px 20px;
    }

    .step-title {
        font-size: 24px;
    }

    .hvac-options-grid {
        grid-template-columns: 1fr;
    }

    #hvac-recommendations-container {
        grid-template-columns: 1fr;
    }

    .hvac-form-actions {
        flex-direction: column;
    }

    .hvac-btn {
        width: 100%;
    }
}
