/**
 * 픽콘 FAQ 페이지 CSS
 */

/* =====================================================
   1. 페이지 레이아웃
   ===================================================== */
.faq-container {
    padding-top: 48px;
    background-color: #f4f6f9;
    min-height: 100vh;
}

.faq-content {
    padding: 20px;
    font-family: 'Noto Sans KR', sans-serif;
}

.faq-content h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 24px;
    color: #333;
}

/* =====================================================
   2. 카테고리 버튼
   ===================================================== */
.faq-category {
    margin-bottom: 15px;
}

.category-btn {
    width: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    display: block;
    text-decoration: none;
    color: #333;
    font-family: 'Noto Sans KR', sans-serif;
}

.category-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* =====================================================
   3. 질문/답변
   ===================================================== */
.subcategory-list {
    padding-left: 10px;
    margin-top: 10px;
    display: none;
}

.subcategory-list.open {
    display: block;
}

.question-btn {
    width: 100%;
    padding: 12px 15px;
    background-color: #fff;
    border: none;
    border-radius: 6px;
    text-align: left;
    font-size: 15px;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-family: 'Noto Sans KR', sans-serif;
}

.answer {
    display: none;
    padding: 15px;
    background-color: #fdfdfd;
    border-radius: 6px;
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
    font-size: 14px;
    border-left: 3px solid #5a86ff;
}

.answer.open {
    display: block;
}

/* =====================================================
   4. 답변 내 버튼
   ===================================================== */
.faq-history-link {
    display: inline-flex;
    align-items: center;
    background: #5a86ff;
    padding: 3px 5px;
    border-radius: 10px;
    vertical-align: middle;
    line-height: 1;
    text-decoration: none;
}
.faq-history-link svg {
    width: 12px;
    height: 12px;
    fill: #fff;
}

.button-group {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.button-group .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    box-sizing: border-box;
    text-decoration: none;
    color: white;
    border: none;
    padding: 0 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button-group .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.instagram-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.inquiry-btn {
    background-color: #ffab76;
}

.suggestion-btn {
    background-color: #2ecc71;
}

/* =====================================================
   5. 회원 탈퇴 영역
   ===================================================== */
.withdraw-section {
    margin-top: 40px;
    padding: 24px 20px;
    text-align: center;
    border-top: 1px solid #e0e0e0;
}

.withdraw-desc {
    font-size: 13px;
    color: #999;
    margin-bottom: 12px;
}

.withdraw-btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 13px;
    color: #999;
    background: none;
    border: 1px solid #ccc;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s ease;
    text-decoration: none;
}

.withdraw-btn:hover {
    color: #e74c3c;
    border-color: #e74c3c;
}

/* =====================================================
   6. 내 문의 사항 보기
   ===================================================== */
.my-inquiry-section {
    margin-top: 6px;
    padding: 0 0 8px;
}

.my-inquiry-btn-wrap {
    text-align: center;
}

.my-inquiry-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 20px;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: 'Noto Sans KR', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.my-inquiry-btn:active {
    transform: scale(0.97);
}

.my-inquiry-btn svg {
    opacity: 0.5;
}
