/* BuenaVida Coffee Finder - Public Styles */

.bvcf-wizard-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--bvcf-background, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.bvcf-wizard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.bvcf-wizard-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--bvcf-text, #333);
}

.bvcf-subtitle {
    color: var(--bvcf-text-light, #666);
    font-size: 1.1rem;
}

.bvcf-wizard-progress {
    width: 100%;
    height: 8px;
    background: var(--bvcf-border, #e0e0e0);
    margin-bottom: 2rem;
    overflow: hidden;
}

.bvcf-progress-bar {
    height: 100%;
    background: var(--bvcf-progress-bar, #8B4513);
    width: 0%;
    transition: width 0.3s ease;
}

.bvcf-question {
    margin-bottom: 2rem;
}

.bvcf-question-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    gap: 1.5rem;
}

.bvcf-question-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f8f8;
    padding: 10px;
}

.bvcf-question-icon img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.bvcf-question-title-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.bvcf-question-title {
    font-size: 1.5rem;
    color: var(--bvcf-text, #333);
    margin: 0;
    flex: 1;
}

.bvcf-optional-badge {
    background: #f0f0f0;
    color: #666;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

.bvcf-question-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.bvcf-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid var(--bvcf-option-border, #e0e0e0);
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bvcf-background, #fff);
}

.bvcf-option:hover {
    border-color: var(--bvcf-option-border-hover, #D2691E);
    background: #fff8f0;
}

.bvcf-option input[type="checkbox"],
.bvcf-option input[type="radio"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.bvcf-option input[type="checkbox"]:checked ~ .bvcf-option-label,
.bvcf-option input[type="radio"]:checked ~ .bvcf-option-label {
    font-weight: 600;
    color: var(--bvcf-primary, #8B4513);
}

.bvcf-option:has(input:checked) {
    border-color: var(--bvcf-option-border-selected, #8B4513);
    background: #fff8f0;
}

.bvcf-option-label {
    flex: 1;
    font-size: 1rem;
    color: var(--bvcf-text, #333);
}

.bvcf-wizard-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.bvcf-btn {
    padding: 0.75rem 2rem;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bvcf-btn-primary {
    background: var(--bvcf-primary, #8B4513);
    color: #fff;
}

.bvcf-btn-primary:hover {
    background: var(--bvcf-primary-hover, #A0522D);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

.bvcf-btn-secondary {
    background: #f0f0f0;
    color: var(--bvcf-text, #333);
}

.bvcf-btn-secondary:hover {
    background: #e0e0e0;
}

.bvcf-loading {
    text-align: center;
    padding: 3rem;
    font-size: 1.2rem;
    color: var(--bvcf-text-light, #666);
}

.bvcf-results {
    margin-top: 2rem;
}

.bvcf-result-item {
    background: var(--bvcf-background, #fff);
    border: 2px solid var(--bvcf-border, #e0e0e0);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.bvcf-result-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bvcf-result-item.best {
    border-color: #FFD700;
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
}

.bvcf-result-item.alternative {
    border-color: #C0C0C0;
}

.bvcf-result-item.adventurous {
    border-color: #CD7F32;
}

.bvcf-result-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.bvcf-result-badge.best {
    background: #FFD700;
    color: #333;
}

.bvcf-result-badge.alternative {
    background: #C0C0C0;
    color: #333;
}

.bvcf-result-badge.adventurous {
    background: #CD7F32;
    color: #fff;
}

.bvcf-result-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.bvcf-result-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.bvcf-result-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--bvcf-text, #333);
}

.bvcf-result-info h3 a {
    color: var(--bvcf-text, #333);
    text-decoration: none;
}

.bvcf-result-info h3 a:hover {
    color: var(--bvcf-primary, #8B4513);
}

.bvcf-result-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--bvcf-primary, #8B4513);
    margin-bottom: 1rem;
}

.bvcf-result-explanation {
    background: #f8f8f8;
    padding: 1rem;
    margin-bottom: 1rem;
}

.bvcf-result-explanation h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    color: var(--bvcf-text, #333);
}

.bvcf-result-explanation ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.bvcf-result-explanation .matched {
    color: var(--bvcf-success, #28a745);
}

.bvcf-result-explanation .unmatched {
    color: var(--bvcf-error, #dc3545);
}

.bvcf-variants {
    margin-top: 1rem;
}

.bvcf-variants h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.bvcf-variant-select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--bvcf-border, #e0e0e0);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--bvcf-text, #333);
}

.bvcf-variant-warning {
    background: #fff3cd;
    border: 1px solid var(--bvcf-warning, #ffc107);
    color: #856404;
    padding: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.bvcf-add-to-cart {
    width: 100%;
    padding: 1rem;
    background: var(--bvcf-primary, #8B4513);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bvcf-add-to-cart:hover {
    background: var(--bvcf-primary-hover, #A0522D);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(139, 69, 19, 0.3);
}

.bvcf-restart {
    text-align: center;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .bvcf-wizard-container {
        padding: 1rem;
    }
    
    .bvcf-question-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .bvcf-question-icon {
        width: 60px;
        height: 60px;
    }
    
    .bvcf-question-title-wrapper {
        flex-direction: column;
        align-items: center;
    }
    
    .bvcf-result-content {
        grid-template-columns: 1fr;
    }
    
    .bvcf-result-image {
        height: 250px;
    }
}

