/* ===========================
   회원가입 분리 시스템 CSS
   prefix: sbc-regtype- / sbc-register- / sbc-benefits- / sbc-result-
   =========================== */

/* --- 타입 선택 카드 --- */
.sbc-regtype-wrap {
	max-width: 680px;
	margin: 40px auto;
	padding: 0 16px;
}

.sbc-regtype-header {
	text-align: center;
	margin-bottom: 36px;
}

.sbc-regtype-title {
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
	font-size: 26px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 8px;
}

.sbc-regtype-desc {
	font-size: 15px;
	color: #6b7684;
	margin: 0;
}

.sbc-regtype-cards {
	display: flex;
	gap: 20px;
}

.sbc-regtype-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 36px 24px 28px;
	background: #fff;
	border: 1px solid #e8ecf1;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	position: relative;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
	cursor: pointer;
}

.sbc-regtype-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.08);
	border-color: #3182f6;
	text-decoration: none;
	color: inherit;
}

.sbc-regtype-card:active {
	transform: translateY(-1px);
}

.sbc-regtype-card__icon {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 18px;
	font-size: 26px;
}

.sbc-regtype-card--personal .sbc-regtype-card__icon {
	background: #e8f3ff;
	color: #3182f6;
}

.sbc-regtype-card--business .sbc-regtype-card__icon {
	background: #fff0e6;
	color: #f57c00;
}

.sbc-regtype-card__badge {
	display: inline-block;
	padding: 3px 10px;
	background: #fff3e0;
	color: #e65100;
	font-size: 11px;
	font-weight: 600;
	border-radius: 20px;
	margin-bottom: 8px;
}

.sbc-regtype-card__title {
	font-family: 'Pretendard', 'Noto Sans KR', sans-serif;
	font-size: 20px;
	font-weight: 700;
	color: #1a1a1a;
	margin: 0 0 10px;
}

.sbc-regtype-card__desc {
	font-size: 14px;
	color: #6b7684;
	line-height: 1.6;
	margin: 0 0 20px;
}

.sbc-regtype-card__btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: #3182f6;
	margin-top: auto;
}

.sbc-regtype-card--business .sbc-regtype-card__btn {
	color: #f57c00;
}

/* --- 회원가입 페이지: 빈 사이드메뉴 회색선 제거 --- */
.na-top-sidemenu:not(:has(#nt_side_menu .me-li)) {
	display: none !important;
}

/* --- 약관동의 + 가입폼 공통 래퍼 --- */
.sbc-register-wrap {
	max-width: 680px;
	margin: 0 auto;
}

.sbc-register-wrap .register {
	max-width: 100%;
}

.sbc-register-type-badge {
	display: inline-block;
	padding: 3px 12px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 20px;
	background: #e8f3ff;
	color: #3182f6;
}

/* --- 가입폼 업체 필드 --- */
.sbc-register-business-section {
	border-top: 2px solid #f57c00;
	padding-top: 20px;
	margin-top: 8px;
}

.sbc-register-business-section h5 {
	color: #f57c00;
}

.sbc-register-business-section .form-group label {
	font-weight: 600;
}

/* --- 3단계 혜택 안내 --- */
.sbc-benefits-steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 24px 16px;
	margin: 16px 0;
	background: #f8f9fa;
	border-radius: 12px;
}

.sbc-benefits-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	flex: 1;
	position: relative;
}

.sbc-benefits-step__num {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	margin-bottom: 8px;
	background: #e8ecf1;
	color: #6b7684;
}

.sbc-benefits-step--active .sbc-benefits-step__num {
	background: #3182f6;
	color: #fff;
}

.sbc-benefits-step--done .sbc-benefits-step__num {
	background: #00c473;
	color: #fff;
}

.sbc-benefits-step__label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
}

.sbc-benefits-step__arrow {
	color: #c4c9d0;
	font-size: 18px;
	margin: 0 4px;
	align-self: center;
}

/* --- 가입완료 결과 --- */
.sbc-done {
	max-width: 420px;
	margin: 0 auto;
	padding: 48px 20px 60px;
	position: relative;
}

/* 기업회원 가입완료: 카드 스타일 */
.sbc-done:has(.sbc-biz-done),
.sbc-done.sbc-done--biz {
	max-width: 100%;
	padding: 60px 20px 80px;
	min-height: calc(100vh - 200px);
	display: flex;
	align-items: center;
	justify-content: center;
}
.sbc-done:has(.sbc-biz-done) .sbc-done__card,
.sbc-done.sbc-done--biz .sbc-done__card {
	max-width: 420px;
	width: 100%;
	background: #fff;
	border-radius: 24px;
	padding: 48px 36px 40px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
	border: 1px solid rgba(0,0,0,0.04);
}

/* 폭죽 캔버스 — 헤더 위에 표시 */
.sbc-confetti {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	pointer-events: none;
	z-index: 99999;
}

.sbc-done__card {
	text-align: center;
	position: relative;
	z-index: 1;
}

/* 아이콘 */
.sbc-done__icon {
	width: 80px;
	height: 80px;
	margin: 0 auto 28px;
}

.sbc-done__svg {
	width: 100%;
	height: 100%;
}

/* 아이콘 등장 애니메이션 */
.sbc-done__svg--pop {
	animation: sbcPop .5s .1s cubic-bezier(.34,1.56,.64,1) both;
}
@keyframes sbcPop {
	0% { transform: scale(0); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

.sbc-done__icon--success { color: #3182f6; }
.sbc-done__icon--pending { color: #f57c00; }

/* 체크 애니메이션 */
.sbc-done__check {
	stroke-dasharray: 40;
	stroke-dashoffset: 40;
	animation: sbcDrawCheck .5s .3s ease forwards;
}
@keyframes sbcDrawCheck {
	to { stroke-dashoffset: 0; }
}

/* 플러스 애니메이션 */
.sbc-done__plus {
	stroke-dasharray: 44;
	stroke-dashoffset: 44;
	animation: sbcDrawCheck .5s .3s ease forwards;
}

/* 타이틀 */
.sbc-done__title {
	font-size: 24px;
	font-weight: 700;
	color: #191f28;
	margin: 0 0 10px;
	letter-spacing: -0.02em;
}

/* 설명 */
.sbc-done__desc {
	font-size: 15px;
	color: #6b7684;
	line-height: 1.65;
	margin: 0 0 32px;
}

/* 안내 카드 */
.sbc-done__info {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	text-align: left;
	padding: 18px 20px;
	background: #f2f4f6;
	border-radius: 14px;
	margin-bottom: 14px;
}

.sbc-done__info--warn {
	background: #fff8f0;
}

.sbc-done__info-icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	background: #e8f3ff;
	color: #3182f6;
}

.sbc-done__info--warn .sbc-done__info-icon {
	background: #fff0e0;
	color: #f57c00;
}

.sbc-done__info-body {
	flex: 1;
	min-width: 0;
}

.sbc-done__info-body strong {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #333d4b;
	margin-bottom: 4px;
}

.sbc-done__info-body p {
	font-size: 13px;
	color: #6b7684;
	line-height: 1.55;
	margin: 0;
	word-break: keep-all;
}

.sbc-done__email {
	font-weight: 600;
	color: #3182f6;
}

/* 스텝 인디케이터 */
.sbc-done__steps {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	padding: 28px 24px;
	background: #f2f4f6;
	border-radius: 16px;
	margin-bottom: 36px;
}

.sbc-done__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

.sbc-done__step-dot {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #d1d6db;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.sbc-done__step--done .sbc-done__step-dot {
	background: #3182f6;
}

.sbc-done__step--active .sbc-done__step-dot {
	background: #f57c00;
	box-shadow: 0 0 0 4px rgba(245,124,0,.15);
}

.sbc-done__step-text {
	font-size: 12px;
	font-weight: 600;
	color: #8b95a1;
}

.sbc-done__step--done .sbc-done__step-text {
	color: #3182f6;
}

.sbc-done__step--active .sbc-done__step-text {
	color: #f57c00;
}

.sbc-done__step-line {
	width: 40px;
	height: 2px;
	background: #d1d6db;
	margin: 0 10px;
	margin-bottom: 26px;
}

.sbc-done__step--done + .sbc-done__step-line {
	background: #3182f6;
}

/* CTA 버튼 */
.sbc-done__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 320px;
	height: 52px;
	padding: 0 32px;
	background: #3182f6;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 14px;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, transform .1s;
	margin-top: 8px;
}

.sbc-done__btn:hover {
	background: #1b6ce5;
	color: #fff;
	text-decoration: none;
}

.sbc-done__btn:active {
	transform: scale(.98);
}

/* =====================================================================
   기업회원 가입완료 페이지
   prefix: sbc-biz-done
   ===================================================================== */
.sbc-biz-done {
	text-align: center;
}

/* 순차 fadeIn (CSS 변수 --d로 딜레이 제어) */
.sbc-biz-done__seq {
	opacity: 0;
	animation: sbcBizFade .3s ease forwards;
	animation-delay: var(--d, 0s);
}
@keyframes sbcBizFade {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* --- 체크마크 + 파티클 --- */
.sbc-biz-done__check-wrap {
	position: relative;
	width: 80px;
	height: 80px;
	margin: 0 auto 28px;
}
.sbc-biz-done__check-circle {
	width: 80px;
	height: 80px;
	position: relative;
	z-index: 1;
}
.sbc-biz-done__check-circle svg {
	width: 100%;
	height: 100%;
}

/* 채워진 원: scale 팝 */
.sbc-biz-done__circle {
	transform-origin: center;
	animation: sbcCirclePop .4s cubic-bezier(.34,1.56,.64,1) forwards;
}
@keyframes sbcCirclePop {
	0%   { transform: scale(0); opacity: 0; }
	100% { transform: scale(1); opacity: 1; }
}

/* 흰색 체크: stroke draw */
.sbc-biz-done__tick {
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: sbcTickDraw .3s ease forwards .35s;
}
@keyframes sbcTickDraw {
	to { stroke-dashoffset: 0; }
}

/* 파티클 (은은한 반짝임) */
.sbc-biz-done__particles {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	z-index: 0;
}
.sbc-biz-done__particles span {
	position: absolute;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	opacity: 0;
	animation: sbcSparkle .6s ease-out forwards .3s;
}
.sbc-biz-done__particles span:nth-child(1) { background: #00C473; animation-delay: .3s;  --tx: -30px; --ty: -36px; }
.sbc-biz-done__particles span:nth-child(2) { background: #3182f6; animation-delay: .35s; --tx: 34px;  --ty: -28px; }
.sbc-biz-done__particles span:nth-child(3) { background: #f59e0b; animation-delay: .4s;  --tx: 38px;  --ty: 20px; }
.sbc-biz-done__particles span:nth-child(4) { background: #ef4444; animation-delay: .45s; --tx: -36px; --ty: 24px; }
.sbc-biz-done__particles span:nth-child(5) { background: #8b5cf6; animation-delay: .38s; --tx: 8px;   --ty: -42px; width: 4px; height: 4px; }
.sbc-biz-done__particles span:nth-child(6) { background: #00C473; animation-delay: .42s; --tx: -14px; --ty: 40px;  width: 4px; height: 4px; }
@keyframes sbcSparkle {
	0%   { opacity: 0; transform: translate(0, 0) scale(0); }
	50%  { opacity: 1; transform: translate(var(--tx), var(--ty)) scale(1.2); }
	100% { opacity: 0; transform: translate(calc(var(--tx) * 1.3), calc(var(--ty) * 1.3)) scale(0); }
}

/* --- 텍스트 --- */
.sbc-biz-done__title {
	font-size: 28px;
	font-weight: 700;
	color: #191F28;
	margin: 0 0 10px;
	letter-spacing: -0.03em;
	line-height: 1.3;
}
.sbc-biz-done__desc {
	font-size: 15px;
	color: #8B95A1;
	line-height: 1.6;
	margin: 0;
}

/* --- 구분선 --- */
.sbc-biz-done__divider {
	width: 48px;
	height: 1px;
	background: #E5E8EB;
	margin: 28px auto;
}

/* --- 텔레그램 카드 --- */
.sbc-biz-done__tg-card {
	background: #F0F7FF;
	border-radius: 16px;
	padding: 24px 20px 20px;
	margin-bottom: 0;
}
.sbc-biz-done__tg-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-bottom: 16px;
}
.sbc-biz-done__tg-icon {
	width: 28px;
	height: 28px;
	flex-shrink: 0;
}
.sbc-biz-done__tg-label {
	font-size: 15px;
	font-weight: 600;
	color: #333D4B;
}
.sbc-biz-done__tg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	height: 50px;
	background: #0088CC;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 12px;
	text-decoration: none;
	cursor: pointer;
	transition: background .15s, transform .15s, box-shadow .15s;
}
.sbc-biz-done__tg-btn:hover {
	background: #007AB8;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,136,204,0.3);
}
.sbc-biz-done__tg-btn:active {
	transform: translateY(0) scale(.98);
	box-shadow: none;
}
.sbc-biz-done__tg-btn i {
	font-size: 20px;
}

/* --- 메인 돌아가기 --- */
.sbc-biz-done__back {
	display: inline-block;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 500;
	color: #3182f6;
	text-decoration: none;
	transition: color .15s;
}
.sbc-biz-done__back:hover {
	color: #1B6CE5;
	text-decoration: underline;
}

/* --- 다크모드 --- */
html.dark-mode .sbc-done:has(.sbc-biz-done) .sbc-done__card,
html.dark-mode .sbc-done.sbc-done--biz .sbc-done__card {
	background: #1a1f2e;
	border-color: rgba(255,255,255,0.06);
	box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
}
html.dark-mode .sbc-biz-done__title { color: #e4e7ec; }
html.dark-mode .sbc-biz-done__desc { color: #6b7684; }
html.dark-mode .sbc-biz-done__divider { background: #2d3039; }
html.dark-mode .sbc-biz-done__tg-card { background: rgba(0,136,204,0.08); }
html.dark-mode .sbc-biz-done__tg-label { color: #c4c9d0; }
html.dark-mode .sbc-biz-done__back { color: #64b5f6; }
html.dark-mode .sbc-biz-done__back:hover { color: #90caf9; }

/* --- 반응형 --- */
@media (max-width: 480px) {
	.sbc-done:has(.sbc-biz-done),
	.sbc-done.sbc-done--biz {
		padding: 40px 12px 60px;
	}
	.sbc-done:has(.sbc-biz-done) .sbc-done__card,
	.sbc-done.sbc-done--biz .sbc-done__card {
		padding: 40px 24px 32px;
		border-radius: 20px;
	}
	.sbc-biz-done__title { font-size: 24px; }
	.sbc-biz-done__check-wrap,
	.sbc-biz-done__check-circle { width: 72px; height: 72px; }
	.sbc-biz-done__tg-card { padding: 20px 16px 16px; }
}

/* --- 반응형 --- */
@media (max-width: 640px) {
	.sbc-regtype-wrap {
		margin: 24px auto;
	}

	.sbc-regtype-cards {
		flex-direction: column;
		gap: 14px;
	}

	.sbc-regtype-card {
		padding: 28px 20px 22px;
	}

	.sbc-regtype-title {
		font-size: 22px;
	}

	.sbc-benefits-steps {
		flex-direction: column;
		gap: 8px;
		padding: 20px 16px;
	}

	.sbc-benefits-step__arrow {
		transform: rotate(90deg);
	}

	.sbc-done {
		padding: 32px 16px 48px;
	}

	.sbc-done__title {
		font-size: 20px;
	}

	.sbc-done__steps {
		padding: 20px 16px;
		gap: 0;
	}

	.sbc-done__step-line {
		width: 24px;
	}
}

/* --- 다크모드 --- */
html.dark-mode .sbc-regtype-title {
	color: #e4e7ec;
}

html.dark-mode .sbc-regtype-desc {
	color: #8b95a1;
}

html.dark-mode .sbc-regtype-card {
	background: #1e2028;
	border-color: #2d3039;
}

html.dark-mode .sbc-regtype-card:hover {
	border-color: #3182f6;
	box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

html.dark-mode .sbc-regtype-card__title {
	color: #e4e7ec;
}

html.dark-mode .sbc-regtype-card__desc {
	color: #8b95a1;
}

html.dark-mode .sbc-regtype-card--personal .sbc-regtype-card__icon {
	background: rgba(49,130,246,0.15);
}

html.dark-mode .sbc-regtype-card--business .sbc-regtype-card__icon {
	background: rgba(245,124,0,0.15);
}

html.dark-mode .sbc-regtype-card__badge {
	background: rgba(245,124,0,0.15);
	color: #ffb74d;
}

html.dark-mode .sbc-register-wrap .list-group-item {
	background: #1e2028;
	border-color: #2d3039;
}

html.dark-mode .sbc-register-type-badge {
	background: rgba(49,130,246,0.15);
	color: #64b5f6;
}

html.dark-mode .sbc-register-business-section {
	border-top-color: #f57c00;
}

html.dark-mode .sbc-benefits-steps {
	background: #1a1c24;
}

html.dark-mode .sbc-benefits-step__num {
	background: #2d3039;
	color: #8b95a1;
}

html.dark-mode .sbc-benefits-step__label {
	color: #c4c9d0;
}

html.dark-mode .sbc-done__title {
	color: #e4e7ec;
}

html.dark-mode .sbc-done__desc {
	color: #8b95a1;
}

html.dark-mode .sbc-done__info {
	background: #1a1c24;
}

html.dark-mode .sbc-done__info--warn {
	background: rgba(245,124,0,0.08);
}

html.dark-mode .sbc-done__info-icon {
	background: rgba(49,130,246,0.15);
}

html.dark-mode .sbc-done__info--warn .sbc-done__info-icon {
	background: rgba(245,124,0,0.15);
}

html.dark-mode .sbc-done__info-body strong {
	color: #d1d6db;
}

html.dark-mode .sbc-done__info-body p {
	color: #8b95a1;
}

html.dark-mode .sbc-done__steps {
	background: #1a1c24;
}

html.dark-mode .sbc-done__step-dot {
	background: #2d3039;
}

html.dark-mode .sbc-done__step-text {
	color: #6b7684;
}

html.dark-mode .sbc-done__btn {
	background: #3182f6;
}

html.dark-mode .sbc-done__btn:hover {
	background: #1b6ce5;
}

/* =====================================================================
   기업회원 가입 3단계 스텝 위저드
   prefix: sbc-wizard / sbc-step- / sbc-field- / sbc-btn- / sbc-notice- / sbc-suggest-
   ===================================================================== */

/* --- 위저드 컨테이너 --- */
.sbc-wizard {
	max-width: 420px !important;
	margin: 0 auto !important;
	padding: 32px 20px !important;
	padding-top: 50px !important;
	background: #fff !important;
	border-radius: 20px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
@media (max-width: 480px) {
	.sbc-wizard {
		padding-top: 30px !important;
	}
}

/* --- 진행 바 --- */
.sbc-wizard .sbc-step-progress {
	margin-bottom: 24px !important;
}
.sbc-wizard .sbc-step-progress__bar {
	height: 3px !important;
	background: #E5E8EB !important;
	border-radius: 1.5px !important;
	overflow: hidden !important;
	margin-bottom: 0 !important;
}
.sbc-wizard .sbc-step-progress__fill {
	height: 100% !important;
	width: 0;
	background: #3182F6 !important;
	border-radius: 1.5px !important;
	transition: width .4s cubic-bezier(.4,0,.2,1) !important;
}

/* --- 패널 (화면 전환 단위) --- */
.sbc-wizard .sbc-panel {
	display: none !important;
}
.sbc-wizard .sbc-panel.sbc-panel--active {
	display: block !important;
}
/* 전환 패널 FOUC 방지: display:block 직후 1프레임 동안 투명 유지 */
.sbc-wizard #sbc_panel_done.sbc-panel--active {
	opacity: 0;
}
.sbc-wizard #sbc_panel_done.sbc-panel--active.sbc-panel--reveal {
	opacity: 1;
}

/* --- 순차 입력 필드 --- */
.sbc-wizard .sbc-seq--hidden {
	display: none !important;
}

/* --- 전환 완료 화면 --- */
.sbc-wizard .sbc-done-mid {
	text-align: center !important;
	padding: 60px 0 40px !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	min-height: 320px !important;
}
.sbc-wizard .sbc-done-mid__icon {
	width: 72px !important;
	height: 72px !important;
	margin: 0 auto 24px !important;
}
.sbc-wizard .sbc-done-mid__icon svg {
	width: 100% !important;
	height: 100% !important;
}

/* SVG 원+체크: 애니메이션 전 숨김 */
.sbc-wizard .sbc-done-mid:not(.sbc-done-mid--animate) .sbc-done-mid__circle {
	stroke-dasharray: 157 !important;
	stroke-dashoffset: 157 !important;
}
.sbc-wizard .sbc-done-mid:not(.sbc-done-mid--animate) .sbc-done-mid__check {
	stroke-dasharray: 36 !important;
	stroke-dashoffset: 36 !important;
}
/* 애니메이션 시: !important 없이 → @keyframes가 정상 오버라이드 */
.sbc-wizard .sbc-done-mid--animate .sbc-done-mid__circle {
	stroke-dasharray: 157;
	stroke-dashoffset: 157;
	animation: sbc-draw-circle .45s ease forwards;
}
.sbc-wizard .sbc-done-mid--animate .sbc-done-mid__check {
	stroke-dasharray: 36;
	stroke-dashoffset: 36;
	animation: sbc-draw-check .35s ease forwards .45s;
}
@keyframes sbc-draw-circle {
	to { stroke-dashoffset: 0; }
}
@keyframes sbc-draw-check {
	to { stroke-dashoffset: 0; }
}

/* 제목 */
.sbc-wizard .sbc-done-mid__title {
	font-size: 24px !important;
	font-weight: 700 !important;
	color: #191F28 !important;
	margin: 0 0 8px !important;
	letter-spacing: -0.02em !important;
}

/* 부제 */
.sbc-wizard .sbc-done-mid__desc {
	font-size: 15px !important;
	color: #8B95A1 !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}

/* 버튼 영역 */
.sbc-wizard .sbc-done-mid__btn-wrap {
	margin-top: 28px !important;
	width: 100% !important;
}
/* [계속] 버튼 치수 고정 (FOUC 방지) */
.sbc-wizard .sbc-done-mid__btn-wrap .sbc-btn {
	width: 100% !important;
	height: 54px !important;
	border-radius: 16px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	line-height: 54px !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* 애니메이션 전: 텍스트/버튼 숨김 (animate 클래스 없을 때) */
.sbc-wizard .sbc-done-mid:not(.sbc-done-mid--animate) .sbc-done-mid__title,
.sbc-wizard .sbc-done-mid:not(.sbc-done-mid--animate) .sbc-done-mid__desc,
.sbc-wizard .sbc-done-mid:not(.sbc-done-mid--animate) .sbc-done-mid__btn-wrap {
	opacity: 0 !important;
}

/* 애니메이션 후: 순차 fadeIn (JS에서 animate 추가 시 동작) */
.sbc-wizard .sbc-done-mid--animate .sbc-done-mid__title {
	animation: sbc-fade-up .2s ease forwards .85s;
	opacity: 0;
}
.sbc-wizard .sbc-done-mid--animate .sbc-done-mid__desc {
	animation: sbc-fade-up .2s ease forwards 1.05s;
	opacity: 0;
}
.sbc-wizard .sbc-done-mid--animate .sbc-done-mid__btn-wrap {
	animation: sbc-fade-up .2s ease forwards 1.2s;
	opacity: 0;
}

/* 카운트다운 텍스트 */
.sbc-wizard .sbc-done-mid__countdown {
	display: block !important;
	margin-top: 10px !important;
	font-size: 12px !important;
	color: #AEB5BC !important;
}

@keyframes sbc-fade-up {
	from { opacity: 0; transform: translateY(8px); }
	to   { opacity: 1; transform: translateY(0); }
}

.sbc-wizard .sbc-step__header {
	margin-bottom: 28px !important;
}
.sbc-wizard .sbc-step__title {
	font-family: 'Pretendard Variable', 'Pretendard', 'Noto Sans KR', sans-serif !important;
	font-size: 22px !important;
	font-weight: 700 !important;
	color: #191F28 !important;
	margin: 0 0 6px !important;
	letter-spacing: -0.02em !important;
	line-height: 1.35 !important;
}
.sbc-wizard .sbc-step__desc {
	font-size: 14px !important;
	color: #8B95A1 !important;
	margin: 0 !important;
	line-height: 1.5 !important;
}
.sbc-wizard .sbc-step__actions {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 16px !important;
	padding-bottom: 24px !important;
}

/* --- 취소/이전 링크 (버튼 아래 작은 텍스트) --- */
.sbc-wizard .sbc-step__cancel {
	display: inline-block !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #8B95A1 !important;
	text-decoration: none !important;
	background: none !important;
	border: none !important;
	cursor: pointer !important;
	padding: 0 !important;
	font-family: inherit !important;
	transition: color .15s !important;
	height: auto !important;
	width: auto !important;
	border-radius: 0 !important;
}
.sbc-wizard .sbc-step__cancel:hover {
	color: #6B7684 !important;
	text-decoration: none !important;
	background: none !important;
}

/* --- 입력 필드 --- */
.sbc-wizard .sbc-field {
	margin-bottom: 20px !important;
}
.sbc-wizard .sbc-field__label {
	display: block !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	color: #666 !important;
	margin-bottom: 8px !important;
}
.sbc-wizard .sbc-field__input {
	display: block !important;
	width: 100% !important;
	height: 52px !important;
	padding: 16px 20px !important;
	font-size: 16px !important;
	font-family: inherit !important;
	color: #191F28 !important;
	background: #F5F6F8 !important;
	border: 1.5px solid transparent !important;
	border-radius: 12px !important;
	outline: none !important;
	transition: border-color .15s, background .15s, box-shadow .15s !important;
	-webkit-appearance: none !important;
	box-shadow: none !important;
}
.sbc-wizard .sbc-field__input::placeholder {
	color: #AEB5BC !important;
}
.sbc-wizard .sbc-field__input:focus {
	border-color: #3182F6 !important;
	background: #fff !important;
	box-shadow: none !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--error {
	border-color: #f04452 !important;
	background: #fff !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--error:focus {
	box-shadow: 0 0 0 2px rgba(240,68,82,.1) !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--ok {
	border-color: #00c473 !important;
	background: #fff !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--ok:focus {
	box-shadow: 0 0 0 2px rgba(0,196,115,.1) !important;
}

/* 입력 그룹 (@ prefix) */
.sbc-wizard .sbc-field__group {
	display: flex !important;
	align-items: center !important;
	background: #F5F6F8 !important;
	border: 1.5px solid transparent !important;
	border-radius: 12px !important;
	overflow: hidden !important;
	transition: border-color .15s, background .15s !important;
}
.sbc-wizard .sbc-field__group:focus-within {
	border-color: #3182F6 !important;
	background: #fff !important;
}
.sbc-wizard .sbc-field__prefix {
	flex-shrink: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 44px !important;
	height: 52px !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	color: #AEB5BC !important;
	background: transparent !important;
	border: none !important;
	padding: 0 !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--prefixed {
	border: none !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding-left: 0 !important;
}
.sbc-wizard .sbc-field__input.sbc-field__input--prefixed:focus {
	box-shadow: none !important;
	background: transparent !important;
}

/* 필드 안내 문구 */
.sbc-wizard .sbc-field__hint {
	margin: 6px 0 0 !important;
	font-size: 13px !important;
	color: #8B95A1 !important;
	line-height: 1.4 !important;
}

/* 유효성 메시지 */
.sbc-wizard .sbc-field__msg {
	min-height: 18px !important;
	margin-top: 6px !important;
	font-size: 12px !important;
	line-height: 1.4 !important;
}
.sbc-wizard .sbc-field__msg--error {
	color: #f04452 !important;
}
.sbc-wizard .sbc-field__msg--error i {
	margin-right: 3px !important;
}
.sbc-wizard .sbc-field__msg--ok {
	color: #00c473 !important;
}
.sbc-wizard .sbc-field__msg--ok i {
	margin-right: 3px !important;
}

/* 스텝 고정 버튼 — 항상 보이고 색상만 전환 */
.sbc-wizard .sbc-step__btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 54px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	font-family: inherit !important;
	border: none !important;
	border-radius: 16px !important;
	cursor: pointer !important;
	transition: background .3s ease, color .3s ease, transform .08s !important;
	-webkit-appearance: none !important;
	background: #3182F6 !important;
	color: #fff !important;
	letter-spacing: -0.01em !important;
	padding: 0 !important;
}
.sbc-wizard .sbc-step__btn:hover:not(:disabled) {
	background: #1B6CE5 !important;
}
.sbc-wizard .sbc-step__btn:active:not(:disabled) {
	transform: scale(.98) !important;
}
.sbc-wizard .sbc-step__btn:disabled {
	background: #E5E8EB !important;
	color: #AEB5BC !important;
	cursor: not-allowed !important;
	transform: none !important;
}

/* 캡차 */
.sbc-wizard .sbc-field--captcha {
	margin-top: 8px !important;
	padding-top: 20px !important;
	border-top: 1px solid #F2F4F6 !important;
}
.sbc-wizard .sbc-field__captcha-wrap {
	border-radius: 12px !important;
	overflow: hidden !important;
}

/* --- 경고 안내 --- */
.sbc-wizard .sbc-notice {
	display: flex !important;
	align-items: flex-start !important;
	gap: 10px !important;
	padding: 14px 16px !important;
	background: #FFF8F0 !important;
	border: 1px solid #FFE0B2 !important;
	border-radius: 12px !important;
	margin-bottom: 20px !important;
}
.sbc-wizard .sbc-notice__icon {
	flex-shrink: 0 !important;
	color: #F57C00 !important;
	font-size: 14px !important;
	margin-top: 1px !important;
}
.sbc-wizard .sbc-notice__text {
	font-size: 13px !important;
	font-weight: 500 !important;
	color: #8A5800 !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}

/* --- 버튼 --- */
.sbc-wizard .sbc-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	height: 54px !important;
	font-size: 17px !important;
	font-weight: 700 !important;
	font-family: inherit !important;
	border: none !important;
	border-radius: 16px !important;
	cursor: pointer !important;
	transition: background .15s, transform .08s, opacity .15s !important;
	text-decoration: none !important;
	-webkit-appearance: none !important;
	padding: 0 !important;
	letter-spacing: -0.01em !important;
}
.sbc-wizard .sbc-btn:active:not(:disabled) {
	transform: scale(.98) !important;
}

/* 다음/제출 버튼 - 활성 */
.sbc-wizard .sbc-btn.sbc-btn--next {
	background: #3182F6 !important;
	color: #fff !important;
}
.sbc-wizard .sbc-btn.sbc-btn--next:hover:not(:disabled) {
	background: #1B6CE5 !important;
	color: #fff !important;
	text-decoration: none !important;
}

/* 비활성 상태 */
.sbc-wizard .sbc-btn.sbc-btn--disabled,
.sbc-wizard .sbc-btn.sbc-btn--next:disabled {
	background: #E5E8EB !important;
	color: #AEB5BC !important;
	cursor: not-allowed !important;
	transform: none !important;
}

/* 레거시 호환 */
.sbc-btn--primary {
	background: #3182F6;
	color: #fff;
}
.sbc-btn--primary:hover {
	background: #1B6CE5;
	color: #fff;
	text-decoration: none;
}
.sbc-btn--primary:disabled {
	background: #E5E8EB;
	color: #AEB5BC;
	cursor: not-allowed;
}
.sbc-btn--ghost {
	background: transparent;
	color: #8B95A1;
}
.sbc-btn--ghost:hover {
	background: #F2F4F6;
	color: #6B7684;
	text-decoration: none;
}
.sbc-btn--block {
	width: 100%;
}

/* --- 자동완성 드롭다운 --- */
.sbc-suggest {
	position: absolute;
	z-index: 100;
	width: 100%;
	max-height: 220px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #E5E8EB;
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0,0,0,.1);
	margin-top: 4px;
}
.sbc-suggest__item {
	display: block;
	padding: 12px 16px;
	font-size: 14px;
	color: #333D4B;
	text-decoration: none;
	border-bottom: 1px solid #F2F4F6;
	transition: background .1s;
}
.sbc-suggest__item:last-child {
	border-bottom: none;
}
.sbc-suggest__item:hover {
	background: #F2F7FF;
	color: #3182F6;
	text-decoration: none;
}

/* =====================================================================
   반응형 (스텝 위저드)
   ===================================================================== */
@media (max-width: 480px) {
	.sbc-wizard {
		padding: 24px 16px !important;
		border-radius: 0 !important;
		box-shadow: none !important;
	}
	.sbc-wizard .sbc-step__title {
		font-size: 20px !important;
	}
	.sbc-wizard .sbc-step__desc {
		font-size: 13px !important;
	}
	.sbc-wizard .sbc-field__input {
		height: 48px !important;
		padding: 14px 16px !important;
		font-size: 15px !important;
	}
	.sbc-wizard .sbc-field__prefix {
		width: 40px !important;
		height: 48px !important;
	}
	.sbc-wizard .sbc-btn {
		height: 50px !important;
		font-size: 16px !important;
		border-radius: 14px !important;
	}
}

/* =====================================================================
   다크모드 (스텝 위저드)
   ===================================================================== */
html.dark-mode .sbc-wizard {
	background: #1e293b !important;
	box-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
}
html.dark-mode .sbc-wizard .sbc-done-mid__title {
	color: #e4e7ec !important;
}
html.dark-mode .sbc-wizard .sbc-done-mid__desc {
	color: #6b7684 !important;
}
html.dark-mode .sbc-wizard .sbc-done-mid__countdown {
	color: #4e5560 !important;
}
html.dark-mode .sbc-wizard .sbc-step__title {
	color: #e4e7ec !important;
}
html.dark-mode .sbc-wizard .sbc-step__desc {
	color: #6b7684 !important;
}
html.dark-mode .sbc-wizard .sbc-step-progress__bar {
	background: #2d3039 !important;
}
html.dark-mode .sbc-wizard .sbc-step__cancel {
	color: #6b7684 !important;
}
html.dark-mode .sbc-wizard .sbc-step__cancel:hover {
	color: #8b95a1 !important;
}
html.dark-mode .sbc-wizard .sbc-field__label {
	color: #8b95a1 !important;
}
html.dark-mode .sbc-wizard .sbc-field__input {
	background: #1a1c24 !important;
	border-color: transparent !important;
	color: #e4e7ec !important;
}
html.dark-mode .sbc-wizard .sbc-field__input::placeholder {
	color: #4e5560 !important;
}
html.dark-mode .sbc-wizard .sbc-field__input:focus {
	background: #22242d !important;
	border-color: #3182f6 !important;
}
html.dark-mode .sbc-wizard .sbc-field__group {
	background: #1a1c24 !important;
	border-color: transparent !important;
}
html.dark-mode .sbc-wizard .sbc-field__group:focus-within {
	background: #22242d !important;
	border-color: #3182f6 !important;
}
html.dark-mode .sbc-wizard .sbc-field__prefix {
	color: #4e5560 !important;
}
html.dark-mode .sbc-wizard .sbc-step__btn {
	background: #3182f6 !important;
	color: #fff !important;
}
html.dark-mode .sbc-wizard .sbc-step__btn:disabled {
	background: #2d3039 !important;
	color: #4e5560 !important;
}
html.dark-mode .sbc-wizard .sbc-field--captcha {
	border-top-color: #2d3039 !important;
}
html.dark-mode .sbc-wizard .sbc-notice {
	background: rgba(245,124,0,.08) !important;
	border-color: rgba(245,124,0,.2) !important;
}
html.dark-mode .sbc-wizard .sbc-notice__text {
	color: #ffb74d !important;
}
html.dark-mode .sbc-wizard .sbc-btn.sbc-btn--next {
	background: #3182f6 !important;
	color: #fff !important;
}
html.dark-mode .sbc-wizard .sbc-btn.sbc-btn--disabled,
html.dark-mode .sbc-wizard .sbc-btn.sbc-btn--next:disabled {
	background: #2d3039 !important;
	color: #4e5560 !important;
}
html.dark-mode .sbc-wizard .sbc-btn--ghost {
	color: #6b7684 !important;
}
html.dark-mode .sbc-wizard .sbc-btn--ghost:hover {
	background: #2d3039 !important;
	color: #8b95a1 !important;
}
html.dark-mode .sbc-wizard .sbc-suggest {
	background: #1e2028 !important;
	border-color: #2d3039 !important;
	box-shadow: 0 8px 24px rgba(0,0,0,.3) !important;
}
html.dark-mode .sbc-wizard .sbc-suggest__item {
	color: #c4c9d0 !important;
	border-bottom-color: #2d3039 !important;
}
html.dark-mode .sbc-wizard .sbc-suggest__item:hover {
	background: rgba(49,130,246,.1) !important;
	color: #64b5f6 !important;
}

/* =====================================================================
   로그인 페이지
   prefix: sbc-login
   ===================================================================== */
.sbc-login {
	max-width: 100%;
	padding: 60px 20px 48px;
	min-height: calc(100vh - 200px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.sbc-login__card {
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 24px;
	padding: 44px 36px 36px;
	box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
	border: 1px solid rgba(0,0,0,0.04);
}

/* --- 헤더 --- */
.sbc-login__header {
	text-align: center;
	margin-bottom: 32px;
}
.sbc-login__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #EBF3FE;
	border-radius: 16px;
	color: #3182f6;
}
.sbc-login__icon svg {
	width: 28px;
	height: 28px;
}
.sbc-login__title {
	font-size: 24px;
	font-weight: 700;
	color: #191F28;
	margin: 0 0 8px;
	letter-spacing: -0.03em;
}
.sbc-login__desc {
	font-size: 14px;
	color: #8B95A1;
	margin: 0;
	line-height: 1.5;
}

/* --- 입력 필드 --- */
.sbc-login__fields {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 16px;
}
.sbc-login__field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.sbc-login__label {
	font-size: 13px;
	font-weight: 600;
	color: #4E5968;
}
.sbc-login__input-wrap {
	position: relative;
}
.sbc-login__input-icon {
	position: absolute;
	left: 14px;
	top: 50%;
	transform: translateY(-50%);
	color: #B0B8C1;
	font-size: 14px;
	pointer-events: none;
	transition: color .15s;
}
.sbc-login__input {
	width: 100%;
	height: 48px;
	padding: 0 14px 0 40px;
	border: 1.5px solid #E5E8EB;
	border-radius: 12px;
	font-size: 15px;
	color: #191F28;
	background: #fff;
	outline: none;
	transition: border-color .15s, box-shadow .15s;
}
.sbc-login__input::placeholder {
	color: #B0B8C1;
}
.sbc-login__input:focus {
	border-color: #3182f6;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.1);
}
.sbc-login__input:focus + .sbc-login__input-icon,
.sbc-login__input:focus ~ .sbc-login__input-icon {
	color: #3182f6;
}
/* 아이콘이 input 앞에 있을 때 */
.sbc-login__input-wrap:focus-within .sbc-login__input-icon {
	color: #3182f6;
}

/* --- 자동로그인 --- */
.sbc-login__options {
	margin-bottom: 24px;
}
.sbc-login__auto {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
	color: #6B7684;
	user-select: none;
}
.sbc-login__auto input {
	display: none;
}
.sbc-login__auto-check {
	width: 18px;
	height: 18px;
	border: 1.5px solid #D1D6DB;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .15s, border-color .15s;
	flex-shrink: 0;
}
.sbc-login__auto-check::after {
	content: '';
	width: 10px;
	height: 6px;
	border-left: 2px solid #fff;
	border-bottom: 2px solid #fff;
	transform: rotate(-45deg) translateY(-1px);
	opacity: 0;
	transition: opacity .15s;
}
.sbc-login__auto input:checked ~ .sbc-login__auto-check {
	background: #3182f6;
	border-color: #3182f6;
}
.sbc-login__auto input:checked ~ .sbc-login__auto-check::after {
	opacity: 1;
}

/* --- 버튼 --- */
.sbc-login__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 52px;
	background: #3182f6;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	border: none;
	border-radius: 14px;
	cursor: pointer;
	transition: background .15s, transform .1s;
	letter-spacing: -0.01em;
}
.sbc-login__submit:hover {
	background: #1B6CE5;
}
.sbc-login__submit:active {
	transform: scale(0.98);
}

/* --- 하단 링크 --- */
.sbc-login__links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #F2F4F6;
}
.sbc-login__links a {
	font-size: 14px;
	font-weight: 500;
	color: #6B7684;
	text-decoration: none;
	transition: color .15s;
}
.sbc-login__links a:hover {
	color: #3182f6;
}
.sbc-login__links-dot {
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: #D1D6DB;
}

/* --- 홈으로 돌아가기 --- */
.sbc-login__back {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 24px;
	font-size: 14px;
	font-weight: 500;
	color: #8B95A1;
	text-decoration: none;
	transition: color .15s;
}
.sbc-login__back:hover {
	color: #3182f6;
	text-decoration: none;
}

/* --- 다크모드 --- */
html.dark-mode .sbc-login__card {
	background: #1a1f2e;
	border-color: rgba(255,255,255,0.06);
	box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 1px 4px rgba(0,0,0,0.2);
}
html.dark-mode .sbc-login__icon {
	background: rgba(49,130,246,0.12);
}
html.dark-mode .sbc-login__title {
	color: #E4E7EC;
}
html.dark-mode .sbc-login__desc {
	color: #6B7684;
}
html.dark-mode .sbc-login__label {
	color: #8B95A1;
}
html.dark-mode .sbc-login__input {
	background: #252b3b;
	border-color: #333a4a;
	color: #E4E7EC;
}
html.dark-mode .sbc-login__input::placeholder {
	color: #555e6e;
}
html.dark-mode .sbc-login__input:focus {
	border-color: #3182f6;
	box-shadow: 0 0 0 3px rgba(49,130,246,0.15);
}
html.dark-mode .sbc-login__auto-check {
	border-color: #444c5c;
}
html.dark-mode .sbc-login__auto {
	color: #8B95A1;
}
html.dark-mode .sbc-login__links {
	border-top-color: rgba(255,255,255,0.06);
}
html.dark-mode .sbc-login__links a {
	color: #8B95A1;
}
html.dark-mode .sbc-login__links a:hover {
	color: #64b5f6;
}
html.dark-mode .sbc-login__links-dot {
	background: #444c5c;
}
html.dark-mode .sbc-login__back {
	color: #6B7684;
}
html.dark-mode .sbc-login__back:hover {
	color: #64b5f6;
}

/* --- 반응형 --- */
@media (max-width: 480px) {
	.sbc-login {
		padding: 40px 12px 40px;
	}
	.sbc-login__card {
		padding: 36px 24px 28px;
		border-radius: 20px;
	}
	.sbc-login__title {
		font-size: 22px;
	}
}
