

/* 고객센터 컨테이너 정렬 */
.support-page-container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}




/* FAQ 필터 헤더 라인 (드롭다운 + 카테고리 칩) */
.faq-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 8px;
}

/* 공통 ▼ 드롭다운 (설계도 내 텍스트 방식 재현) */
.faq-select-wrapper {
    position: relative;
    display: inline-block;
}
.faq-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    font: var(--type-body-b);
    color: black;
    padding-right: 18px;
    cursor: pointer;
    outline: none;
}
.faq-select-wrapper::after {
    content: "▼";
    font-size: 8px;
    color: #64748b;
    position: absolute;
    right: 0;
    top: 52%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* 카테고리 알약 버튼 그룹 */
.faq-tag-group {
    display: flex;
    gap: 6px;
}
.faq-tag {
    background-color: transparent;
    border: 1.5px solid var(--color-1);
    color: var(--color-1);
    font:var(--type-discript-b);
    padding: 4px 10px;
    border-radius: 50em;
    cursor: pointer;
    transition: all 0.2s ease;
}
.faq-tag.active {
    background-color: var(--color-1);
    color: white;
}

/* 아코디언 목록 스타일 */
.faq-accordion-list {
    display: flex;
    flex-direction: column;
}
.faq-item {
    border-bottom: 1.5px solid #e2e8f0;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    cursor: pointer;
    user-select: none;
}
.q-prefix {
    font-size: 16px;
    font-weight: 800;
    color: var(--color-1);
    margin-right: 8px;
}
.q-title {
    flex: 1;
    font-size: 14px;
    font-weight: 700;
    color: black;
    word-break: keep-all;
}
.q-arrow {
    color: #94a3b8;
    display: flex;
    align-items: center;
    transition: transform 0.25s ease; /* 화살표 회전 애니메이션 */
}
.faq-item.open .q-arrow {
    transform: rotate(180deg); /* 열림 상태 회전 */
}

/* 아코디언 답변 영역 (기본 닫힘) */
.faq-answer {
    display: none;
    background-color: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.faq-answer p {
    font:var(--type-body);
    color: #475569;
    margin: 0;
    word-break: keep-all;
}

/* 우측 하단 글작성 버튼 영역 */
.faq-action-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
}
.btn-write-post {
    background-color: var(--color-1);
    color: #ffffff;
    border: none;
    outline: none;
    font-size: 12.5px;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.btn-write-post:hover {
    opacity: 0.9;
}

/* 문의하기 탭 전용 카드 정렬 */
.inquiry-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 대행사 전용 회색조 둥근 박스 카드 재현 */
.inquiry-card {
    background-color: #706f6f; /* 설계도 속 다크그레이 색상 매칭 */
    border-radius: 24px;
    padding: 24px 16px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    cursor: pointer;
}
.inquiry-card:hover {
    transform: translateY(-2px);
}
.card-title {
    font: var(--type-bodytitle-b);
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.card-desc {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
    opacity: 0.95;
}
.card-desc.subtitle {
    opacity: 0.8;
}


















.inline-input::placeholder {
    color: #cbd5e1;
}

/* 에러 감지 시의 디자인 변화 */
.input-inline-box.error {
    border-color: #ef4444 !important;
}

/* 상품 내역 2x2 격자 카드 */
.product-grid-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.product-card-btn {
    border: 2px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    border-radius: 12px;
    padding: 12px;
    text-align: left;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 72px;
    box-sizing: border-box;
}
.product-card-btn span {
    font-size: 10.5px;
    font-weight: 600;
    opacity: 0.8;
    margin-top: 3px;
}
.product-card-btn.active {
    background-color: var(--color-1); /* 선택 시 블루색상 전환 */
    border-color: var(--color-1);
    color: #ffffff;
}

/* 통화가능 시간 1x4 슬롯 칩 */
.time-slots-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}
.time-slot-btn {
    border: 2px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    border-radius: 8px;
    padding: 8px 2px;
    text-align: center;
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    box-sizing: border-box;
    line-height: 1.35;
}
.time-slot-btn span {
    font-size: 8.5px;
    font-weight: 600;
    opacity: 0.85;
    margin-top: 3px;
    white-space: nowrap;
}
.time-slot-btn.active {
    background-color: var(--color-1);
    border-color: var(--color-1);
    color: #ffffff;
}

/* 추가 문의 기입 박스 */
.inquiry-textarea-box {
    border: 2px solid #cbd5e1;
    background-color: #e2e8f0; /* 설계서 내 어두운 회색조 바탕 매칭 */
    border-radius: 14px;
    padding: 14px;
    box-sizing: border-box;
    width: 100%;
    height: 80px;
    outline: none;
    resize: none;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    font-family: inherit;
    transition: border-color 0.2s;
}
.inquiry-textarea-box:focus {
    border-color: var(--color-1);
    background-color: #ffffff;
}
.inquiry-textarea-box::placeholder {
    color: #94a3b8;
}

/* 하단 무료 상담 신청하기 버튼 (진한 블루 테마) */
.btn-submit-consultation {
    width: 100%;
    height: 56px;
    background-color: #2b59c3; /* 설계도 하단 버튼 컬러 싱크 정합 */
    color: #ffffff;
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    transition: opacity 0.2s;
}
.btn-submit-consultation:hover {
    opacity: 0.9;
}




.admin-page-container {
    font-family: "Pretendard Variable", Pretendard, -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    max-width: 440px; /* 대시보드 맞춤형 모바일 규격 */
    margin: 20px auto;
}

/* 상단 관리 헤더 */
.admin-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}
.btn-back {
    color: #0f172a;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    transition: opacity 0.2s;
}
.btn-back:hover {
    opacity: 0.7;
}
.header-text {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}

/* 필터 정렬 탭바 영역 */
.admin-filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}
.filter-tab {
    background: none;
    border: none;
    font-size: 13.5px;
    font-weight: 800;
    color: #64748b;
    cursor: pointer;
    padding: 6px 0;
    border-bottom: 2.5px solid transparent;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}
.filter-tab.active {
    color: #2b59c3;
    border-bottom-color: #2b59c3;
}
.filter-tab .count-badge {
    font-size: 10px;
    font-weight: 800;
    background-color: #e2e8f0;
    color: #475569;
    padding: 2px 6px;
    border-radius: 100px;
}
.filter-tab.active .count-badge {
    background-color: #dbeafe;
    color: #2b59c3;
}

/* 카드 리스트 본문 */
.admin-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 개별 격자 카드 스타일 */
.admin-card {
    border: 2px solid #cbd5e1;
    border-radius: 20px;
    background-color: #ffffff;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.02);
}

/* 카드 상단 배지 및 시간 표시줄 */
.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.status-badge {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
}
.status-badge.pending {
    background-color: #fef3c7;
    color: #d97706;
    border: 1px solid #fde68a;
}
.status-badge.completed {
    background-color: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.card-date {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
}

/* 대표자 성명 및 소속 */
.card-main-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px 0;
}
.card-main-title span {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-left: 4px;
}

/* 세부 내역 키-값 정렬 */
.card-detail-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.detail-row {
    display: flex;
    font-size: 13.5px;
    line-height: 1.45;
}
.detail-key {
    width: 90px;
    font-weight: 700;
    color: #64748b;
    flex-shrink: 0;
}
.detail-val {
    font-weight: 600;
    color: #1e293b;
}

/* 통화 링크 스타일 */
.phone-dial-link {
    color: #2b59c3;
    text-decoration: underline;
    font-weight: 700;
}

/* 추가 질문 코멘트 영역 */
.detail-comment-box {
    background-color: #f1f5f9;
    border-radius: 10px;
    padding: 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 16px;
    word-break: keep-all;
}

/* 카드 하단 빠른 조작부 */
.card-action-bar {
    display: flex;
    gap: 8px;
    border-top: 1.5px dashed #e2e8f0;
    padding-top: 16px;
}
.btn-card-action {
    flex: 1;
    height: 40px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    background-color: #ffffff;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.btn-card-action:hover {
    background-color: #f8fafc;
}
.btn-card-action.primary {
    background-color: #2b59c3;
    border-color: #2b59c3;
    color: #ffffff;
}
.btn-card-action.primary:hover {
    opacity: 0.95;
}







