:root { --brand: #0ABAB5; --brand-light: #e6fafa; --brand-dark: #089a96; }

/* ===== Hero ===== */
.faq-hero {
    background: linear-gradient(150deg, #f0fefe 0%, #e6fafa 100%);
    padding: 56px 0 44px;
    text-align: center;
}
.faq-hero h1 { font-size: 28px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; }
.faq-hero-sub { color: #666; font-size: 14px; margin-bottom: 28px; }

/* ===== Search ===== */
.faq-search-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}
.faq-search-wrap .bi-search {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
}
#faqSearch {
    width: 100%;
    border: 2px solid #d8d8d8;
    border-radius: 50px;
    padding: 12px 20px 12px 44px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: #fff;
}
#faqSearch:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(10,186,181,.12);
}

/* ===== Body ===== */
.faq-body { padding-top: 36px; padding-bottom: 72px; }

/* ===== Tabs ===== */
.faq-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    border: none;
}
.faq-tab {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 13px;
    cursor: pointer;
    color: #555;
    transition: all .18s;
    white-space: nowrap;
    line-height: 1.5;
}
.faq-tab:hover { border-color: var(--brand); color: var(--brand); }
.faq-tab.active {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
    font-weight: 600;
}

/* ===== Accordion ===== */
.faq-item-wrap { margin-bottom: 8px; }

.faq-card {
    border: 1.5px solid #e8e8e8 !important;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
    transition: box-shadow .15s;
}
.faq-card:hover { box-shadow: 0 3px 12px rgba(0,0,0,.09); }

.faq-card .accordion-button {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    background: #fff;
    padding: 18px 52px 18px 20px;
    align-items: flex-start;
}
.faq-card .accordion-button::after {
    flex-shrink: 0;
    position: absolute;
    right: 18px;
    top: 20px;
}
.faq-card .accordion-button:not(.collapsed) {
    color: var(--brand-dark);
    background: var(--brand-light);
    box-shadow: none;
}
.faq-card .accordion-button:focus { box-shadow: none; }
.faq-card .accordion-collapse { border-top: 1px solid #f0f0f0; }
.faq-card .accordion-body {
    font-size: 13px;
    color: #555;
    line-height: 1.85;
    padding: 16px 20px 20px;
    background: #fff;
}

/* Q inner */
.faq-q-inner { display: flex; flex-direction: column; gap: 5px; flex: 1; padding-right: 4px; }
.faq-q-text { line-height: 1.55; }

/* ===== Hot badge ===== */
.faq-hot-badge {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    padding: 2px 8px;
    width: fit-content;
}

/* ===== Related link ===== */
.faq-related-link {
    display: inline-block;
    margin-top: 12px;
    color: var(--brand);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.faq-related-link:hover { text-decoration: underline; color: var(--brand-dark); }

/* ===== No results ===== */
.faq-no-results {
    text-align: center;
    padding: 56px 0;
    color: #aaa;
    display: none;
}
.faq-no-results .bi { font-size: 36px; display: block; margin-bottom: 12px; }
.faq-no-results p { font-size: 15px; }

/* ===== Responsive ===== */
@media (max-width: 576px) {
    .faq-hero h1 { font-size: 22px; }
    .faq-card .accordion-button { font-size: 13px; }
    .faq-tab { font-size: 12px; padding: 5px 12px; }
}
