/**
 * FAQ Accordion Styles for NextBrill AutoPost
 */
.nbap-faq-accordion {
    margin: 30px 0;
    max-width: 100%;
}

.nbap-faq-accordion h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.nbap-faq-item {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
    background: white;
}

.nbap-faq-question {
    width: 100%;
    padding: 15px 20px;
    text-align: left;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    outline: none;
}

.nbap-faq-question:hover {
    background: #e9ecef;
}

.nbap-faq-question:focus {
    background: #e9ecef;
    outline: 2px solid #2271b1;
    outline-offset: -2px;
}

.nbap-faq-icon {
    font-size: 20px;
    font-weight: bold;
    color: #2271b1;
    transition: transform 0.3s ease;
    min-width: 24px;
    text-align: center;
}

.nbap-faq-icon.nbap-faq-open {
    transform: rotate(0deg);
}

.nbap-faq-answer {
    display: none;
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #ddd;
    line-height: 1.6;
}

.nbap-faq-answer.nbap-faq-open {
    display: block;
}

.nbap-faq-answer p {
    margin: 0 0 10px 0;
}

.nbap-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nbap-faq-question {
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .nbap-faq-answer {
        padding: 12px 15px;
    }
    
    .nbap-faq-accordion h2 {
        font-size: 20px;
    }
}

