/**
 * FAQ Component Styles
 * Isolated styles for the FAQ component that can be used across the site
 */

.lhelp-faq-container {
    background-color: var(--light-gray-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.lhelp-faq-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.lhelp-faq-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.lhelp-faq-items {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.lhelp-faq-items.one-column {
    grid-template-columns: 1fr;
}

.lhelp-faq-items.two-columns {
    grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
    .lhelp-faq-items.two-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

.lhelp-faq-item .lhelp-faq-inner {
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding-bottom: 5px;
    background-color: var(--background-color);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: all 0.3s ease;
}

.lhelp-faq-item.active {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.lhelp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: var(--background-color);
}

.lhelp-faq-question h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 0;
    transition: color 0.2s ease;
    flex: 1;
    padding-right: 15px;
}

.lhelp-faq-question:hover h4 {
    color: var(--primary-color);
}

.lhelp-faq-toggle {
    background-color: var(--border-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--secondary-color);
    font-size: 12px;
    flex-shrink: 0;
}

.lhelp-faq-question:hover .lhelp-faq-toggle {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.lhelp-faq-item.active .lhelp-faq-toggle {
    background-color: var(--primary-color);
    color: var(--background-color);
}

.lhelp-faq-item.active .lhelp-faq-question h4 {
    color: var(--primary-color);
}

.lhelp-faq-answer {
    padding: 5px 20px 20px;
    display: none;
    border-top: 1px dashed rgba(0,0,0,0.05);
}

.lhelp-faq-answer p {
    margin: 15px 0 0;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
}
