.faq-wrapper {
    width: 100%;
}

.faq-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #666666;
}

.faq-item {
    border-bottom: 1px solid #666666;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-question-text {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: #111827;
}

.faq-icon-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid #c7d2fe;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.faq-icon-btn i,
.faq-icon-btn svg {
    font-size: 12px;
    width: 12px;
    height: 12px;
    color: #4361ee;
    fill: #4361ee;
    transition: color 0.25s ease, fill 0.25s ease;
}

.faq-icon-closed { display: flex; }
.faq-icon-opened { display: none;  }

.faq-item.faq-open .faq-icon-btn {
    background-color: #4361ee;
    border-color: transparent;
}

.faq-item.faq-open .faq-icon-btn i,
.faq-item.faq-open .faq-icon-btn svg {
    color: #ffffff;
    fill: #ffffff;
}

.faq-item.faq-open .faq-icon-closed { display: none;  }
.faq-item.faq-open .faq-icon-opened { display: flex;  }

.faq-answer {
    overflow: hidden;
}

.faq-answer-inner {
    padding-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
}

.faq-answer-inner > *:first-child { margin-top: 0; }
.faq-answer-inner > *:last-child  { margin-bottom: 0; }

.faq-answer.faq-animating {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 1;
}

.faq-answer.faq-collapsing {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

@media (max-width: 767px) {
    .faq-question-text {
        font-size: 15px;
    }

    .faq-answer-inner {
        font-size: 14px;
    }

    .faq-icon-btn {
        width: 32px;
        height: 32px;
    }
}