/* Step 1 specific CSS */

/* Category Cards */
.category-card {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.category-card.selected {
    border-color: #0969DA;
    background-color: #f0f7ff;
    box-shadow: 0 4px 6px rgba(9, 105, 218, 0.1);
    transform: translateY(-2px);
}

/* Appliance option styling */
.appliance-option {
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.appliance-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.appliance-option.selected {
    border-color: #0969DA;
    background-color: #f0f7ff;
    box-shadow: 0 4px 6px rgba(9, 105, 218, 0.1);
}

/* Mobile-specific styles */
@media (max-width: 640px) {
    .category-card.selected {
        display: block !important;
        margin-bottom: 0.75rem;
    }

    .category-grid {
        margin-top: 0.5rem;
    }
    
    /* Add animation to selection */
    @keyframes select-pulse {
        0% {
            box-shadow: 0 0 0 0 rgba(9, 105, 218, 0.4);
        }
        70% {
            box-shadow: 0 0 0 10px rgba(9, 105, 218, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(9, 105, 218, 0);
        }
    }
    
    .appliance-option.selected {
        animation: select-pulse 0.8s ease-out;
    }
    
    /* Toggle categories button */
    #toggle-categories {
        font-size: 0.875rem;
        padding: 0.5rem;
        border-radius: 0.375rem;
        background-color: #f1f5f9;
        transition: all 0.2s ease;
        margin-bottom: 0.5rem;
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    #toggle-categories:hover {
        background-color: #e2e8f0;
    }
    
    /* Scroll indicator */
    .scroll-indicator {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0;
        color: #6b7280;
        font-size: 0.875rem;
        margin-top: 0.5rem;
        margin-bottom: 1rem;
    }
    
    /* Animation for the chevron */
    .animate-bounce {
        animation: bounce 1s infinite;
    }
    
    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-5px);
        }
    }
}