/* LMS 로그인 화면 공통 — Noto Sans KR (NotoSansKR.css 로드 필요) */
html,
body,
#layout_main,
#login_con.lms-login-card,
#login_con.lms-login-card input,
#login_con.lms-login-card button,
.lms-login-title,
.lms-login-field,
.lms-login-session {
	font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

#layout_main .s_row.s_h-0100 {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

#layout_main .s_col.s_text-cm {
	width: 100%;
	max-width: 880px;
	margin: 0 auto;
}

.lms-login-top-logo {
	display: none;
	text-align: center;
	margin-bottom: 20px;
}

.lms-login-top-logo img {
	max-width: 200px;
	height: auto;
}

#login_con.lms-login-card {
	display: flex;
	flex-wrap: nowrap;
	width: min(760px, 100%);
	margin: 0 auto;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	color: #334155;
	font-size: 14px;
	box-sizing: border-box;
}

.lms-login-form-panel {
	flex: 1 1 360px;
	min-width: 0;
	padding: 32px 28px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.lms-login-title {
	margin: 0 0 24px;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
	color: #0f172a;
	letter-spacing: -0.02em;
}

.lms-login-title em {
	font-style: normal;
	font-weight: inherit;
	color: inherit;
}

.lms-login-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
	width: 100%;
}

.lms-login-field input {
	width: 100%;
	height: 44px;
	padding: 0 14px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	background: #f8fafc;
	color: #0f172a;
	font-size: 15px;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.lms-login-field input:focus {
	outline: none;
	border-color: #9aa600;
	background: #ffffff;
	box-shadow: 0 0 0 3px rgba(154, 166, 0, 0.22);
}

.lms-login-field input::placeholder {
	color: #94a3b8;
}

.lms-login-actions {
	margin-top: 4px;
}

.lms-login-form-panel .btn_login,
.lms-login-form-panel .btn_logout {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 20px;
	border: 0;
	border-radius: 8px;
	background: #9aa600;
	color: #ffffff;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.lms-login-form-panel .btn_login:hover,
.lms-login-form-panel .btn_logout:hover {
	background: #8a9200;
	box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.lms-login-form-panel .btn_login:active,
.lms-login-form-panel .btn_logout:active {
	background: #7d8600;
	box-shadow: none;
	transform: scale(0.99);
}

.lms-login-form-panel .btn_login:focus-visible,
.lms-login-form-panel .btn_logout:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(154, 166, 0, 0.45);
}

.lms-login-session {
	padding: 12px 14px;
	background: #f1f5f9;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 500;
	color: #0f172a;
	text-align: center;
	word-break: break-all;
}

.lms-login-brand {
	flex: 0 0 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 28px 24px;
	background: #f8fafc;
	border-left: 1px solid #e2e8f0;
	box-sizing: border-box;
}

.lms-login-brand img {
	max-width: 100%;
	max-height: 180px;
	width: auto;
	height: auto;
	object-fit: contain;
}

@media screen and (max-width: 768px) {
	.lms-login-top-logo {
		display: block;
	}

	.lms-login-brand {
		display: none !important;
	}

	.lms-login-form-panel {
		flex: 1 1 100%;
		padding: 28px 20px;
	}

	#login_con.lms-login-card {
		width: min(400px, 100%);
	}
}
