*, *::before, *::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-rendering: geometricPrecision;
}

html,
body.kbiz-v3-page {
	margin: 0;
	padding: 0;
	width: 100%;
	min-height: 100%;
}

body.kbiz-v3-page {
	min-height: 100vh;
	background: linear-gradient(165deg, #e8f0ee 0%, #f4f5f5 45%, #dfe9e6 100%);
	color: #161616;
	font-family: "Malgun Gothic", "Apple SD Gothic Neo", "Noto Sans KR", system-ui, "Segoe UI", sans-serif;
	font-size: 14px;
	-webkit-font-smoothing: subpixel-antialiased;
	-moz-osx-font-smoothing: auto;
}

.kbiz-v3-page .skip-nav {
	position: absolute;
	top: -48px;
	left: 12px;
	z-index: 10000;
	padding: 10px 16px;
	border: 2px solid #005a4e;
	border-radius: 4px;
	background: #fff;
	color: #111;
}

.kbiz-v3-page .skip-nav:focus {
	top: 12px;
}

.kbiz-v3-page input,
.kbiz-v3-page select,
.kbiz-v3-page button,
.kbiz-v3-page textarea {
	font-family: inherit;
}

.kbiz-v3-page .login-shell {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: 40px 24px;
}

.kbiz-v3-page .login-board {
	display: flex;
	width: 100%;
	max-width: 960px;
	min-height: 520px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 8px 40px rgba(8, 97, 77, 0.12), 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.kbiz-v3-page .notice-panel {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-width: 0;
	border-right: 1px solid #e2e8e6;
	background: linear-gradient(180deg, #f8fbfa 0%, #fff 100%);
}

.kbiz-v3-page .notice-panel-hd {
	padding: 22px 22px 14px;
	border-bottom: 2px solid #08614d;
}

.kbiz-v3-page .notice-panel-hd .k {
	color: #08614d;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.kbiz-v3-page .notice-panel-hd .tit {
	margin: 6px 0 0;
	padding: 0;
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 800;
	text-align: left;
}

.kbiz-v3-page .notice-list-wrap {
	flex: 1;
	max-height: 440px;
	overflow-y: auto;
	padding: 10px 14px 18px;
}

.kbiz-v3-page .notice-item {
	width: 100%;
	margin: 0 0 8px;
	padding: 12px 14px;
	border: 1px solid #dde8e4;
	border-radius: 8px;
	background: #fff;
	cursor: pointer;
	font-family: inherit;
	text-align: left;
	transition: border-color 0.15s, box-shadow 0.15s;
}

.kbiz-v3-page .notice-item:hover {
	border-color: #08614d;
	box-shadow: 0 2px 8px rgba(8, 97, 77, 0.12);
}

.kbiz-v3-page .notice-item:focus-visible {
	outline: 2px solid rgba(8, 97, 77, 0.35);
	outline-offset: 1px;
}

.kbiz-v3-page .notice-item .date {
	display: block;
	margin-bottom: 4px;
	color: #6b7a76;
	font-size: 13px;
}

.kbiz-v3-page .notice-item .subject {
	display: -webkit-box;
	overflow: hidden;
	color: #2d3d38;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.45;
	text-overflow: ellipsis;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.kbiz-v3-page .notice-foot {
	padding: 10px 18px 16px;
	border-top: 1px solid #eef3f1;
	color: #8a9591;
	font-size: 13px;
}

.kbiz-v3-page .login-panel {
	display: flex;
	flex: 0 0 380px;
	flex-direction: column;
	justify-content: center;
	padding: 22px 36px 20px;
}

.kbiz-v3-page .sys-brand {
	margin-bottom: 22px;
}

.kbiz-v3-page .sys-brand .hd-logo {
	margin: 0 0 10px;
	padding: 0;
	line-height: 1;
}

.kbiz-v3-page .sys-brand .hd-logo a {
	display: flex;
	width: 240px;
	max-width: 100%;
	height: 34px;
	overflow: hidden;
	background: url("../../images/logo.png") no-repeat left center;
	background-size: contain;
	color: transparent;
	text-indent: -9999px;
}

.kbiz-v3-page .sys-brand .sys-title {
	margin: 0;
	color: #08614d;
	font-size: 18px;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.4;
	text-align: center;
}

.kbiz-v3-page .login-form label {
	display: block;
	margin-bottom: 6px;
	color: #4d5c56;
	font-size: 13px;
	font-weight: 600;
}

.kbiz-v3-page .login-form input[type="text"],
.kbiz-v3-page .login-form input[type="password"] {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #c8d5d0;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}

.kbiz-v3-page .login-form input:focus,
.kbiz-v3-page .ua-form input:focus,
.kbiz-v3-page .ua-form select:focus {
	border-color: #08614d;
	outline: 2px solid transparent;
	box-shadow: 0 0 0 3px rgba(8, 97, 77, 0.12);
}

.kbiz-v3-page .login-form .field {
	margin-bottom: 11px;
}

.kbiz-v3-page .ui-version-field {
	margin-bottom: 14px;
}

.kbiz-v3-page .ui-version-label {
	display: block;
	margin-bottom: 6px;
	font-size: 13px;
	font-weight: 600;
	color: #4d5c56;
}

.kbiz-v3-page .ui-version-toggle {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* .login-form label { display:block } 보다 우선 */
.kbiz-v3-page .login-form label.ui-version-opt {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	height: 40px;
	padding: 0 8px;
	border: 1px solid #c8d5d0;
	border-radius: 6px;
	background: #fff;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	color: #4d5c56;
	line-height: 1;
	user-select: none;
	box-sizing: border-box;
}

.kbiz-v3-page .login-form label.ui-version-opt input[type="radio"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.kbiz-v3-page .login-form label.ui-version-opt:has(input:checked),
.kbiz-v3-page .login-form label.ui-version-opt.is-on {
	border-color: #08614d;
	background: #eef7f4;
	color: #08614d;
	box-shadow: 0 0 0 3px rgba(8, 97, 77, 0.12);
}

.kbiz-v3-page .btn-login {
	width: 100%;
	height: 48px;
	margin-top: 8px;
	border: none;
	border-radius: 6px;
	background: #08614d;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	transition: background 0.15s;
}

.kbiz-v3-page .btn-login:hover {
	background: #064a3a;
}

.kbiz-v3-page .login-error {
	display: none;
	margin: 0 0 14px;
	padding: 10px 12px;
	border: 1px solid #f2b8b8;
	border-radius: 6px;
	background: #fdecec;
	color: #b91c1c;
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.5;
}

.kbiz-v3-page .login-error.show {
	display: block;
}

.kbiz-v3-page .btn-user-reg {
	width: 100%;
	height: 44px;
	margin-top: 12px;
	border: 1px solid #08614d;
	border-radius: 6px;
	background: #fff;
	color: #08614d;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	transition: background 0.15s, color 0.15s;
}

.kbiz-v3-page .btn-user-reg:hover {
	background: #f0f7f5;
}

.kbiz-v3-page .login-help {
	margin: 13px 0 0;
	padding-top: 11px;
	border-top: 1px solid #eef3f1;
	color: #8a9591;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
}

.kbiz-v3-page .modal-overlay {
	display: none;
	position: fixed;
	z-index: 2000;
	inset: 0;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: rgba(0, 0, 0, 0.45);
}

.kbiz-v3-page .modal-overlay.open {
	display: flex;
}

body.kbiz-v3-page.modal-open {
	overflow: hidden;
}

.kbiz-v3-page .user-apply-modal {
	display: flex;
	flex-direction: column;
	width: 100%;
	max-height: calc(100vh - 40px);
	min-height: 0;
	overflow: hidden;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.kbiz-v3-page .user-apply-modal--form {
	max-width: 640px;
}

.kbiz-v3-page .user-apply-modal--result {
	max-width: 380px;
}

.kbiz-v3-page .user-apply-modal--result .user-apply-hd {
	padding: 12px 16px;
}

.kbiz-v3-page .user-apply-modal--result .user-apply-result {
	padding: 20px 20px 12px;
}

.kbiz-v3-page .user-apply-modal--result .user-apply-ft {
	padding: 12px 16px 16px;
}

.kbiz-v3-page .user-apply-hd {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	border-bottom: 2px solid #08614d;
	background: #f8fbfa;
	flex-shrink: 0;
}

.kbiz-v3-page .user-apply-hd h2,
.kbiz-v3-page .user-apply-hd h3 {
	margin: 0;
	color: #1a1a1a;
	font-size: 17px;
	font-weight: 800;
}

.kbiz-v3-page .modal-close {
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: #6b7a76;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
}

.kbiz-v3-page .modal-close:hover {
	background: #e8f0ee;
	color: #1a1a1a;
}

.kbiz-v3-page .user-apply-body {
	flex: 1;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 20px 20px 16px;
	-webkit-overflow-scrolling: touch;
}

.kbiz-v3-page .ua-form label {
	display: block;
	margin-bottom: 6px;
	color: #4d5c56;
	font-size: 13px;
	font-weight: 600;
}

.kbiz-v3-page .ua-form .ua-field {
	margin-bottom: 14px;
}

.kbiz-v3-page .ua-form input[type="text"],
.kbiz-v3-page .ua-form input[type="email"],
.kbiz-v3-page .ua-form input[type="tel"],
.kbiz-v3-page .ua-form input[type="password"],
.kbiz-v3-page .ua-form select {
	width: 100%;
	height: 42px;
	padding: 0 12px;
	border: 1px solid #c8d5d0;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
}

.kbiz-v3-page .ua-id-row {
	display: flex;
	gap: 8px;
	align-items: stretch;
}

.kbiz-v3-page .ua-id-row input {
	flex: 1;
	min-width: 0;
}

.kbiz-v3-page .btn-id-check {
	flex: 0 0 auto;
	height: 42px;
	padding: 0 14px;
	border: 1px solid #08614d;
	border-radius: 6px;
	background: #fff;
	color: #08614d;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.kbiz-v3-page .btn-id-check:hover {
	background: #f0f7f4;
}

.kbiz-v3-page .ua-field-msg {
	margin: 6px 0 0;
	font-size: 13px;
	color: #6b7a76;
	min-height: 16px;
}

.kbiz-v3-page .ua-field-msg.ok {
	color: #08614d;
}

.kbiz-v3-page .ua-field-msg.err {
	color: #b42318;
}

.kbiz-v3-page .notice-empty {
	margin: 24px 12px;
	color: #6b7a76;
	font-size: 13px;
	text-align: center;
}

.kbiz-v3-page .required {
	color: #b42318;
}

.kbiz-v3-page .ua-consent-wrap {
	margin-top: 8px;
	padding-top: 14px;
	border-top: 1px solid #eef3f1;
}

.kbiz-v3-page .ua-consent-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #2d3d38;
	cursor: pointer;
	font-size: 13px;
	line-height: 1.45;
}

.kbiz-v3-page .ua-consent-row > span,
.kbiz-v3-page #uaTermsHint {
	word-break: keep-all;
}

.kbiz-v3-page #uaTermsHint {
	margin: 8px 0 0;
	color: #8a9591;
	font-size: 13px;
}

.kbiz-v3-page .ua-consent-row input {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	accent-color: #08614d;
	flex-shrink: 0;
}

.kbiz-v3-page .ua-consent-row--disabled {
	cursor: not-allowed;
	opacity: 0.72;
}

.kbiz-v3-page .ua-terms-block {
	display: none;
	margin-top: 12px;
	overflow: hidden;
	border: 1px solid #dde8e4;
	border-radius: 8px;
	background: #f8fbfa;
}

.kbiz-v3-page .ua-terms-block.show {
	display: block;
}

.kbiz-v3-page .ua-terms-scroll {
	max-height: 200px;
	overflow-y: auto;
	padding: 14px 16px;
	color: #3d4d48;
	font-size: 13px;
	line-height: 1.65;
}

.kbiz-v3-page .ua-terms-scroll h3 {
	margin: 0 0 8px;
	color: #08614d;
	font-size: 13px;
}

.kbiz-v3-page .ua-terms-scroll p {
	margin: 0 0 10px;
}

.kbiz-v3-page .ua-terms-foot {
	padding: 12px 16px;
	border-top: 1px solid #dde8e4;
	background: #fff;
	text-align: center;
}

.kbiz-v3-page .btn-terms-agree {
	min-width: 120px;
	height: 40px;
	padding: 0 20px;
	border: none;
	border-radius: 6px;
	background: #08614d;
	color: #fff;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
}

.kbiz-v3-page .btn-terms-agree:disabled {
	background: #a8bdb5;
	cursor: not-allowed;
}

.kbiz-v3-page .btn-terms-agree:not(:disabled):hover {
	background: #064a3a;
}

.kbiz-v3-page .ua-agree-badge {
	display: none;
	margin-top: 8px;
	color: #08614d;
	font-size: 13px;
	font-weight: 600;
}

.kbiz-v3-page .ua-agree-badge.show {
	display: block;
}

.kbiz-v3-page .user-apply-ft {
	display: flex;
	gap: 8px;
	padding: 16px 20px 20px;
	border-top: 1px solid #eef3f1;
	flex-shrink: 0;
}

.kbiz-v3-page #userApplyFormFooter[hidden],
.kbiz-v3-page #userApplyResultFooter[hidden] {
	display: none !important;
}

.kbiz-v3-page .user-apply-ft .btn-ghost,
.kbiz-v3-page .user-apply-ft .btn-primary {
	flex: 1;
	height: 44px;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
}

.kbiz-v3-page .user-apply-ft .btn-ghost {
	border: 1px solid #c8d5d0;
	background: #fff;
	color: #4d5c56;
}

.kbiz-v3-page .user-apply-ft .btn-primary {
	border: none;
	background: #08614d;
	color: #fff;
}

.kbiz-v3-page .user-apply-ft .btn-primary:disabled {
	background: #a8bdb5;
	cursor: not-allowed;
}

.kbiz-v3-page .user-apply-ft .btn-ghost:hover {
	background: #f4f5f5;
}

.kbiz-v3-page .user-apply-ft .btn-primary:not(:disabled):hover {
	background: #064a3a;
}

.kbiz-v3-page .user-apply-result {
	padding: 32px 24px 24px;
	text-align: center;
}

.kbiz-v3-page .ua-result-txt {
	margin: 0 0 10px;
	color: #1a1a1a;
	font-size: 16px;
	font-weight: 800;
}

.kbiz-v3-page .ua-result-sub {
	margin: 0;
	color: #4d5c56;
	font-size: 14px;
	line-height: 1.6;
}

.kbiz-v3-page .user-apply-ft-confirm {
	justify-content: center;
}

@media (max-width: 900px) {
	.kbiz-v3-page .login-board {
		max-width: 440px;
		flex-direction: column;
	}

	.kbiz-v3-page .notice-panel {
		border-right: none;
		border-bottom: 1px solid #e2e8e6;
	}

	.kbiz-v3-page .notice-list-wrap {
		max-height: 280px;
	}

	.kbiz-v3-page .login-panel {
		width: 100%;
		flex: 1;
	}
}

.kbiz-v3-page .field-hint {
	margin: 6px 0 0;
	color: #7a8681;
	font-size: 13px;
	line-height: 1.45;
}

.kbiz-v3-page .login-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 14px 0 0;
	flex-wrap: wrap;
}

.kbiz-v3-page .login-links a {
	color: #08614d;
	font-size: 12px;
	text-decoration: none;
}

.kbiz-v3-page .login-links a:hover {
	color: #08614d;
	text-decoration: underline;
}

.kbiz-v3-page .login-links .sep {
	color: #cbd5d1;
}

.kbiz-v3-page .login-links .ext-hint,
.kbiz-v3-page .login-foot-links .ext-hint {
	margin-left: 2px;
	color: #9aa8a2;
	font-size: 13px;
}

.kbiz-v3-page .login-sec {
	margin: 13px 0 0;
	overflow: hidden;
	border: 1px solid #e2e8e5;
	border-radius: 8px;
	background: #f6f8f7;
}

.kbiz-v3-page .login-sec > summary {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 9px 12px;
	color: #22332d;
	cursor: pointer;
	font-size: 13px;
	font-weight: 700;
	list-style: none;
}

.kbiz-v3-page .login-sec > summary::-webkit-details-marker {
	display: none;
}

.kbiz-v3-page .login-sec > summary .chev {
	margin-left: auto;
	color: #7a8681;
	font-size: 13px;
	transition: transform .15s;
}

.kbiz-v3-page .login-sec[open] > summary {
	border-bottom: 1px solid #e8edeb;
}

.kbiz-v3-page .login-sec[open] > summary .chev {
	transform: rotate(180deg);
}

.kbiz-v3-page .login-sec-body {
	margin: 0;
	padding: 9px 14px 11px;
	list-style: none;
}

.kbiz-v3-page .login-sec-body li {
	position: relative;
	margin: 3px 0;
	padding-left: 15px;
	color: #5b6a64;
	font-size: 13px;
	line-height: 1.6;
}

.kbiz-v3-page .login-sec-body li::before {
	position: absolute;
	top: 9px;
	left: 3px;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #08614d;
	content: "";
}

.kbiz-v3-page .login-sec-body li b {
	color: #2f3d38;
}

.kbiz-v3-page .login-foot-links {
	margin-top: 8px;
	text-align: center;
}

.kbiz-v3-page .login-foot-links a {
	color: #66736f;
	font-size: 11px;
	color: #6b7a74;
	font-size: 13px;
	text-decoration: none;
}

.kbiz-v3-page .login-foot-links a:hover {
	color: #08614d;
	text-decoration: underline;
}

/* NGDMS-V3 로그인 공지 상세 팝업과 동일한 형식 */
.kbiz-v3-page .notice-detail-overlay { display:none; position:fixed; z-index:11000; inset:0; align-items:center; justify-content:center; padding:20px; background:rgba(0,0,0,.45); }
.kbiz-v3-page .notice-detail-overlay.open { display:flex; }
.kbiz-v3-page .notice-detail-modal { width:min(560px, 100%); max-height:calc(100vh - 40px); overflow:hidden; border-radius:10px; background:#fff; box-shadow:0 20px 60px rgba(0,0,0,.2); }
.kbiz-v3-page .notice-detail-modal header { display:flex; align-items:center; justify-content:space-between; padding:16px 20px; border-bottom:2px solid #08614d; background:#f8fbfa; }
.kbiz-v3-page .notice-detail-modal h3 { margin:0; font-size:17px; }
.kbiz-v3-page .notice-detail-modal header button { width:32px; height:32px; border:0; border-radius:5px; background:transparent; color:#66736f; font-size:24px; cursor:pointer; }
.kbiz-v3-page .notice-detail-meta { padding:12px 20px; border-bottom:1px solid #eef3f1; color:#7b8783; font-size:13px; }
.kbiz-v3-page .notice-detail-content { min-height:180px; max-height:50vh; overflow-y:auto; padding:22px 20px; color:#2d3d38; font-size:14px; line-height:1.75; white-space:pre-wrap; word-break:break-word; }
.kbiz-v3-page .notice-detail-modal footer { padding:14px 20px 18px; border-top:1px solid #eef3f1; text-align:center; }
.kbiz-v3-page .notice-detail-modal footer button { min-width:100px; height:40px; border:0; border-radius:6px; background:#08614d; color:#fff; font-weight:700; cursor:pointer; }
.kbiz-v3-page .notice-detail-modal.login-help-modal { width:min(440px, 100%); border-radius:12px; }
.kbiz-v3-page .login-help-modal header { gap:12px; padding:18px 22px 14px; }
.kbiz-v3-page .login-help-modal header h3 { flex:1; font-size:15px; color:#111827; }
.kbiz-v3-page .login-help-icon { display:flex; flex:0 0 38px; width:38px; height:38px; align-items:center; justify-content:center; border-radius:8px; background:#08614d; color:#fff; font-size:18px; font-weight:800; }
.kbiz-v3-page .login-help-modal .login-help-content { min-height:0; padding:22px; color:#374151; font-size:13px; line-height:1.65; white-space:normal; }
.kbiz-v3-page .login-help-modal .login-help-content p { margin:0; }
.kbiz-v3-page .login-help-modal .login-help-content p + p { margin-top:8px; }
.kbiz-v3-page .login-help-modal .login-help-content a { color:#08614d; font-weight:600; }
.kbiz-v3-page .login-help-modal footer { display:flex; justify-content:flex-end; padding:14px 22px; background:#fafafa; }
.kbiz-v3-page .login-help-modal footer button { min-width:0; height:36px; padding:0 22px; font-size:13px; }

@media (max-width: 480px) {
	.kbiz-v3-page .login-shell {
		align-items: flex-start;
		padding: 16px 12px;
	}

	.kbiz-v3-page .login-panel {
		padding: 30px 24px 26px;
	}

	.kbiz-v3-page .modal-overlay {
		padding: 10px;
	}
}

/* KWCAG 명도 대비: 로그인 안내 문구 */
.kbiz-v3-page .login-form .field-hint,
.kbiz-v3-page .login-sec .chev {
  color: #63716e;
}
