/* Product FAQ Manager - Frontend Styles */

.product-faq-section {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.product-faq-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 600;
    color: #212529;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #dee2e6;
}

.faq-icon {
    font-size: 24px;
}

.product-faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    overflow: hidden;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.faq-question {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 500;
    color: #212529;
    gap: 12px;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-q-badge, .faq-a-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.faq-q-badge {
    background: #25b9d7;
    color: #fff;
}

.faq-a-badge {
    background: #72c279;
    color: #fff;
    margin-top: 2px;
}

.faq-question-text {
    flex: 1;
    line-height: 1.4;
}

.faq-toggle {
    color: #6c757d;
    font-size: 12px;
    flex-shrink: 0;
}

.faq-answer {
    display: flex;
    padding: 0 20px 20px 20px;
    gap: 12px;
    align-items: flex-start;
}

.faq-answer-text {
    flex: 1;
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* List style */
.product-faq-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item-list {
    background: #fff;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.faq-question-row, .faq-answer-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-question-row {
    margin-bottom: 12px;
}

.faq-question-row .faq-question-text {
    font-weight: 600;
    color: #212529;
}

/* Responsive */
@media (max-width: 768px) {
    .product-faq-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .product-faq-title {
        font-size: 1.2rem;
    }
    
    .faq-question {
        padding: 12px 15px;
    }
    
    .faq-answer {
        padding: 0 15px 15px 15px;
    }
}
