@charset "utf-8";

/* ============== RESET / BASE ============== */
:root {
	--brand: #2D5CA7;
	--brand-dark: #234a8a;
	--accent: #289F97;
	--accent-hover: #38a19a;
	--primary-btn: #4255c7;
	--primary-btn-hover: #364bc5;
	--secondary-btn: #71a2e8;
	--header-bg-start: #4A4B4E;
	--header-bg-end: #3D3E40;
	--text: #2b2b2b;
	--text-light: #666;
	--muted: #8a8a8a;
	--border: #e3e7ee;
	--border-input: #c7c7c7;
	--border-focus: #71a2e8;
	--bg: #fafafa;
	--error: #d8443c;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: 'Poppins', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, "Segoe UI", "맑은 고딕", "Malgun Gothic", sans-serif;
	color: var(--text);
	background: var(--bg);
	font-size: 15px;
	letter-spacing: -0.03em;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

.ibsheet-demo {
	position: relative;
	min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
button { cursor: pointer; font-family: inherit; }

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
}

/* ============== HEADER (Global Nav) ============== */
.ibsheet-demo > header {
	display: flex;
	position: fixed;
	z-index: 99;
	width: 100%;
	height: 50px;
	top: 0;
	background: linear-gradient(180deg, var(--header-bg-start) 12%, var(--header-bg-end) 92%);
	color: #fff;
	font-size: 0.86em;  /* 16 * 0.86 = 13.76px — 원본 동일 */
}

.global-nav {
	display: flex;
	width: 100%;
	margin: 0 auto;
	align-items: stretch;
	justify-content: space-between;
	padding: 0 1.5em;
}

.brand > a {
	display: flex;
	height: 50px;
	align-items: center;
}
.brand img {
	height: 50px;
	margin: -1px 1em 0 0;
	display: block;
}

.gnb {
	display: flex;
	flex: 1;
	padding: 0 3.2em;
	gap: 1em;
	align-items: stretch;
}
.gnb > li {
	margin: 0 1.4em;
	display: flex;
	align-items: center;
	position: relative;
}
.gnb > li > a {
	color: #f3f5f5;
	font-weight: 300;
	letter-spacing: 0.064em;
	opacity: 0.64;
	transition: opacity 0.25s ease-in-out;
}
.gnb > li > a:hover,
.gnb > li.active > a {
	opacity: 1;
}
.gnb > li.active:after {
	content: '';
	position: absolute;
	bottom: -1px;
	left: 50%;
	width: 16px;
	height: 16px;
	border-bottom: 8px solid #fff;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	margin-left: -4px;
}

.option {
	display: flex;
	align-items: center;
}
.support-center {
	border: 2px solid #fff;
	background: transparent;
	height: 26px;
	color: #fff;
	font-size: 0.88em;
	font-weight: 300;
	padding: 0 1.24em;
	border-radius: 18px;
	opacity: 0.75;
	transition: opacity 0.25s ease-in-out;
	display: flex;
	align-items: center;
	white-space: nowrap;
}
.support-center:hover { opacity: 1; }
.support-center > img {
	height: 14px;
	margin-right: 0.5em;
}

/* ============== LOCAL NAV (Submenu Bar) ============== */
.local-nav {
	position: fixed;
	top: 50px;
	left: 0;
	right: 0;
	height: 45px;
	background: #fff;
	box-shadow: 0 1px 12px 2px rgba(0, 10, 65, 0.125);
	z-index: 98;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
}
.local-nav-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5em;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 2em;
}
.local-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	margin: 0;
	letter-spacing: 0.02em;
}
.submenu {
	display: flex;
	gap: 2.5em;
	align-items: center;
	font-size: 15px;
}
.submenu > li {
	opacity: 0.5;
	transition: opacity 0.25s;
	font-size: 0.92em;
}
.submenu > li:hover,
.submenu > li.active { opacity: 1; }
.submenu > li > a {
	color: #444;
	font-weight: 400;
	line-height: 1;
}
.submenu > li.active > a {
	color: var(--accent);
	font-weight: 500;
}
.submenu > li:hover > a { color: var(--accent-hover); }

/* ============== PAGE / MAIN ============== */
.page-main {
	padding: calc(50px + 45px + 48px) 0 80px;
}
.page-inner {
	max-width: 960px;
	margin: 0 auto;
	padding: 0 1.5em;
}

.page-hero {
	text-align: center;
	margin-bottom: 36px;
}
.page-title {
	font-size: 28px;
	font-weight: 600;
	letter-spacing: -0.5px;
	margin: 0 0 12px;
	color: var(--text);
}
.page-desc {
	color: var(--text-light);
	font-size: 14px;
	line-height: 1.75;
	margin: 0;
}
.page-desc strong {
	color: var(--brand);
	font-weight: 500;
}

/* ============== FORM CARD ============== */
.form-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 10px;
	padding: 0 40px;
	box-shadow: 0 2px 12px rgba(0, 10, 65, 0.04);
}

.form-section {
	padding: 28px 0;
	border-bottom: 1px solid var(--border);
}
.form-section:last-of-type { border-bottom: none; }

.form-section-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
	margin: 0 0 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.form-section-title .num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	background: var(--brand);
	color: #fff;
	border-radius: 50%;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0;
}

/* Grid */
.form-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 16px 20px;
}
.field { display: flex; flex-direction: column; }
.field[hidden] { display: none; }
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 6; }
.col-4  { grid-column: span 4; }

.field-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 7px;
	letter-spacing: 0.02em;
}
.field-label.required::after {
	content: "*";
	color: var(--error);
	margin-left: 4px;
}

/* Form controls — IBSheet common.css style */
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field input[type=date],
.field select,
.field textarea {
	height: 34px;
	line-height: 32px;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	background: #fff;
	font-size: 14px;
	padding: 0 12px;
	font-family: inherit;
	color: var(--text);
	transition: border-color 0.2s, box-shadow 0.2s;
	width: 100%;
}
.field select {
	cursor: pointer;
	padding-right: 28px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23666' d='M0 0l5 6 5-6z'/></svg>");
	background-repeat: no-repeat;
	background-position: right 12px center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.field textarea {
	height: auto;
	line-height: 1.6;
	padding: 10px 12px;
	resize: vertical;
	min-height: 80px;
}

.field input:hover,
.field select:hover,
.field textarea:hover,
.field input:focus,
.field select:focus,
.field textarea:focus {
	border-color: var(--border-focus);
	outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
	box-shadow: 0 0 0 3px rgba(113, 162, 232, 0.18);
}

.field *::placeholder { color: #aaa; }

/* 날짜 잘못 입력 시 흔들림 피드백 */
@keyframes dateShake {
	0%, 100% { transform: translateX(0); border-color: var(--error); }
	20%  { transform: translateX(-4px); border-color: var(--error); }
	40%  { transform: translateX(4px); border-color: var(--error); }
	60%  { transform: translateX(-3px); border-color: var(--error); }
	80%  { transform: translateX(2px); border-color: var(--error); }
}
.field input[type=date].date-shake {
	animation: dateShake 0.45s ease;
	border-color: var(--error);
}

/* ============== Multi-Select (체크박스 드롭다운) ============== */
.multi-select {
	position: relative;
}
.ms-toggle {
	width: 100%;
	height: 34px;
	line-height: 32px;
	background: #fff;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	padding: 0 32px 0 12px;
	font-size: 14px;
	font-family: inherit;
	text-align: left;
	color: var(--text);
	position: relative;
	transition: border-color 0.2s, box-shadow 0.2s;
	cursor: pointer;
	display: flex;
	align-items: center;
}
.ms-toggle:hover {
	border-color: var(--border-focus);
}
.multi-select.open .ms-toggle,
.ms-toggle:focus {
	border-color: var(--border-focus);
	outline: none;
	box-shadow: 0 0 0 3px rgba(113, 162, 232, 0.18);
}
.ms-label {
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.ms-label.ms-placeholder { color: #aaa; }
.ms-arrow {
	position: absolute;
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #888;
	font-size: 10px;
	transition: transform 0.2s;
	pointer-events: none;
}
.multi-select.open .ms-arrow {
	transform: translateY(-50%) rotate(180deg);
}

.ms-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	box-shadow: 0 4px 16px rgba(0, 10, 65, 0.1);
	z-index: 50;
	max-height: 240px;
	overflow-y: auto;
	padding: 4px 0;
}
.ms-option {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
	transition: background 0.12s;
}
.ms-option:hover { background: #f3f6fb; }
.ms-option input[type=checkbox] {
	width: 15px;
	height: 15px;
	accent-color: var(--brand);
	cursor: pointer;
	margin: 0;
}

.multi-select.ms-invalid .ms-toggle {
	border-color: var(--error);
	box-shadow: 0 0 0 3px rgba(216, 68, 60, 0.12);
}
.multi-select.ms-invalid ~ .field-error {
	display: block;
}

/* 라이선스 구분 프리셀렉트 하이라이트 애니메이션 */
@keyframes msPreselect {
	0%   { box-shadow: 0 0 0 0 rgba(45, 92, 167, 0.45); }
	50%  { box-shadow: 0 0 0 6px rgba(45, 92, 167, 0.15); }
	100% { box-shadow: 0 0 0 0 rgba(45, 92, 167, 0); }
}
.ms-preselected {
	animation: msPreselect 1.2s ease-out;
	border-color: var(--brand) !important;
}

/* Error state */
.field-error {
	display: none;
	color: var(--error);
	font-size: 12px;
	margin-top: 5px;
}

/* Help text (입력 힌트) */
.field-help {
	font-size: 11.5px;
	color: var(--muted);
	margin-top: 5px;
	line-height: 1.55;
	display: flex;
	gap: 5px;
	align-items: flex-start;
}
.field-help i {
	color: var(--brand);
	font-size: 13px;
	flex-shrink: 0;
	margin-top: 1px;
}
.field-help strong {
	color: var(--text-light);
	font-weight: 600;
}

/* 경고형 헬퍼 텍스트 (이메일 필드 등 중요 입력 안내용) */
.field-help-warn {
	margin-top: 6px;
	padding: 8px 10px;
	background: #FFF7E5;
	border: 1px solid #FFE0A8;
	border-radius: 4px;
	font-size: 12px;
	color: #7A5A00;
	line-height: 1.55;
}
.field-help-warn i {
	color: #E8A200 !important;
	font-size: 14px;
	margin-top: 1px;
}
.field-help-warn strong {
	color: #7A5A00;
}

/* 서버 정보 입력 예시 박스 */
.server-info-example {
	margin: 14px 0 16px;
	background: #f5f8fc;
	border: 1px solid #d9e2ed;
	border-radius: 6px;
	overflow: hidden;
}
.server-info-example .example-head {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	padding: 12px 16px;
	background: #eaf1f9;
	border-bottom: 1px solid #d9e2ed;
	font-size: 13px;
	color: #2d4d75;
}
.server-info-example .example-head i {
	color: #4178b8;
	font-size: 15px;
	margin-top: 1px;
	flex-shrink: 0;
}
.server-info-example .example-head strong {
	color: #1d3a5e;
}
.server-info-example .example-body {
	margin: 0;
	padding: 14px 18px;
	font-family: "Consolas", "Menlo", monospace;
	font-size: 13px;
	color: var(--text);
	background: #fff;
	white-space: pre;
	line-height: 1.7;
	user-select: all;
	overflow-x: auto;
}
.server-info-example .example-rules {
	margin: 0;
	padding: 12px 18px 14px 36px;
	font-size: 12.5px;
	color: var(--text-light);
	line-height: 1.7;
}
.server-info-example .example-rules li + li { margin-top: 2px; }
.server-info-example .example-rules code {
	background: #fff;
	padding: 1px 6px;
	border-radius: 3px;
	font-family: "Consolas", "Menlo", monospace;
	font-size: 12px;
	color: var(--accent);
	border: 1px solid #d9e2ed;
}

/* Section description (섹션 하위 안내문) */
.section-desc {
	font-size: 13px;
	color: var(--text-light);
	line-height: 1.6;
	margin: -8px 0 16px !important;
	padding: 10px 14px;
	background: #F8FAFC;
	border-left: 3px solid var(--brand);
	border-radius: 4px;
}
.section-desc strong {
	color: var(--text);
	font-weight: 600;
}

/* 라이선스 발행 유형 체크박스 그룹 (전달사항 섹션) */
.issuance-type-group {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px;
	padding: 12px 16px;
	margin-bottom: 12px;
	background: #fff;
	border: 1px solid var(--border-input);
	border-radius: 4px;
}
.issuance-type-label {
	font-size: 13px;
	font-weight: 600;
	color: var(--text);
	margin-right: 4px;
}
.issuance-type-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: var(--text);
	cursor: pointer;
	user-select: none;
}
.issuance-type-option input[type=checkbox] {
	width: 15px;
	height: 15px;
	accent-color: var(--brand);
	cursor: pointer;
	margin: 0;
}
.issuance-type-option:hover span { color: var(--brand); }

/* 재발행 선택 시 안내 박스 */
.reissue-info {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 14px;
	padding: 10px 14px;
	background: #EAF1F9;
	border: 1px solid #C8DCEF;
	border-radius: 4px;
	font-size: 12.5px;
	line-height: 1.6;
	color: #1d3a5e;
}
.reissue-info[hidden] { display: none; }
.reissue-info i {
	color: #4178b8;
	font-size: 14px;
	margin-top: 1px;
	flex-shrink: 0;
}
.reissue-info strong {
	color: #1d3a5e;
	font-weight: 600;
}

.was-validated .field input:invalid,
.was-validated .field select:invalid,
.was-validated .field textarea:invalid {
	border-color: var(--error);
}
.was-validated .field input:invalid ~ .field-error,
.was-validated .field select:invalid ~ .field-error,
.was-validated .field textarea:invalid ~ .field-error {
	display: block;
}

/* ============== Privacy Box ============== */
.privacy-box {
	background: #fafbfd;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 18px 22px;
}
.privacy-body {
	font-size: 13px;
	color: var(--text-light);
	line-height: 1.75;
}
.privacy-body p { margin: 0 0 6px; }
.privacy-body ul {
	margin: 6px 0 0;
	padding-left: 20px;
	list-style: disc;
}
.privacy-body strong {
	color: var(--text);
	font-weight: 500;
}

.privacy-agree {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px dashed #dde2eb;
	font-size: 14px;
	cursor: pointer;
}
.privacy-agree input[type=checkbox] {
	width: 16px;
	height: 16px;
	accent-color: var(--brand);
	cursor: pointer;
}
.privacy-agree em {
	font-style: normal;
	color: var(--error);
}
.was-validated .privacy-agree input:invalid ~ span {
	color: var(--error);
}

/* ============== Actions (Buttons) ============== */
.form-actions {
	display: flex;
	justify-content: center;
	gap: 12px;
	padding: 32px 0 8px;
}

.btn {
	font-size: 14px;
	font-weight: 500;
	padding: 0 26px;
	height: 40px;
	line-height: 38px;
	border-radius: 4px;
	border: 1px solid transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	transition: all 0.2s;
	min-width: 140px;
	letter-spacing: 0.02em;
}
.btn i { font-size: 14px; }

.btn-primary {
	background: var(--primary-btn);
	color: #fff;
}
.btn-primary:hover {
	background: var(--primary-btn-hover);
}

.btn-ghost {
	background: #fff;
	color: var(--text-light);
	border-color: var(--border-input);
}
.btn-ghost:hover {
	border-color: var(--secondary-btn);
	color: var(--secondary-btn);
}

/* ============== Footer ============== */
.site-footer {
	background: #fff;
	border-top: 1px solid var(--border);
	padding: 28px 0;
}
.footer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 1.5em;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.footer-logo {
	height: 26px;
	display: block;
	opacity: 0.85;
}
.copyright {
	margin: 0;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.02em;
}

/* ============== Modal ============== */
.modal-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 10, 65, 0.4);
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fadeIn 0.2s;
}
.modal-overlay[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-card {
	background: #fff;
	border-radius: 8px;
	width: 100%;
	max-width: 400px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
	animation: zoomIn 0.25s;
}
@keyframes zoomIn { from { transform: scale(0.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.modal-body {
	text-align: center;
	padding: 34px 30px 20px;
}
.modal-body i {
	font-size: 3rem;
	color: var(--accent);
}
.modal-body h4 {
	margin: 14px 0 6px;
	font-size: 18px;
	font-weight: 600;
}
.modal-body p {
	margin: 0;
	color: var(--text-light);
	font-size: 14px;
}
.receipt-box {
	margin-top: 18px;
	padding: 12px 14px;
	background: #f5f7fb;
	border: 1px solid #d9e0ec;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 13px;
}
.receipt-label {
	color: var(--text-light);
	font-weight: 500;
}
.receipt-value {
	font-family: "Consolas", "Menlo", monospace;
	color: var(--accent);
	font-weight: 600;
	user-select: all;
	word-break: break-all;
}
.receipt-copy {
	background: transparent;
	border: 1px solid #c4cdde;
	border-radius: 4px;
	padding: 2px 8px;
	cursor: pointer;
	color: var(--text-light);
	font-size: 13px;
	transition: all .15s ease;
}
.receipt-copy:hover { background: #fff; }
.receipt-copy.copied {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.modal-footer {
	padding: 0 30px 26px;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.modal-footer .btn {
	min-width: 100px;
	height: 36px;
	line-height: 34px;
	padding: 0 22px;
}
/* 복사 / 확인 두 버튼 양옆 배치 */
.modal-footer-split {
	justify-content: space-between;
}
/* 클립보드 복사 성공 시 잠깐 강조 */
.btn.copied {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
.btn.copied:hover {
	background: var(--accent);
	color: #fff;
	border-color: var(--accent);
}
/* 모달 안의 보조 안내 문구 */
.modal-sub-note {
	margin-top: 14px !important;
	font-size: 12.5px;
	color: var(--muted);
}

/* ============== Responsive ============== */
@media (max-width: 960px) {
	.gnb { padding: 0 1em; gap: 0; }
	.gnb > li { margin: 0 0.8em; }
	.gnb > li > a { font-size: 13px; }
	.support-center span { display: none; }
	.support-center { padding: 0 0.8em; }
	.local-nav-inner { gap: 1em; overflow-x: auto; white-space: nowrap; }
	.local-title { font-size: 14px; }
	.submenu { gap: 1.4em; }
	.submenu > li > a { font-size: 13px; }
}

@media (max-width: 768px) {
	.form-card { padding: 0 20px; }
	.page-title { font-size: 24px; }
	.col-4, .col-6 { grid-column: span 12; }
	.form-actions { flex-direction: column; }
	.btn { width: 100%; }
	.footer-inner { flex-direction: column; gap: 10px; }
}

@media (max-width: 600px) {
	.brand img { height: 40px; }
	.gnb > li:nth-child(n+4) { display: none; }
}

/* =======================================================
   HISTORY PAGE (신청 내역 조회)
======================================================= */

.search-card { padding: 24px 36px; }
.search-row {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: end;
}
.search-field { display: flex; flex-direction: column; }
.search-field .field-label { margin-bottom: 6px; }
.label-optional {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.9em;
}
.section-optional {
	color: var(--muted);
	font-weight: 400;
	font-size: 0.8em;
	margin-left: 4px;
}
.search-field input {
	height: 38px;
	line-height: 36px;
	border: 1px solid var(--border-input);
	border-radius: 4px;
	padding: 0 12px;
	font-size: 14px;
	font-family: inherit;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.search-field input:hover,
.search-field input:focus {
	border-color: var(--border-focus);
	outline: none;
	box-shadow: 0 0 0 3px rgba(113, 162, 232, 0.18);
}
.btn-search {
	height: 38px;
	line-height: 36px;
	padding: 0 22px;
	min-width: 110px;
}

.status-section { margin-top: 36px; }
.status-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--text);
	margin: 0 0 14px;
	letter-spacing: -0.3px;
}

.status-table-wrap {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 10, 65, 0.06);
}
.status-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}
.status-table thead {
	background: #1D243D;
	color: #fff;
}
.status-table thead th {
	padding: 14px 16px;
	font-weight: 600;
	text-align: left;
	letter-spacing: 0.02em;
	font-size: 13px;
}
.status-table tbody td {
	padding: 16px;
	border-bottom: 1px solid #eef1f6;
	vertical-align: middle;
}
.status-table tbody tr:last-child td { border-bottom: none; }
.status-table tbody tr:hover { background: #f8fafd; }
.status-table tbody tr[data-receipt] { transition: background 0.15s; }

.receipt-link {
	color: var(--brand);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.02em;
}
.receipt-link:hover {
	color: var(--brand-dark);
	border-bottom-color: var(--brand-dark);
}

.status-badge {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.status-review { background: #FFF3CD; color: #B8860B; }
.status-done   { background: #D4F4DD; color: #1E7E34; }
.status-reject { background: #F8D7DA; color: #9E2A2F; }
.status-wait   { background: #E3E7ED; color: #555; }

/* ============== 신청 내역 조회 결과 카드 ============== */
.status-result {
	margin-top: 24px;
}
.result-card {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 26px 28px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.result-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--border);
	margin-bottom: 16px;
}
.result-receipt-block {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}
.result-meta-label {
	font-size: 12px;
	color: var(--text-light);
	font-weight: 500;
}
.result-receipt {
	font-family: "Consolas", "Menlo", monospace;
	font-size: 14px;
	color: var(--accent);
	font-weight: 600;
	word-break: break-all;
	user-select: all;
}
.result-meta-row {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
	font-size: 14px;
	color: var(--text);
}
.result-message {
	margin: 10px 0 0;
	font-size: 14px;
	color: var(--text);
	line-height: 1.65;
}

/* ============== 신청 내역 조회 결과 카드 (단일 결과 — 라벨/값 형식) ============== */
.status-result-card {
	margin-top: 24px;
}
.result-card-inner {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 10, 65, 0.06);
	overflow: hidden;
}
.result-header {
	padding: 22px 28px;
	background: linear-gradient(to bottom, #f8fafd, #fff);
	border-bottom: 1px solid var(--border);
}
.result-header .status-badge {
	font-size: 13px;
	padding: 6px 16px;
}
.result-details {
	margin: 0;
	padding: 4px 28px;
}
.result-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 18px;
	align-items: center;
	padding: 14px 0;
	border-bottom: 1px dashed #eef1f6;
}
.result-row:last-child {
	border-bottom: none;
}
.result-row dt {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-light);
}
.result-row dd {
	margin: 0;
	font-size: 14px;
	color: var(--text);
	word-break: break-all;
	line-height: 1.5;
}
.result-row dd .result-receipt {
	font-family: "Consolas", "Menlo", monospace;
	color: var(--accent);
	font-weight: 600;
}
/* 반려 사유: 카드 안에 들어감 */
.result-card-inner .result-reason {
	margin: 0 28px 24px;
}

@media (max-width: 600px) {
	.result-header { padding: 18px 20px; }
	.result-details { padding: 4px 20px; }
	.result-card-inner .result-reason { margin: 0 20px 20px; }
	.result-row {
		grid-template-columns: 70px 1fr;
		gap: 12px;
		padding: 12px 0;
	}
}
.result-reason {
	margin-top: 18px;
	padding: 14px 16px;
	background: #fff5f5;
	border: 1px solid #f5c6cb;
	border-left: 3px solid #d9534f;
	border-radius: 4px;
}
.result-reason h5 {
	margin: 0 0 6px 0;
	font-size: 13px;
	font-weight: 600;
	color: #9E2A2F;
}
.result-reason p {
	margin: 0;
	font-size: 14px;
	color: var(--text);
	white-space: pre-wrap;
	line-height: 1.6;
}

.status-empty-result {
	margin-top: 24px;
	padding: 40px 24px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
}
.status-empty-result i {
	font-size: 2.5rem;
	color: var(--text-light);
}
.status-empty-result h4 {
	margin: 12px 0 6px;
	font-size: 16px;
	font-weight: 600;
	color: var(--text);
}
.status-empty-result p {
	margin: 0;
	color: var(--text-light);
	font-size: 14px;
	line-height: 1.6;
}

tr.status-empty td {
	text-align: center !important;
	padding: 40px 16px !important;
	color: var(--muted);
	font-size: 13px;
}

.status-callout {
	margin-top: 14px;
	background: #FFF7E5;
	border: 1px solid #FFE0A8;
	border-radius: 6px;
	padding: 12px 16px;
	font-size: 13px;
	color: #7A5A00;
	display: flex;
	gap: 10px;
	align-items: flex-start;
	line-height: 1.6;
}
.status-callout i {
	font-size: 15px;
	color: #E8A200;
	flex-shrink: 0;
	margin-top: 1px;
}

/* 멀티라인 안내 — 한 줄에 여러 항목 늘어놓는 게 아니라 줄바꿈 */
.status-callout-multiline {
	padding: 14px 18px;
}
.status-callout-list {
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.status-callout-list > div {
	position: relative;
	padding-left: 12px;
}
.status-callout-list > div::before {
	content: '·';
	position: absolute;
	left: 0;
	color: #E8A200;
	font-weight: 700;
}

/* 접수번호 분실 안내 박스 */
.lost-receipt-card {
	margin-top: 28px;
	padding: 22px 24px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.lost-receipt-card h3 {
	margin: 0 0 14px 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 8px;
}
.lost-receipt-card h3 i {
	font-size: 18px;
	color: var(--accent);
}
.lost-receipt-card ol {
	margin: 0;
	padding-left: 22px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.85;
}
.lost-receipt-card ol li + li { margin-top: 4px; }
.lost-receipt-card a {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px dashed var(--accent);
}
.lost-receipt-card a:hover { color: var(--accent-hover); }
.lost-receipt-card .muted {
	color: var(--text-light);
	font-size: 13px;
}
.lost-receipt-card code {
	background: #f5f7fb;
	padding: 1px 6px;
	border-radius: 3px;
	font-family: "Consolas", "Menlo", monospace;
	font-size: 12.5px;
	color: var(--text);
}

/* 접히는 안내 박스 (details/summary) — 기존 lost-receipt-card 스타일 유지 */
details.lost-receipt-collapsible > summary {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}
details.lost-receipt-collapsible > summary::-webkit-details-marker {
	display: none;
}
details.lost-receipt-collapsible > summary > i {
	font-size: 18px;
	color: var(--accent);
}
details.lost-receipt-collapsible > summary::after {
	content: '\f282'; /* bootstrap-icons chevron-down */
	font-family: "bootstrap-icons";
	margin-left: auto;
	font-size: 14px;
	color: var(--muted);
	transition: transform 0.2s ease;
}
details.lost-receipt-collapsible[open] > summary::after {
	transform: rotate(180deg);
}
details.lost-receipt-collapsible[open] > summary {
	margin-bottom: 14px;
}
details.lost-receipt-collapsible > ol {
	margin: 0;
	padding-left: 22px;
	color: var(--text);
	font-size: 14px;
	line-height: 1.85;
}

.page-footnote {
	text-align: center;
	color: var(--muted);
	font-size: 13px;
	margin: 28px 0 0;
	letter-spacing: 0.02em;
}

/* Modal - Detail */
.modal-card-lg { max-width: 480px; }
.modal-head {
	padding: 20px 24px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.modal-head h4 {
	margin: 0;
	font-size: 17px;
	font-weight: 600;
}
.modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: var(--muted);
	line-height: 1;
	padding: 4px 8px;
}
.modal-close:hover { color: var(--text); }
.modal-body-detail { padding: 16px 24px 22px; }

.detail-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--border);
}
.detail-list > div {
	display: grid;
	grid-template-columns: 120px 1fr;
	padding: 12px 0;
	border-bottom: 1px solid var(--border);
	font-size: 14px;
}
.detail-list dt {
	color: var(--muted);
	font-weight: 500;
}
.detail-list dd {
	margin: 0;
	color: var(--text);
	font-weight: 500;
}
.detail-note {
	background: #F3F6FB;
	border-radius: 6px;
	padding: 12px 14px;
	margin-top: 16px;
	font-size: 12px;
	color: var(--text-light);
	display: flex;
	gap: 8px;
	align-items: center;
	line-height: 1.6;
}
.detail-note i { color: var(--brand); }

/* =======================================================
   POLICY PAGE (정책 안내)
======================================================= */

.page-policy .page-inner { max-width: 1100px; }

.policy-layout {
	display: grid;
	grid-template-columns: 220px 1fr;
	gap: 40px;
	align-items: start;
}

.policy-toc {
	position: sticky;
	top: 120px;
	padding: 16px 0;
}
.toc-title {
	font-size: 12px;
	font-weight: 700;
	color: var(--muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 0 14px 10px;
	border-bottom: 2px solid #e6e9ef;
	margin-bottom: 6px;
}
.policy-toc ul li a {
	display: block;
	padding: 10px 14px;
	font-size: 13px;
	color: var(--text-light);
	border-left: 2px solid transparent;
	transition: color 0.15s, border-color 0.15s, background 0.15s;
}
.policy-toc ul li a:hover {
	color: var(--brand);
}
.policy-toc ul li a.active {
	color: var(--brand);
	font-weight: 600;
	border-left-color: var(--brand);
	background: #f3f7fd;
}

.policy-content { min-width: 0; }

.doc-section {
	padding: 32px 40px !important;
	margin-bottom: 24px;
	scroll-margin-top: 120px;
}

.doc-body .doc-subtitle {
	font-size: 15px;
	font-weight: 600;
	color: var(--text);
	margin: 28px 0 12px;
	padding-left: 10px;
	border-left: 3px solid var(--brand);
	line-height: 1.4;
}
.doc-body .doc-subtitle:first-child { margin-top: 8px; }

.doc-body p, .doc-body .doc-para {
	font-size: 14px;
	line-height: 1.85;
	color: var(--text);
	margin: 0 0 12px;
}

.doc-list, .doc-body ul {
	font-size: 14px;
	line-height: 1.95;
	color: var(--text);
	padding-left: 20px;
	margin: 0 0 12px;
}
.doc-list li, .doc-body ul li { list-style: disc; }

.num-list {
	counter-reset: step;
	padding-left: 0;
	margin: 0 0 12px;
}
.num-list li {
	list-style: none;
	position: relative;
	padding: 6px 0 6px 38px;
	font-size: 14px;
	line-height: 1.75;
	counter-increment: step;
}
.num-list li::before {
	content: counter(step);
	position: absolute;
	left: 0;
	top: 6px;
	width: 24px;
	height: 24px;
	background: var(--brand);
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 600;
}

.doc-body code {
	background: #f1f4f9;
	border: 1px solid #e0e5ed;
	border-radius: 3px;
	padding: 1px 6px;
	font-size: 0.88em;
	color: #2D5CA7;
	font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
}

.info-box, .warn-box {
	border-radius: 6px;
	padding: 14px 18px;
	margin: 0 0 20px;
	font-size: 13.5px;
	line-height: 1.75;
	display: flex;
	gap: 10px;
	align-items: flex-start;
}
.info-box { background: #F0F6FF; border-left: 4px solid var(--brand); color: var(--text); }
.info-box i { color: var(--brand); font-size: 17px; margin-top: 1px; }
.warn-box { background: #FFF7E5; border-left: 4px solid #E8A200; color: #7A5A00; }
.warn-box i { color: #E8A200; font-size: 17px; margin-top: 1px; }
.info-box code, .warn-box code { background: rgba(255,255,255,0.6); border-color: rgba(0,0,0,0.06); }

.lic-type-hint {
	font-size: 12.5px;
	color: var(--muted);
	margin: 0 0 10px !important;
	display: flex;
	align-items: center;
	gap: 6px;
}
.lic-type-hint i { color: var(--brand); font-size: 14px; }

.lic-type-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 8px;
}
.lic-type-card {
	border: 1px solid var(--border);
	border-radius: 8px;
	padding: 18px 20px;
	background: #fff;
	transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
	display: flex;
	flex-direction: column;
	color: var(--text);
	text-decoration: none !important;
	cursor: pointer;
	position: relative;
}
.lic-type-card:hover {
	box-shadow: 0 6px 20px rgba(0, 10, 65, 0.1);
	border-color: var(--brand);
	transform: translateY(-2px);
	color: var(--text);
}
.lic-type-cta {
	margin-top: 14px;
	padding-top: 14px;
	font-size: 13px;
	font-weight: 600;
	color: var(--brand);
	display: flex;
	align-items: center;
	gap: 4px;
	border-top: 1px dashed var(--border);
}
.lic-type-cta i { transition: transform 0.2s; }
.lic-type-card:hover .lic-type-cta i { transform: translateX(4px); }
.lic-type-header {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	margin-bottom: 10px;
}
.lic-type-header i { font-size: 18px; }
.lic-type-perm .lic-type-header i { color: #1E7E34; }
.lic-type-dev .lic-type-header i { color: #E8A200; }
.lic-type-tag {
	font-size: 10px;
	padding: 2px 8px;
	border-radius: 3px;
	font-weight: 600;
	letter-spacing: 0.02em;
	margin-left: auto;
}
.lic-type-perm .lic-type-tag { background: #D4F4DD; color: #1E7E34; }
.lic-type-dev .lic-type-tag  { background: #FFF3CD; color: #B8860B; }
.lic-type-card ul {
	margin: 0;
	padding-left: 18px;
	font-size: 13px;
	line-height: 1.8;
	color: var(--text-light);
}

.doc-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
	font-size: 13px;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 6px;
	overflow: hidden;
}
.doc-table thead {
	background: #F3F6FB;
}
.doc-table thead th {
	padding: 10px 14px;
	text-align: left;
	font-weight: 600;
	color: var(--text);
	font-size: 12.5px;
	border-bottom: 1px solid var(--border);
}
.doc-table tbody td {
	padding: 10px 14px;
	border-bottom: 1px solid #eef1f6;
	color: var(--text);
	line-height: 1.6;
	vertical-align: top;
}
.doc-table tbody tr:last-child td { border-bottom: none; }
.txt-ok { color: #1E7E34; font-weight: 600; }

.sample-card {
	background: #F8FAFC;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 16px 20px;
	margin-bottom: 18px;
}
.sample-row {
	display: grid;
	grid-template-columns: 140px 1fr;
	padding: 7px 0;
	border-bottom: 1px dashed #dde2eb;
	font-size: 13px;
}
.sample-row:last-child { border-bottom: none; }
.sample-row span {
	color: var(--muted);
	font-weight: 500;
}
.sample-row b {
	color: var(--text);
	font-weight: 600;
}

.code-block {
	background: #2b2d3a;
	color: #d6d9e0;
	padding: 14px 18px;
	border-radius: 6px;
	font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
	font-size: 13px;
	line-height: 1.7;
	margin: 0 0 20px;
	overflow-x: auto;
	white-space: pre;
}

.step-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin-bottom: 12px;
}
.step-card {
	background: #F8FAFC;
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 16px 18px;
}
.step-head {
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}
.step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background: var(--accent);
	color: #fff;
	border-radius: 50%;
	font-size: 12px;
	font-weight: 700;
}
.step-card p {
	margin: 0 0 6px;
	font-size: 13px;
	line-height: 1.7;
	color: var(--text-light);
}
.step-caution {
	font-size: 12px !important;
	color: var(--muted) !important;
	margin-top: 4px !important;
}
.step-caution i { color: var(--brand); margin-right: 3px; }

.error-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	margin: 12px 0 22px;
}
.error-card {
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.2s;
}
.error-card:hover { box-shadow: 0 4px 14px rgba(0, 10, 65, 0.06); }
.error-head {
	background: #fff4f3;
	border-bottom: 1px solid #f6d4d0;
	padding: 10px 16px;
}
.error-code {
	color: #B7262B;
	font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
	font-size: 13px;
	font-weight: 600;
	background: none !important;
	border: none !important;
	padding: 0 !important;
}
.error-body { padding: 14px 16px; }
.err-row {
	display: flex;
	gap: 12px;
	font-size: 13px;
	line-height: 1.75;
	padding: 6px 0;
	align-items: flex-start;
}
.err-row + .err-row {
	border-top: 1px dashed #e6e9ef;
	margin-top: 2px;
	padding-top: 10px;
}
.err-label {
	color: var(--muted);
	font-weight: 600;
	font-size: 12px;
	letter-spacing: 0.02em;
	flex: 0 0 44px;
	padding-top: 2px;
}
.err-text {
	flex: 1 1 auto;
	min-width: 0;
	color: var(--text);
	word-break: keep-all;
}
.err-text code {
	white-space: nowrap;
}
.err-text strong {
	color: var(--text);
	font-weight: 600;
}

.contact-box {
	margin-top: 24px;
	background: #F3F6FB;
	border-radius: 8px;
	padding: 18px 22px;
}
.contact-title {
	font-weight: 600;
	font-size: 14px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--brand);
}
.contact-box ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px;
	color: var(--text);
	line-height: 1.9;
}
.contact-box ul li strong {
	display: inline-block;
	min-width: 60px;
	color: var(--muted);
	font-weight: 500;
}
.contact-box a { color: var(--brand); }
.contact-box a:hover { text-decoration: underline; }

/* =======================================================
   FAQ PAGE
======================================================= */

.faq-filter {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 20px;
	justify-content: center;
}
.faq-cat-btn {
	background: #fff;
	border: 1px solid var(--border);
	color: var(--text-light);
	padding: 8px 18px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 500;
	transition: all 0.15s;
}
.faq-cat-btn:hover {
	border-color: var(--brand);
	color: var(--brand);
}
.faq-cat-btn.active {
	background: var(--brand);
	border-color: var(--brand);
	color: #fff;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.faq-item {
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item:hover { border-color: #c8d4e8; }
.faq-item.open {
	border-color: var(--brand);
	box-shadow: 0 2px 12px rgba(45, 92, 167, 0.08);
}

.faq-q {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	padding: 18px 22px;
	display: grid;
	grid-template-columns: 110px 1fr 20px;
	align-items: center;
	gap: 14px;
	font-size: 14.5px;
	color: var(--text);
	font-weight: 500;
	font-family: inherit;
}
.faq-cat {
	font-size: 11px;
	font-weight: 600;
	color: var(--brand);
	background: #E8F0FA;
	padding: 4px 10px;
	border-radius: 3px;
	text-align: center;
	letter-spacing: 0.02em;
	white-space: nowrap;
}
.faq-q-text { line-height: 1.5; }
.faq-q-text code {
	background: #f1f4f9;
	border: 1px solid #e0e5ed;
	border-radius: 3px;
	padding: 1px 6px;
	font-size: 0.9em;
	color: #B7262B;
	font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
	font-weight: 500;
}
.faq-arrow {
	color: var(--muted);
	transition: transform 0.25s;
	font-size: 16px;
}
.faq-item.open .faq-arrow {
	transform: rotate(180deg);
	color: var(--brand);
}

.faq-a {
	max-height: 0;
	overflow: hidden;
	padding: 0 22px;
	font-size: 14px;
	color: var(--text);
	line-height: 1.8;
	transition: max-height 0.25s ease, padding 0.25s ease;
	border-top: 0 solid transparent;
}
.faq-item.open .faq-a {
	max-height: 2000px;
	padding: 16px 22px 22px 22px;
	border-top: 1px solid var(--border);
}
.faq-table-wrap {
	margin: 10px 0 14px;
	overflow-x: auto;
}
.faq-table-wrap .doc-table {
	margin: 0;
	font-size: 12.5px;
}
.faq-table-wrap .doc-table td code {
	font-size: 0.85em;
	white-space: nowrap;
}

.faq-a ul, .faq-a ol {
	padding-left: 22px;
	margin: 6px 0;
}
.faq-a li { margin: 4px 0; }
.faq-a p { margin: 8px 0; }
.faq-a code {
	background: #f1f4f9;
	border: 1px solid #e0e5ed;
	border-radius: 3px;
	padding: 1px 6px;
	font-size: 0.9em;
	color: #2D5CA7;
	font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
}
.faq-a .code-block { margin: 10px 0; }
.faq-a a { color: var(--brand); }
.faq-a a:hover { text-decoration: underline; }

.faq-note {
	display: flex;
	gap: 6px;
	align-items: flex-start;
	background: #F3F6FB;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 12.5px;
	color: var(--text-light);
	margin-top: 10px !important;
}
.faq-note i { color: var(--brand); margin-top: 2px; }

.faq-item.faq-empty {
	border-style: dashed;
	background: none;
}
.faq-a-empty {
	max-height: none !important;
	padding: 28px 22px !important;
	text-align: center;
	color: var(--muted);
	border-top: none !important;
}

.contact-box-lg {
	margin-top: 40px;
	padding: 24px 28px;
	text-align: center;
}
.contact-box-lg .contact-title {
	justify-content: center;
	font-size: 15px;
}
.contact-box-lg p {
	font-size: 13px;
	color: var(--text-light);
	margin: 0 0 8px;
}
.contact-box-lg ul {
	display: flex;
	justify-content: center;
	gap: 28px;
}
.contact-box-lg ul li {
	list-style: none;
}

/* =======================================================
   RESPONSIVE - 신규 페이지
======================================================= */

@media (max-width: 960px) {
	.policy-layout {
		grid-template-columns: 1fr;
	}
	.policy-toc {
		position: static;
		padding: 0;
		margin-bottom: 16px;
	}
	.toc-title { display: none; }
	.policy-toc ul {
		display: flex;
		gap: 4px;
		overflow-x: auto;
		white-space: nowrap;
		border-bottom: 1px solid var(--border);
	}
	.policy-toc ul li a {
		border-left: none;
		border-bottom: 2px solid transparent;
		padding: 10px 14px;
	}
	.policy-toc ul li a.active {
		border-left: none;
		border-bottom-color: var(--brand);
		background: none;
	}

	.search-row { grid-template-columns: 1fr; }
	.lic-type-grid, .step-grid, .error-grid {
		grid-template-columns: 1fr;
	}

	.faq-q { grid-template-columns: auto 1fr 20px; gap: 10px; padding: 16px; }
	.faq-cat { font-size: 10px; padding: 3px 8px; }
}

@media (max-width: 768px) {
	.doc-section { padding: 24px 22px !important; }
	.search-card { padding: 22px 20px; }
	.status-table thead th,
	.status-table tbody td { padding: 10px 12px; font-size: 12.5px; }
	.contact-box-lg ul { flex-direction: column; gap: 4px; }
}
