/*
 * 세박소 2.0 신고자 화면 공용 스타일 (SEBAKSO-116 소유 — 117 등은 읽기만).
 * 클래스는 모두 .v2- 접두 (contents.css · base.css 와 충돌 방지). 색 · 글자 크기는 base.css 변수 사용.
 */

/* author CSS 의 display 가 hidden 속성을 덮지 않게 */
[hidden]{ display:none !important; }

/* ---------- 버튼 ---------- */
.v2-btn{ display:inline-flex; justify-content:center; align-items:center; min-width:120px; height:48px; padding:0 24px; border-radius:4px; border:1px solid var(--blue-385); background:var(--blue-385); color:var(--white); font-size:var(--font-size-16); font-weight:var(--w-sb); cursor:pointer; text-decoration:none; }
.v2-btn.line{ background:var(--white); color:var(--blue-385); }
.v2-btn.grey{ background:var(--white); color:var(--grey-626); border-color:var(--grey-c6c); }
.v2-btn:disabled,
.v2-btn.is-disabled{ background:var(--grey-e2e); border-color:var(--grey-e2e); color:var(--grey-919); cursor:not-allowed; pointer-events:none; }
.v2-btn-row{ display:flex; justify-content:center; align-items:center; gap:12px; margin-top:40px; }

/* ---------- 안내 박스 ---------- */
.v2-notice{ width:100%; padding:20px 24px; border-radius:4px; background:var(--blue-f7f); border:1px solid var(--grey-eff); text-align:left; }
.v2-notice p,
.v2-notice li{ font-size:var(--font-size-15); line-height:1.6; color:var(--grey-373); }
.v2-notice li{ position:relative; padding-left:12px; }
.v2-notice li::before{ content:''; position:absolute; left:0; top:0.7em; width:4px; height:4px; border-radius:50%; background:var(--grey-868); }
.v2-notice.warn{ background:#FFF6F6; border-color:#F6D4D4; }
.v2-notice.warn p,
.v2-notice.warn li{ color:#C62828; }

/* ---------- 단계 표시 (표시 전용) ---------- */
.v2-steps{ display:flex; justify-content:center; align-items:center; gap:8px; margin:0 auto 40px; list-style:none; }
.v2-steps li{ display:flex; align-items:center; gap:8px; color:var(--grey-919); font-size:var(--font-size-15); font-weight:var(--w-r); }
.v2-steps li + li::before{ content:''; width:24px; height:1px; background:var(--grey-c6c); margin-right:8px; }
.v2-steps li em{ display:inline-flex; justify-content:center; align-items:center; width:28px; height:28px; border-radius:50%; background:var(--grey-e2e); color:var(--white); font-style:normal; font-size:var(--font-size-14); font-weight:var(--w-b); }
.v2-steps li.is-current{ color:var(--blue-385); font-weight:var(--w-b); }
.v2-steps li.is-current em,
.v2-steps li.is-done em{ background:var(--blue-385); }

/* ---------- 필드 오류 ---------- */
.v2-field-error{ display:block; margin-top:8px; color:#D32F2F; font-size:var(--font-size-14); line-height:1.5; text-align:left; }
.v2-field-error:empty{ display:none; }
.v2-invalid,
input.v2-invalid,
select.v2-invalid,
textarea.v2-invalid{ border-color:#D32F2F !important; }

/* ---------- 약관 · 본문 박스 (서버 일반 텍스트 — 줄바꿈 보존) ---------- */
.v2-terms-body{ width:100%; white-space:pre-wrap; word-break:break-word; overflow-wrap:anywhere; text-align:left; font-size:var(--font-size-14); line-height:1.6; color:var(--grey-373); }
.v2-terms-box{ width:100%; max-height:240px; overflow-y:auto; padding:16px 20px; border:1px solid var(--grey-e2e); border-radius:4px; background:var(--grey-fcf); }

/* ---------- 팝업 ---------- */
.v2-popup{ width:100%; height:100%; background:rgba(0,0,0,0.4); display:none; justify-content:center; align-items:center; position:fixed; z-index:110; top:0; left:0; }
.v2-popup.active{ display:flex; }
.v2-popup .v2-popup-box{ width:482px; max-width:calc(100% - 32px); max-height:calc(100% - 64px); display:flex; flex-direction:column; border-radius:4px; background:var(--white); overflow:hidden; }
.v2-popup .v2-popup-hd{ position:relative; display:flex; justify-content:center; align-items:center; height:60px; flex-shrink:0; background:var(--blue-668); color:var(--white); font-size:var(--font-size-18); font-weight:var(--w-sb); }
.v2-popup .v2-popup-close{ position:absolute; top:calc(50% - 8px); right:18px; width:16px; height:16px; background:url("../images/ic-md-close.svg") no-repeat center; font-size:0; border:0; cursor:pointer; }
.v2-popup .v2-popup-bd{ padding:24px 20px; overflow-y:auto; }
.v2-popup .v2-popup-ft{ display:flex; justify-content:center; gap:8px; padding:0 20px 24px; }

/* ---------- 홈: 신고유형 카드 8종 ---------- */
.main-guide-wr .guide-lst.v2-type-cards{ grid-template-columns:repeat(4, 1fr); gap:20px; }
.main-guide-wr .guide-lst.v2-type-cards .itm{ height:380px; padding:36px 20px 0 20px; }
.main-guide-wr .guide-lst.v2-type-cards .itm figure{ width:110px; height:110px; margin-bottom:22px; }
.main-guide-wr .guide-lst.v2-type-cards .itm h3{ font-size:var(--font-size-18); padding-bottom:20px; word-break:keep-all; }
.main-guide-wr .guide-lst.v2-type-cards .itm p{ font-size:var(--font-size-15); word-break:keep-all; }
.v2-type-status{ width:var(--cont-width); display:flex; flex-direction:column; align-items:center; gap:20px; padding:40px 0; }
.v2-type-status p{ font-size:var(--font-size-17); color:var(--grey-626); }

/* ---------- 홈: 신고 이후 흐름 4단계 ---------- */
.v2-flow-wr{ padding:100px 0; display:flex; flex-direction:column; align-items:center; background:var(--white); }
.v2-flow-wr h2{ font-size:var(--font-size-36); font-weight:var(--w-m); color:var(--blue-1e2); margin-bottom:50px; }
.v2-flow-wr h2 span{ font-size:inherit; font-weight:var(--w-b); color:var(--blue-385); }
.v2-flow{ width:var(--cont-width); display:grid; grid-template-columns:repeat(4, 1fr); gap:20px; list-style:none; counter-reset:none; }
.v2-flow li{ position:relative; display:flex; flex-direction:column; align-items:center; gap:12px; padding:32px 16px; border:1px solid var(--grey-ece); border-radius:18px; background:var(--grey-f8f); }
.v2-flow li + li::before{ content:''; position:absolute; left:-15px; top:50%; width:10px; height:10px; border-top:2px solid var(--blue-668); border-right:2px solid var(--blue-668); transform:translateY(-50%) rotate(45deg); }
.v2-flow li em{ font-style:normal; font-size:var(--font-size-15); font-weight:var(--w-b); color:var(--blue-385); }
.v2-flow li strong{ font-size:var(--font-size-20); font-weight:var(--w-b); color:var(--black-212); }
.v2-flow li p{ font-size:var(--font-size-15); line-height:1.5; color:var(--grey-626); word-break:keep-all; }

@media (max-width:1320px){
	.main-guide-wr .guide-lst.v2-type-cards{ gap:1.52vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm{ height:28.79vw; padding:2.73vw 1.52vw 0 1.52vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm figure{ width:8.33vw; height:8.33vw; margin-bottom:1.67vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm h3{ padding-bottom:1.52vw; }
	.v2-type-status{ padding:3.03vw 0; gap:1.52vw; }
	.v2-flow-wr{ padding:7.58vw 0.76vw; }
	.v2-flow-wr h2{ margin-bottom:3.79vw; }
	.v2-flow{ gap:1.52vw; }
	.v2-flow li{ padding:2.42vw 1.21vw; border-radius:1.36vw; gap:0.91vw; }
	.v2-flow li + li::before{ left:-1.14vw; width:0.76vw; height:0.76vw; }
}

@media (max-width:990px){
	.v2-btn{ min-width:32vw; height:12.8vw; padding:0 5.33vw; }
	.v2-btn-row{ gap:2.13vw; margin-top:8vw; }
	.v2-notice{ padding:4.27vw; }
	.v2-steps{ gap:1.07vw; margin-bottom:8vw; }
	.v2-steps li{ gap:1.07vw; font-size:var(--font-size-13); }
	.v2-steps li + li::before{ width:3.2vw; margin-right:1.07vw; }
	.v2-steps li em{ width:6.4vw; height:6.4vw; font-size:var(--font-size-12); }
	.v2-popup .v2-popup-hd{ height:13.33vw; }

	.main-guide-wr .guide-lst.v2-type-cards{ grid-template-columns:repeat(2, 1fr); gap:2.13vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm{ height:auto; min-height:58.67vw; padding:5.07vw 2.67vw 5.07vw 2.67vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm figure{ width:17.07vw; height:17.07vw; margin-bottom:3.47vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm h3{ font-size:var(--font-size-15); padding-bottom:2.67vw; }
	.main-guide-wr .guide-lst.v2-type-cards .itm p{ font-size:var(--font-size-13); }
	.v2-type-status{ width:100%; padding:8vw 0; gap:4.27vw; }

	.v2-flow-wr{ padding:12vw 3.47vw; }
	.v2-flow-wr h2{ font-size:var(--font-size-18); margin-bottom:8vw; }
	.v2-flow{ width:100%; grid-template-columns:1fr; gap:6.4vw; }
	.v2-flow li{ padding:5.33vw 4.27vw; border-radius:3.2vw; gap:2.13vw; }
	.v2-flow li + li::before{ left:50%; top:-4.27vw; width:2.13vw; height:2.13vw; transform:translateX(-50%) rotate(135deg); }
	.v2-flow li strong{ font-size:var(--font-size-16); }
	.v2-flow li p{ font-size:var(--font-size-13); }
}
