#faq-modal-content {
    max-width: 800px;
}

#faq-list-wrapper {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 10px;
}

#faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: 'Roboto', sans-serif;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden; /* prevents content spill during transition */
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 1.1rem;
    color: #eee;
    -webkit-tap-highlight-color: transparent; /* remove tap highlight on mobile */
}

.faq-question::after {
    content: '+';
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    color: #888;
    transition: transform 0.2s ease-in-out;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
    line-height: 1.5;
    color: #ddd;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding: 0 15px 15px;
}