@charset "utf-8";
/* 상담 신청 게시판 — 신청서 · 목록 (스킨 글꼴을 그대로 이어받음). 스킨 style.css / custom.css 에서 같은 선택자로 덮어쓸 수 있습니다. */
.tc-consult, .tc-consult-list, .tc-consult-done, .tc-consult-note, .tc-consult-paging { box-sizing: border-box; }
.tc-consult *, .tc-consult-list * { box-sizing: border-box; }

/* ---------- 신청서 ---------- */
.tc-consult { display: flex; flex-direction: column; gap: 20px; margin: 24px 0; padding: 32px; border: 1px solid #e3e3e3; border-radius: 16px; background: #fff; }
.tc-consult__row--half { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.tc-consult__field { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.tc-consult__label { font-size: 15px; font-weight: 700; color: #1f1f1f; }
.tc-consult em { font-style: normal; color: #d64545; }
.tc-consult input[type="text"], .tc-consult input[type="tel"], .tc-consult textarea {
	width: 100%; margin: 0; padding: 0 16px; height: 50px; border: 1px solid #d4d4d4; border-radius: 10px; background: #fff;
	font: inherit; font-size: 16px; color: #1f1f1f; outline: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none;
}
.tc-consult textarea { height: auto; min-height: 200px; padding: 14px 16px; line-height: 1.7; resize: vertical; }
.tc-consult input:focus, .tc-consult textarea:focus { border-color: #1f1f1f; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.tc-consult ::placeholder { color: #a5a5a5; }
.tc-consult__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.tc-consult__consent { padding: 18px 20px; border-radius: 12px; background: #f6f6f6; }
.tc-consult__consent-text { margin: 0 0 12px; font-size: 14px; line-height: 1.7; color: #666; }
.tc-consult__check { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 15px; font-weight: 600; color: #1f1f1f; cursor: pointer; }
.tc-consult__check input { width: 20px; height: 20px; margin: 0; accent-color: #1f1f1f; }

.tc-consult__actions { display: flex; justify-content: center; padding-top: 4px; }
.tc-consult__submit {
	min-width: 240px; height: 56px; padding: 0 32px; border: 0; border-radius: 28px; background: #1f1f1f; color: #fff;
	font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s;
}
.tc-consult__submit:hover { background: #000; transform: translateY(-1px); }

/* ---------- 목록 ---------- */
.tc-consult-done { margin: 0 0 20px; padding: 16px 20px; border-radius: 12px; background: #eef8f0; color: #1e7a3c; font-weight: 600; }
.tc-consult-list { overflow: hidden; margin: 8px 0 0; border: 1px solid #e3e3e3; border-radius: 14px; background: #fff; }
.tc-consult-list table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 15px; }
.tc-consult-list th, .tc-consult-list td { padding: 15px 16px; border: 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: middle; }
.tc-consult-list thead th { background: #fafafa; font-size: 14px; font-weight: 700; color: #555; }
.tc-consult-list tbody tr:last-child td { border-bottom: 0; }
.tc-consult-list .c-no { width: 72px; text-align: center; color: #999; }
.tc-consult-list .c-name { width: 110px; white-space: nowrap; }
.tc-consult-list .c-date { width: 120px; white-space: nowrap; color: #777; }
.tc-consult-list .c-title { color: #1f1f1f; word-break: keep-all; overflow-wrap: anywhere; }
.tc-consult-list .c-lock { display: inline-block; width: 11px; height: 9px; margin: 0 8px 0 0; border: 2px solid #b5b5b5; border-radius: 2px; position: relative; top: 1px; }
.tc-consult-list .c-lock::before { content: ""; position: absolute; left: 0; top: -7px; width: 7px; height: 6px; border: 2px solid #b5b5b5; border-bottom: 0; border-radius: 5px 5px 0 0; }
.tc-consult-list .c-empty { padding: 40px 16px; text-align: center; color: #999; }
.tc-consult-paging { display: flex; justify-content: center; gap: 6px; margin: 20px 0 0; }
.tc-consult-paging a, .tc-consult-paging strong { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid #ddd; border-radius: 10px; color: #333; text-decoration: none; font-size: 14px; }
.tc-consult-paging strong { background: #1f1f1f; border-color: #1f1f1f; color: #fff; }
.tc-consult-note { margin: 16px 0 0; font-size: 13px; color: #999; text-align: center; }

@media (max-width: 760px) {
	.tc-consult { padding: 22px 18px; gap: 18px; }
	.tc-consult__row--half { grid-template-columns: 1fr; gap: 18px; }
	.tc-consult__submit { width: 100%; }
	.tc-consult-list th, .tc-consult-list td { padding: 13px 10px; font-size: 14px; }
	.tc-consult-list .c-no { display: none; }
	.tc-consult-list .c-name { width: 64px; }
	.tc-consult-list .c-date { width: 84px; }
}
