@charset "utf-8";
/*
 * 회원가입 약관 동의 화면(terms.jsp) 전용.
 * 시안(dabonem-signup-terms.html)의 항목 목록 + 본문 모달만 옮겨온 것이며,
 * 사이트 공통 레이아웃/헤더/버튼에는 손대지 않는다.
 * 모든 선택자는 .tm- 접두사 또는 모달 루트(.tm-modal-layer) 아래로만 적용되도록 스코프한다.
 * CSS 변수는 구형 브라우저 대응을 위해 쓰지 않는다.
 */

/* ---------------------------------------------------------------- 공통 */
.tm-sr-only {
	position: absolute !important; width: 1px !important; height: 1px !important;
	padding: 0 !important; margin: -1px !important; overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

.tm-empty {
	margin: 20px 0 40px; padding: 30px 20px; border: 1px solid #e4e9f1;
	border-radius: 12px; background: #f7f9fc; color: #667085; text-align: center;
}
.tm-empty p { margin: 0; }

/* ------------------------------------------------------------ 동의 목록 */
.tm-consent { margin: 20px auto 40px; }
.tm-consent * { box-sizing: border-box; }

.tm-selectall {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
	padding: 22px; border: 1px solid #cad8f8; border-radius: 16px;
	background: #f4f8ff;
	background: -webkit-linear-gradient(315deg, #f4f8ff, #f8fbff 62%, #f1fbfb);
	background: linear-gradient(135deg, #f4f8ff, #f8fbff 62%, #f1fbfb);
}
.tm-selectall-copy { display: block; margin-left: 14px; cursor: pointer; }
.tm-selectall-copy strong {
	display: block; margin-top: -2px; color: #17336f;
	font-size: 18px; font-weight: 800; letter-spacing: -.025em; line-height: 1.35;
}
.tm-selectall-copy small {
	display: block; margin-top: 4px; color: #657594; font-size: 13px; line-height: 1.45;
}

/* 체크박스 — appearance 미지원 브라우저에서는 기본 체크박스로 보이고 동작에는 영향 없음.
   ※ 선택자를 input[type="checkbox"].tm-check 로 둘 것.
     reset.css 에 input[type="checkbox"]{appearance:checkbox} 가 있어(명시도 0,1,1)
     단순 .tm-check(0,1,0)로는 이기지 못해 네이티브 체크박스가 그대로 그려지고,
     그 위에 ::after 체크가 덧그려져 체크가 두 개로 보인다. */
input[type="checkbox"].tm-check {
	-webkit-appearance: none; -moz-appearance: none; appearance: none;
	position: relative; -ms-flex-negative: 0; flex-shrink: 0;
	width: 23px; height: 23px; margin: 1px 0 0; padding: 0;
	border: 1.5px solid #b7c1d2; border-radius: 7px; background: #fff;
	cursor: pointer; vertical-align: top;
	-webkit-transition: border-color .16s ease, background-color .16s ease;
	transition: border-color .16s ease, background-color .16s ease;
}
/* 상태 규칙도 기본 규칙과 같은 접두사를 붙여 명시도를 한 단계 더 올린다.
   기본 규칙이 (0,2,1)이라 .tm-check:checked (0,2,0) 로는 배경/테두리를 못 덮는다. */
input[type="checkbox"].tm-check::after {
	position: absolute; top: 5px; left: 6px; width: 9px; height: 5px;
	border-bottom: 2px solid #fff; border-left: 2px solid #fff;
	-webkit-transform: rotate(-45deg); transform: rotate(-45deg);
	opacity: 0; content: "";
}
input[type="checkbox"].tm-check:hover { border-color: #2357d9; }
input[type="checkbox"].tm-check:checked { border-color: #2357d9; background: #2357d9; }
input[type="checkbox"].tm-check:checked::after { opacity: 1; }
/* 일부만 선택된 전체선택 체크박스 — 체크 대신 가로 막대로 구분한다.
   위치는 top/left 50% + translate 로 잡아 테두리 두께에 영향받지 않게 한다. */
input[type="checkbox"].tm-check:indeterminate { border-color: #2357d9; background: #2357d9; }
input[type="checkbox"].tm-check:indeterminate::after {
	top: 50%; left: 50%; width: 10px; height: 2px; margin: 0;
	border: 0; border-radius: 2px; background: #fff;
	-webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
	opacity: 1;
}
input[type="checkbox"].tm-check:focus { outline: 2px solid #2357d9; outline-offset: 2px; }

.tm-group-label {
	margin: 30px 2px 10px; color: #667085;
	font-size: 13px; font-weight: 700; letter-spacing: -.01em;
}

.tm-list { border: 1px solid #e4e9f1; border-radius: 16px; background: #fff; overflow: hidden; }

.tm-row {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: center; -ms-flex-align: center; align-items: center;
	min-height: 74px; padding: 16px 18px;
}
.tm-row + .tm-row { border-top: 1px solid #e4e9f1; }
.tm-row:hover { background: #fbfcff; }
.tm-row-notice { background: #f7faff; }
.tm-row-notice:hover { background: #f2f7ff; }

.tm-row-main {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
	-webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto;
	min-width: 0;
}
.tm-row-label {
	display: block; min-width: 0; margin-left: 13px; cursor: pointer;
	color: #172033; font-size: 15px; font-weight: 700; line-height: 1.45; letter-spacing: -.018em;
}
.tm-row-notice .tm-row-label, .tm-row-policy .tm-row-label { cursor: default; }
.tm-titleline { display: inline-block; }
.tm-desc {
	display: block; margin-top: 5px; color: #667085;
	font-size: 13px; font-weight: 400; line-height: 1.5;
}

.tm-badge {
	display: inline-block; padding: 3px 8px; border-radius: 999px;
	font-size: 11px; font-weight: 800; line-height: 1.4; white-space: nowrap; vertical-align: 1px;
}
.tm-badge-req { color: #b42318; background: #fff0ee; }
.tm-badge-opt { color: #516072; background: #eef1f5; }
.tm-badge-notice { color: #155eef; background: #eaf1ff; }

.tm-icon {
	display: inline-block; -ms-flex-negative: 0; flex-shrink: 0;
	width: 23px; height: 23px; border-radius: 7px;
	color: #2357d9; background: #dfeaff;
	font-size: 13px; font-style: normal; font-weight: 900; line-height: 23px; text-align: center;
}

.tm-view {
	-ms-flex-negative: 0; flex-shrink: 0;
	min-width: 82px; min-height: 44px; margin-left: 14px; padding: 8px 11px;
	border: 0; border-radius: 11px; color: #2357d9; background: transparent;
	cursor: pointer; font-size: 13px; font-weight: 700;
	text-decoration: underline; text-underline-offset: 3px;
}
.tm-view:hover { background: #eaf1ff; text-decoration: none; }

.tm-note {
	position: relative; margin: 15px 2px 0; padding-left: 13px;
	color: #667085; font-size: 13px; line-height: 1.55;
}
.tm-note::before {
	position: absolute; top: 8px; left: 0; width: 5px; height: 5px;
	border-radius: 50%; background: #04a6a6; content: "";
}

/* ---------------------------------------------------------------- 모달 */
/* 레이어는 플렉스로 중앙정렬한다.
   inline-block + ::before(height:100%) 트릭을 쓰면 라인박스가 컨테이너보다 커져
   모달이 뷰포트 밖으로 밀려나고 스크롤이 모달 본문이 아니라 페이지에 걸린다.
   ※ 스크립트에서 열 때 display:block 이 아니라 flex 로 지정해야 한다(jQuery .show() 금지). */
.tm-modal-layer {
	position: fixed; z-index: 10000; top: 0; right: 0; bottom: 0; left: 0;
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: center; -ms-flex-align: center; align-items: center;
	-webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
	padding: 24px; background: rgba(10, 20, 40, .54);
}
.tm-modal-layer * { box-sizing: border-box; }

.tm-modal {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-orient: vertical; -webkit-box-direction: normal;
	-ms-flex-direction: column; flex-direction: column;
	width: 100%; max-width: 960px; max-height: 100%;
	overflow: hidden; border-radius: 26px; background: #fff;
	box-shadow: 0 30px 90px rgba(6, 16, 36, .3);
	text-align: left;
}

.tm-modal-head {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: start; -ms-flex-align: start; align-items: flex-start;
	-ms-flex-negative: 0; flex-shrink: 0;
	padding: 22px 26px 18px; border-bottom: 1px solid #e4e9f1;
}
.tm-modal-headtext { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.tm-modal-kicker { display: block; margin-bottom: 4px; color: #2357d9; font-size: 12px; font-weight: 800; letter-spacing: .02em; }
.tm-modal-title { margin: 0; color: #172033; font-size: 24px; font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.tm-modal-meta { display: block; margin-top: 5px; color: #8b95a7; font-size: 12px; }
.tm-modal-x {
	-ms-flex-negative: 0; flex-shrink: 0; width: 44px; height: 44px; margin-left: 18px;
	border: 0; border-radius: 13px; color: #475467; background: #f7f9fc;
	cursor: pointer; font-size: 26px; font-weight: 300; line-height: 1;
}
.tm-modal-x:hover { color: #172033; background: #edf1f7; }

.tm-modal-searchbar {
	display: -webkit-box; display: -ms-flexbox; display: flex;
	-webkit-box-align: center; -ms-flex-align: center; align-items: center;
	-ms-flex-negative: 0; flex-shrink: 0;
	padding: 12px 26px; border-bottom: 1px solid #e4e9f1; background: #f8faff;
}
.tm-search-wrap { position: relative; -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; min-width: 0; }
.tm-search-wrap::before {
	position: absolute; top: 50%; left: 13px; margin-top: -10px;
	color: #7c879b; content: "\2315"; font-size: 20px; line-height: 20px;
}
.tm-search {
	width: 100%; height: 40px; padding: 8px 12px 8px 39px;
	border: 1px solid #d5ddeb; border-radius: 11px; color: #172033; background: #fff;
	font-size: 14px; outline: 0;
}
.tm-search:focus { border-color: #2357d9; }
.tm-search-status { -ms-flex-negative: 0; flex-shrink: 0; min-width: 68px; margin: 0 8px; color: #667085; font-size: 12px; text-align: center; white-space: nowrap; }
.tm-search-nav {
	-ms-flex-negative: 0; flex-shrink: 0; min-width: 44px; height: 40px; margin-left: 6px; padding: 0 10px;
	border: 1px solid #d5ddeb; border-radius: 10px; background: #fff; cursor: pointer;
	font-size: 13px; font-weight: 700;
}
.tm-search-nav:hover:enabled { border-color: #a9bceb; color: #2357d9; background: #f3f7ff; }
.tm-search-nav:disabled { color: #b0b8c6; cursor: not-allowed; }

.tm-modal-body {
	-webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto;
	min-height: 0; overflow-y: auto; padding: 28px 32px 40px;
}
.tm-modal-foot {
	-ms-flex-negative: 0; flex-shrink: 0; padding: 14px 24px;
	border-top: 1px solid #e4e9f1; background: #fff; text-align: right;
}
.tm-modal-ok {
	min-width: 108px; min-height: 44px; border: 0; border-radius: 12px;
	color: #fff; background: #172033; cursor: pointer; font-size: 14px; font-weight: 700;
}
.tm-modal-ok:hover { background: #25334e; }

/* 모달 열림 동안 뒤 페이지 스크롤만 막는다.
   body 를 position:fixed 로 띄우면 이 사이트 레이아웃에서 가로 스크롤바가 생기고
   스크롤이 엉뚱한 곳에 걸리므로 overflow 만 잠근다. */
html.tm-modal-open, body.tm-modal-open { overflow: hidden; }

/* --------------------------------------------------- 모달 본문(약관 전문) */
.tm-doc { color: #344054; font-size: 14px; line-height: 1.78; word-break: keep-all; }
.tm-doc > :first-child { margin-top: 0; }
.tm-doc > :last-child { margin-bottom: 0; }
.tm-doc p { margin: 10px 0; }
.tm-doc a { color: #2357d9; text-decoration: underline; word-break: break-all; }
.tm-doc strong { font-weight: 700; }
/* reset.css 의 ul,ol{list-style:none} 를 약관 본문 안에서만 되돌린다 (조항 번호가 마커로 매겨진 문서가 있음) */
.tm-doc ol { margin: 9px 0 16px; padding-left: 24px; list-style: decimal; }
.tm-doc ul { margin: 9px 0 16px; padding-left: 24px; list-style: disc; }
.tm-doc li + li { margin-top: 5px; }
.tm-doc h3 { margin: 0 0 16px; color: #172033; font-size: 20px; font-weight: 800; line-height: 1.4; letter-spacing: -.025em; }
.tm-doc h4 { margin: 24px 0 10px; color: #263652; font-size: 15px; font-weight: 700; line-height: 1.5; }

.tm-doc .detail-lead { margin: 0 0 18px; color: #475467; font-size: 15px; }
.tm-doc .notice-callout {
	margin-bottom: 22px; padding: 15px 17px; border: 1px solid #cfe0ff;
	border-radius: 14px; color: #24427d; background: #f2f7ff;
}
.tm-doc .notice-callout strong { display: block; margin-bottom: 3px; color: #163871; }
.tm-doc .optional-callout { border-color: #d4e9e9; color: #285b5b; background: #f0f9f8; }
.tm-doc .optional-callout strong { color: #194d4d; }

/* position:relative 필수 — 아래 caption 이 position:absolute 라서, 여기에 기준이 없으면
   더 위쪽 positioned 조상(예: fancybox 팝업 컨테이너)을 기준으로 잡히면서
   그 조상의 스크롤 영역을 수천 px 로 부풀린다(스크롤 안에 스크롤이 생김). */
.tm-doc .table-wrap {
	position: relative;
	max-width: 100%; overflow-x: auto; border: 1px solid #e4e9f1;
	border-radius: 14px; background: #fff;
}
.tm-doc table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.tm-doc caption { padding: 0 0 9px; color: #344054; font-weight: 700; text-align: left; }
.tm-doc .table-wrap caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.tm-doc th, .tm-doc td { padding: 13px 15px; border-bottom: 1px solid #e4e9f1; vertical-align: top; text-align: left; }
.tm-doc tr:last-child > th, .tm-doc tr:last-child > td { border-bottom: 0; }
.tm-doc thead th { color: #344054; background: #f6f8fb; font-weight: 700; }
.tm-doc tbody th { width: 150px; color: #344054; background: #fafbfc; font-weight: 700; }

.tm-doc .legal-highlight {
	margin-bottom: 28px; padding: 18px 20px; border: 1px solid #cfe0ff;
	border-radius: 16px; background: #f2f7ff;
}
.tm-doc .legal-highlight__eyebrow { display: block; margin-bottom: 5px; color: #2357d9; font-size: 12px; font-weight: 800; }
.tm-doc .legal-highlight strong { display: block; color: #213b70; font-size: 14px; line-height: 1.55; }
.tm-doc .document-lead {
	padding: 19px 20px; border-left: 4px solid #2357d9; border-radius: 0 13px 13px 0;
	color: #344054; background: #f7f9fc; font-size: 15px;
}

.tm-doc .legal-document section + section { margin-top: 38px; padding-top: 30px; border-top: 1px solid #e4e9f1; }
.tm-doc .article-list > li + li { margin-top: 15px; }

.tm-doc .korean-list { padding-left: 4px !important; list-style: none; }
.tm-doc .korean-list > li::before { display: inline-block; width: 24px; color: #667085; }
.tm-doc .korean-list > li:nth-child(1)::before { content: "가."; }
.tm-doc .korean-list > li:nth-child(2)::before { content: "나."; }
.tm-doc .korean-list > li:nth-child(3)::before { content: "다."; }
.tm-doc .korean-list > li:nth-child(4)::before { content: "라."; }
.tm-doc .korean-list > li:nth-child(5)::before { content: "마."; }
.tm-doc .korean-list > li:nth-child(6)::before { content: "바."; }
.tm-doc .korean-list > li:nth-child(7)::before { content: "사."; }
.tm-doc .korean-list > li:nth-child(8)::before { content: "아."; }
.tm-doc .korean-list > li:nth-child(9)::before { content: "자."; }

.tm-doc .retention-card, .tm-doc .contact-card {
	margin: 14px 0 18px; padding: 18px; border: 1px solid #e4e9f1;
	border-radius: 15px; background: #fbfcfe;
}
.tm-doc .retention-card dl, .tm-doc .contact-card dl { margin: 0; }
.tm-doc .retention-card dl > div, .tm-doc .contact-card dl > div { padding: 9px 0; overflow: hidden; }
.tm-doc .retention-card dl > div + div, .tm-doc .contact-card dl > div + div { border-top: 1px solid #e4e9f1; }
.tm-doc .retention-card dt, .tm-doc .contact-card dt { float: left; width: 120px; color: #5e6b80; font-weight: 700; }
.tm-doc .retention-card dd, .tm-doc .contact-card dd { margin: 0 0 0 134px; color: #344054; }
.tm-doc .contact-card > strong { display: block; margin-bottom: 10px; color: #172033; font-size: 15px; }

.tm-doc .processing-basis { margin: 18px 0; padding: 16px 18px; border-radius: 14px; }
.tm-doc .processing-basis h4 { margin: 0 0 4px; }
.tm-doc .processing-basis p { margin: 0; }
.tm-doc .processing-basis--contract { border: 1px solid #cfe0ff; background: #f3f7ff; }
.tm-doc .processing-basis--consent { border: 1px solid #cfe9e6; background: #f1faf8; }

.tm-doc .legacy-content p { margin: 0 0 15px; }
.tm-doc .legacy-content p:empty { display: none; }
.tm-doc .legacy-content strong { color: #1f2d46; font-size: 15px; }
.tm-doc .legacy-content ol, .tm-doc .legacy-content ul { margin: 8px 0 16px; padding-left: 24px; }
.tm-doc .legacy-content table { min-width: 620px; margin: 14px 0; border: 1px solid #e4e9f1; }
.tm-doc .legacy-content table td, .tm-doc .legacy-content table th { border: 1px solid #e4e9f1; }

.tm-doc mark.tm-hit { padding: 1px 2px; border-radius: 3px; color: inherit; background: #ffe58a; }
.tm-doc mark.tm-hit.is-current { outline: 2px solid #e2a400; background: #ffd75a; }

/* -------------------------------------------------------------- 반응형 */
@media (max-width: 700px) {
	.tm-selectall { padding: 18px 16px; }
	.tm-row { -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 16px; }
	.tm-row-main { -ms-flex-preferred-size: 100%; flex-basis: 100%; }
	.tm-view { margin: 6px 0 0 auto; }
	.tm-modal-layer { padding: 12px 0 0; -webkit-box-align: end; -ms-flex-align: end; align-items: flex-end; }
	.tm-modal { max-width: none; border-radius: 24px 24px 0 0; }
	.tm-modal-head { padding: 18px 16px 14px; }
	.tm-modal-title { font-size: 20px; }
	.tm-modal-searchbar { -ms-flex-wrap: wrap; flex-wrap: wrap; padding: 10px 16px; }
	.tm-search-status { -ms-flex-preferred-size: 100%; flex-basis: 100%; margin: 6px 0 0; text-align: left; }
	.tm-modal-body { padding: 22px 16px 34px; }
	.tm-modal-foot { padding: 12px 16px; }
	.tm-modal-ok { width: 100%; }
	.tm-doc tbody th { width: 110px; }
	.tm-doc .retention-card dt, .tm-doc .contact-card dt { float: none; width: auto; }
	.tm-doc .retention-card dd, .tm-doc .contact-card dd { margin-left: 0; }
}
