.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.faq-categories .button.active {
    background: linear-gradient(135deg, #6b3fa0 0%, #8b5fc0 100%);
    color: #ffffff;
}

.faq-questions {
    margin-bottom: 3rem;
}

.faq-item {
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.faq-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.faq-question-header h3 {
    margin: 0;
    flex: 1;
    color: #1a3a5f;
}

.faq-vote {
    margin-left: 1rem;
}

.faq-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #1a3a5f;
    border-radius: 20px;
    text-decoration: none;
    color: #1a3a5f;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
}

.faq-vote-btn:hover:not(:disabled) {
    background: #1a3a5f;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(26, 58, 95, 0.2);
}

.faq-vote-btn.voted,
.faq-vote-btn:disabled {
    background: linear-gradient(135deg, #6b3fa0 0%, #8b5fc0 100%);
    border-color: #6b3fa0;
    color: #ffffff;
    cursor: not-allowed;
    opacity: 0.8;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.faq-ask {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 2rem;
    margin-top: 2rem;
}

.faq-ask h3 {
    margin-top: 0;
    color: #1a3a5f;
}

.faq-submit-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.faq-captcha {
    flex: 0 0 auto;
}

.faq-submit-container .button {
    flex: 0 0 auto;
}

@media (max-width: 768px) {
    .faq-submit-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .faq-captcha {
        width: 100%;
    }
}

