/* Generated by tools/build_css.py from assets/css. Edit the sources there, not this file. */
/* Contact page FAQ accordion (templates/fileapp/contact.html). Loaded after legal.css. */

.faq-accordion {
    margin: 1.5rem 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    margin-bottom: 0.5rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: var(--color-white);
    padding: 1.2rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 1.5rem 1.2rem 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Closing "Thank you" line; two classes to beat .legal-content p { opacity: 0.9 } from legal.css. */
.legal-content .contact-thanks {
    text-align: center;
    margin-top: 2rem;
    opacity: 0.8;
}
