@charset "utf-8";

/* 로그인 화면 */
.tg-body--login {
	background: var(--tg-blue-dark);
}

.tg-login {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 100%;
	background: var(--tg-blue-dark);
}

.tg-login__box {
	position: relative;
	margin: 0 auto;
	width: 602px;
	height: 220px;
}

.tg-login__box .tg-login__title {
	float: left;
	width: 254px;
	height: 220px;
	background: url('/tigerCom/images/bg_login.webp') no-repeat 0 0;
	font-size: 0;
	line-height: 0;
	text-indent: -100000px;
	overflow: hidden;
}

.tg-login__box .tg-login__form {
	float: left;
	margin-top: 10px;
	padding: 29px 0 60px 0;
	width: 300px;
	height: 176px;
	background: url('/tigerCom/images/bg_idpw_box_1.webp') no-repeat 0 0;
	text-align: center;
}

.tg-login__input {
	display: block;
	margin: 0 auto 10px;
	padding: 0 15px;
	width: 210px;
	height: 40px;
	line-height: 40px;
	border: none;
	font-size: 18px;
	color: #328be6;
	background: url('/tigerCom/images/bg_login_input_off.webp') no-repeat 0 0;
}

.tg-login__input::placeholder {
	color: #328be6;
}

.tg-login__input:focus {
	margin-top: -3px;
	margin-bottom: 9px;
	width: 214px;
	height: 44px;
	line-height: 44px;
	color: var(--tg-white);
	background: url('/tigerCom/images/bg_login_input_on.webp') no-repeat 0 0;
}

.tg-login__input:focus::placeholder {
	color: transparent;
}

.tg-login__box .tg-login__form .tg-login__notice {
	margin: 0 auto;
	padding: 10px 0 0 55px;
	width: 187px;
	text-align: left;
	color: var(--tg-white);
	line-height: 16px;
	background: url('/tigerCom/images/bg_import_box.webp') no-repeat 0 12px;
}

/* 보이지 않는 로그인 버튼: Enter 로 제출하고, 키보드로 이동하면 나타난다. */
.tg-login__submit {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

.tg-login__submit:focus-visible {
	position: static;
	display: block;
	width: auto;
	height: auto;
	margin: 6px auto 0;
	padding: 4px 18px;
	clip: auto;
	border-radius: 14px;
	background: var(--tg-white);
	color: var(--tg-blue);
}

/* 오류 안내 레이어 */
.tg-login-layer {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.55);
}

.tg-login-layer__dialog {
	position: relative;
	width: 300px;
	max-width: 86%;
	padding: 34px 24px 22px;
	box-sizing: border-box;
	background: var(--tg-white);
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
	text-align: center;
}

.tg-login-layer__close {
	position: absolute;
	top: 8px;
	right: 12px;
	width: 28px;
	height: 28px;
	color: #8a96a3;
	font-size: 24px;
	line-height: 28px;
}

.tg-login-layer__close:hover {
	color: var(--tg-blue);
	text-decoration: none;
}

.tg-login-layer__msg {
	margin: 0 0 20px;
	color: var(--tg-ink);
	font-size: 14px;
	line-height: 22px;
	word-break: keep-all;
}

.tg-login-layer__ok {
	min-width: 88px;
	height: 36px;
	padding: 0 20px;
	border-radius: 18px;
	background: var(--tg-blue);
	color: var(--tg-white);
	font-size: 14px;
}

.tg-login-layer__ok:hover {
	background: var(--tg-blue-dark);
	color: var(--tg-white);
	text-decoration: none;
}

@media screen and (max-width: 660px) {
	.tg-login {
		align-items: flex-start;
	}

	.tg-login__box {
		margin: 60px auto 0;
		width: 90%;
	}

	.tg-login__box .tg-login__title {
		background-position: 20px 0;
	}
}

@media screen and (max-width: 500px) {
	.tg-login__box {
		width: 300px;
	}
}

@media screen and (max-width: 400px) {
	.tg-login__box .tg-login__title {
		float: none;
	}

	.tg-login__box .tg-login__form {
		float: none;
	}
}
