@charset "UTF-8";

/* 탭 네비게이션 */
.inquiry-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--text-dim);
    margin-bottom: 40px;
}

.tab-btn {
    background: none;
    border: none;
    padding: 15px 30px;
    color: var(--text-dim);
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    font-family: 'dungGeunMo';
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
}

.upload-icon {
    text-align: center;
}

/* QNA 항목 전체 컨테이너 */
.qna-item {
    border: 1px solid var(--glass-border);
    margin-bottom: 15px;
    background: var(--card-bg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* 활성화된 항목 강조 */
.qna-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(88, 166, 255, 0.1);
}

/* 헤더 스타일 */
.qna-header {
    padding: 20px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.qna-header:hover {
    background: rgba(88, 166, 255, 0.05);
}

.qna-arrow {
    transition: transform 0.3s ease;
    color: var(--text-dim);
}

.qna-item.active .qna-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* 바디 영역 애니메이션 */
.qna-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
}

.qna-item.active .qna-body {
    max-height: 2000px; /* 충분히 큰 값 */
    padding-bottom: 30px;
    border-top: 1px solid var(--glass-border);
}

/* 내부 텍스트 박스 */
.bundle-section {
    padding: 25px 3px;
    margin: 20px 3px;
    border-left: 2px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.02);
}

.bundle-text {
    margin-top: 15px;
    color: var(--text-main);
    line-height: 1.8;
}

/* 답변(Reply) 영역 시스템 스타일 */
.reply-item {
    margin: 20px 3px;
    padding: 20px 3px;
    background: rgba(88, 166, 255, 0.05);
    border: 1px dashed var(--primary-color);
    position: relative;
}

.reply-item::before {
    content: 'RE:';
    position: absolute;
    left: -30px;
    top: 20px;
    color: var(--primary-color);
    font-weight: bold;
}