/* Firefly FAQ Frontend Styling */

.firefly-faq-container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 15px;
}

.firefly-faq-accordion {
    background: #fff;
}

.faq-item {
    border: 1px solid #e0e0e0;
    margin-bottom: 10px;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

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

.faq-question {
    width: 100%;
    padding: 20px;
    background: #1a365d;
    color: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background: #0f1f3d;
    padding-left: 25px;
}

.faq-question:active {
    background: #0a1428;
}

.faq-toggle {
    font-size: 20px;
    font-weight: bold;
    min-width: 30px;
    text-align: right;
}

.faq-answer {
    padding: 20px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    line-height: 1.8;
    color: #333;
    display: none;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .firefly-faq-container {
        padding: 0 10px;
    }

    .faq-question {
        padding: 15px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 12px;
        font-size: 14px;
    }

    .faq-answer {
        padding: 12px;
        font-size: 14px;
    }
}

/* Styling for answer content */
.faq-answer p {
    margin: 10px 0;
    line-height: 1.8;
}

.faq-answer ul,
.faq-answer ol {
    margin: 15px 0 15px 25px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: #1a365d;
}
