/* Interactive Poll Styles */
.interactive-poll {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.poll-title {
    font-size: 1.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.poll-subtitle {
    font-size: 0.9375rem;
    color: #666;
    margin-bottom: 2rem;
}

.poll-options {
    margin-bottom: 2.5rem;
}

.poll-option {
    margin-bottom: 1rem;
    border: 2px solid #eaeaea;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: #fafafa;
    position: relative;
}

.poll-option:hover {
    border-color: #d0d0d0;
    background: #f5f5f5;
}

.poll-option:has(.poll-radio:checked) {
    border-color: var(--theme-color-green, #02373b);;
    background: #eff6ff;
    accent-color: var(--theme-color-green, #02373b);
}

.poll-radio {
    /* margin-right: 1rem; */
    transform: scale(1.2);
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.poll-radio:focus {
    /* outline: 2px solid var(--theme-color-green, #02373b);;
    outline-offset: 2px; */
    outline: none;
    box-shadow: none;
}

.poll-option label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1.125rem;
    color: #333;
    margin: 0;
    width: 100%;
    padding: 1.25rem;
}

.option-text {
    flex: 1;
}

.poll-submit-btn {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    background: var(--theme-color-green, #02373b);;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
    min-height: 56px;
}

.poll-submit-btn:not(:disabled):hover {
    background: #1d4ed8;
}

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

/* Results Styles */
.poll-results {
    animation: fadeIn 0.3s ease;
}

.results-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.confirmation-message {
    font-size: 1.5rem;
    color: var(--theme-color-green, #02373b);;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.recommendation-card {
    padding: 1.5rem;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.card-benefit {
    font-size: 0.9375rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.recommendation-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--theme-color-green, #02373b);
    color: #FFFFFF !important;
    text-decoration: none;
    border-radius: 3.125rem;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
    min-height: 48px; /* Mobile tap target */
}

.recommendation-cta:hover {
    background: var(--theme-color-green, #02373b);
    color: #FFFFFF !important;
}

.poll-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #eaeaea;
}

.vote-again-btn {
    background: none;
    border: none;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
}

.vote-again-btn:hover {
    color: var(--theme-color-green, #02373b);;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .interactive-poll {
        margin: 1.5rem auto;
        padding: 1.5rem;
    }
    
    .poll-title {
        font-size: 1.5rem;
    }
    
    .poll-option label{
        padding: 1rem;
    }
    
    .recommendations-grid {
        grid-template-columns: 1fr;
    }
    
    .recommendation-card {
        padding: 1.25rem;
    }
}

/* Accessibility Focus Styles */
.poll-radio:focus-visible,
/* .poll-submit-btn:focus-visible, */
.recommendation-cta:focus-visible,
.vote-again-btn:focus-visible {
    outline: 3px solid var(--theme-color-green);
    outline-offset: 2px;
}

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