@charset "utf-8";

/* =========================================================
   FAQ 모던 고객센터 스타일시트
   ========================================================= */

.faq-container {
    max-width:100%;
    margin: 0 auto;
    padding: 30px 15px 70px;
}

.faq-header-card {
    border-bottom: 2px solid #0f172a;
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.faq-search-box {
    margin-bottom: 20px;
    border: none;
    padding: 0;
}

.faq-search-input-wrap {
    display: flex;
    max-width: 600px;
    gap: 8px;
}

.faq-search-input {
    flex: 1;
    height: 44px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
}

.faq-search-input:focus {
    border-color: #0284c7;
}

.faq-search-btn {
    height: 44px;
    padding: 0 20px;
    background: #0f172a;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
/* =========================================================
   FAQ 칩(Chip) 리스트 네비게이션 스타일 (헤더 내부 통합)
   ========================================================= */
.faq-header-card .faq-tab-container,
.faq-chip-container {
    margin-top: 0.88rem;
    padding-top: 0.88rem;
    border-top: 1px dashed #e2e8f0;
    margin-bottom: 0;
    border-bottom: none;
}

.faq-chip-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.44rem;
    width: 100%;
}

.faq-chip-item {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.42rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.81rem;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.15s ease;
    box-sizing: border-box;
}

.faq-chip-item:hover {
    background: #f1f5f9;
    color: #0f172a;
    border-color: #cbd5e1;
    text-decoration: none;
}

.faq-chip-item.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    font-weight: 700;
}

.faq-chip-count {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 9999px;
    background: #e2e8f0;
    color: #64748b;
    line-height: 1.2;
}

.faq-chip-item.active .faq-chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.faq-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.75rem 1.13rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    border: none;
    border-bottom: 2px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.faq-tab-btn:hover {
    color: #2563eb;
    border-bottom-color: #93c5fd;
    background: #f8fafc;
}

.faq-tab-btn.active {
    color: #2563eb;
    font-weight: 700;
    border-bottom: 2px solid #2563eb;
    background: transparent;
}

.faq-tab-count {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.13rem 0.44rem;
    border-radius: 0.63rem;
    background: #f1f5f9;
    color: #64748b;
}

.faq-tab-btn.active .faq-tab-count {
    background: #eff6ff;
    color: #2563eb;
}

/* FAQ 아코디언 카드 */

.faq-list-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.faq-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.faq-q-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    transition: background 0.2s;
}

.faq-q-btn:hover {
    background: #f8fafc;
}

.faq-q-text {
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-q-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
}

.faq-arrow {
    color: #94a3b8;
    transition: transform 0.2s;
}

.faq-arrow.open {
    transform: rotate(180deg);
}

.faq-a-body {
    display: none;
    padding: 20px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.faq-a-body.open {
    display: block;
}

.faq-a-content {
    display: flex;
    gap: 12px;
}

.faq-a-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 900;
    flex-shrink: 0;
}

.faq-a-text {
    font-size: 14px;
    color: #334155;
    line-height: 1.7;
}

/* 1:1 문의 박스 */
.faq-inquiry-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 24px 28px;
}

.faq-inquiry-title {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
}

.faq-inquiry-desc {
    font-size: 13.5px;
    color: #64748b;
    margin: 0;
}

.btn-faq-inquiry {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #0f172a;
    color: #ffffff;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
}

.btn-faq-inquiry:hover {
    background: #0284c7;
}

.faq-empty-state {
    text-align: center;
    padding: 3.75rem 1.25rem;
    background: #f8fafc;
    border-radius: 0.75rem;
    border: 1px dashed #cbd5e1;
    color: #64748b;
}

/* =========================================================
   다중 선택(Multi-select) 카테고리 필터 스타일
   ========================================================= */
.faq-multi-filter-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.faq-multi-filter-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.faq-multi-filter-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
}

.faq-multi-filter-label i {
    color: #2563eb;
}

.faq-multi-filter-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter-quick {
    padding: 0.38rem 0.75rem;
    font-size: 0.81rem;
    font-weight: 600;
    border-radius: 0.38rem;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background: #f8fafc;
    color: #475569;
    transition: all 0.15s ease;
}

.btn-filter-quick:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.btn-filter-quick.btn-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.btn-filter-quick.btn-primary:hover {
    background: #1d4ed8;
}

/* 다중 선택 칩 목록 */
.faq-multi-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.faq-multi-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    padding: 0.5rem 0.88rem;
    border: 1px solid #cbd5e1;
    border-radius: 1.25rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.81rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.faq-multi-pill:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
    color: #1e293b;
}

.faq-multi-pill input[type="checkbox"] {
    display: none;
}

.faq-multi-pill .pill-check-icon {
    font-size: 0.88rem;
    color: #94a3b8;
    transition: color 0.15s ease;
}

.faq-multi-pill .pill-cnt {
    font-size: 0.75rem;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.13rem 0.44rem;
    border-radius: 0.63rem;
}

.faq-multi-pill.is-checked {
    background: #eff6ff;
    border-color: #2563eb;
    color: #1d4ed8;
}

.faq-multi-pill.is-checked .pill-check-icon {
    color: #2563eb;
}

.faq-multi-pill.is-checked .pill-cnt {
    background: #bfdbfe;
    color: #1e40af;
}

/* 선택된 필터 요약 및 적용 바 */
.faq-filter-summary-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.63rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e2e8f0;
    font-size: 0.81rem;
    color: #64748b;
}

.faq-summary-tags {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.38rem;
}

.faq-selected-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.faq-selected-tag .tag-remove {
    cursor: pointer;
    margin-left: 0.25rem;
    color: #93c5fd;
}

.faq-selected-tag .tag-remove:hover {
    color: #dc2626;
}

/* =========================================================
   FAQ 모던 페이징 스타일
   ========================================================= */
.faq-pagination-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin: 2.25rem 0 3rem;
}

.faq-pagination-meta {
    font-size: 0.81rem;
    color: #64748b;
}

.faq-pagination {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
}

.faq-page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    height: 2.25rem;
    padding: 0 0.5rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.38rem;
    background: #ffffff;
    color: #334155;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.faq-page-item:hover {
    border-color: #2563eb;
    color: #2563eb;
    background: #eff6ff;
}

.faq-page-item.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    cursor: default;
}

.faq-page-item.disabled {
    border-color: #e2e8f0;
    color: #cbd5e1;
    background: #f8fafc;
    cursor: not-allowed;
    pointer-events: none;
}

/* ==========================================================================
   퍼블리싱 표준 클래스 (.cursorrules 준수: Zero Inline Styles & Rem Units)
   ========================================================================== */
.faq-summary-tags {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    margin-bottom: 1.25rem;
    font-size: 0.88rem;
    color: #334155;
}
.faq-cat-tag {
    display: inline-block;
    padding: 0.13rem 0.44rem;
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    border-radius: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    margin-right: 0.5rem;
}
.faq-empty-state {
    text-align: center;
    padding: 4rem 1.25rem;
    color: #64748b;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
}
.faq-empty-icon {
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

