:root {
	--login_point: #ff6b57;
	--login_point_dark: #ef5542;
	--login_text: #20232a;
	--login_sub: #777d87;
	--login_line: #e7e9ed;
	--login_bg: #f7f8fa;
}

* {
	box-sizing: border-box;
}

html,
body {
	min-height: 100%;
	margin: 0;
}

body {
	background: var(--login_bg);
	color: var(--login_text);
	font-family: Pretendard, "Noto Sans KR", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

button,
input {
	font: inherit;
}

a {
	color: inherit;
	text-decoration: none;
}

.login_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding:20px 20px;
}

.login_panel {
	width: 100%;
	max-width: 480px;
	overflow: hidden;
	border: 1px solid rgba(28, 33, 42, 0.06);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 24px 70px rgba(35, 41, 52, 0.1);
}

.login_header {
	padding: 45px 40px 32px;
	text-align: center;
}

.login_logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.login_logo_img {
	display: block;
	width: auto;
	max-width: 180px;
	height: 58px;
	object-fit: contain;
}

.login_logo_text {
	display: none;
	align-items: baseline;
	gap: 7px;
color: var(--login_point);
}

.login_logo_text strong {
	font-size: 32px;
	font-weight: 900;
	letter-spacing: -2px;
}

.login_logo_text small {
	font-size: 15px;
	font-weight: 800;
	letter-spacing: -0.3px;
}

.login_slogan {
	margin: 13px 0 0;
	color: var(--login_sub);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: -0.4px;
}

.login_content {
	padding: 0 40px 40px;
}

.login_title {
	margin-bottom: 27px;
}

.login_title h1 {
	margin: 0 0 8px;
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -1.2px;
}

.login_title p {
	margin: 0;
	color: var(--login_sub);
	font-size: 14px;
	line-height: 1.6;
	letter-spacing: -0.3px;
}

.login_error {
	margin-bottom: 18px;
	padding: 13px 15px;
	border: 1px solid #ffd8d2;
	border-radius: 12px;
	background: #fff4f2;
	color: #c84131;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.5;
}

.login_field + .login_field {
	margin-top: 18px;
}

.login_field label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 800;
}

.login_field input {
	width: 100%;
	height: 54px;
	padding: 0 16px;
	border: 1px solid var(--login_line);
	border-radius: 14px;
	outline: 0;
	background: #ffffff;
	color: var(--login_text);
	font-size: 15px;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.login_field input::placeholder {
	color: #b2b6bd;
}

.login_field input:focus {
	border-color: var(--login_point);
	box-shadow: 0 0 0 4px rgba(255, 107, 87, 0.12);
}

.login_field input.login_invalid {
	border-color: #df4f3c;
}

.login_password {
	position: relative;
}

.login_password input {
	padding-right: 65px;
}

.login_password_toggle {
	position: absolute;
	top: 50%;
	right: 8px;
	min-width: 49px;
	height: 38px;
	padding: 0;
	transform: translateY(-50%);
	border: 0;
	background: transparent;
	color: var(--login_sub);
	font-size: 13px;
	font-weight: 800;
	cursor: pointer;
}

.login_options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin: 18px 0 24px;
}

.login_check {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #5e646e;
	font-size: 13px;
	cursor: pointer;
}

.login_check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--login_point);
}

.login_find {
	color: #5e646e;
	font-size: 13px;
	font-weight: 700;
}

.login_submit {
	width: 100%;
	height: 56px;
	border: 0;
	border-radius: 15px;
	background: var(--login_point);
	color: #ffffff;
	font-size: 16px;
	font-weight: 900;
	letter-spacing: -0.3px;
	cursor: pointer;
	box-shadow: 0 12px 25px rgba(255, 107, 87, 0.24);
	transition: background 0.2s, transform 0.2s;
}

.login_submit:hover {
	background: var(--login_point_dark);
}

.login_submit:active {
	transform: translateY(1px);
}

.login_submit:disabled {
	opacity: 0.65;
	cursor: default;
}

.login_join {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin-top: 25px;
	font-size: 13px;
}

.login_join p {
	margin: 0;
	color: var(--login_sub);
}

.login_join a {
	color: var(--login_point_dark);
	font-weight: 900;
}

.login_footer {
	padding: 21px 20px calc(21px + env(safe-area-inset-bottom));
	border-top: 1px solid #f0f1f3;
	background: #fafbfc;
	text-align: center;
}

.login_footer p {
	margin: 0;
	color: #a0a5ad;
	font-size: 11px;
	line-height: 1.5;
}

@media(max-width: 560px) {
	body {
		background: #ffffff;
	}

	.login_wrap {
		align-items: flex-start;
		padding: 0;
	}

	.login_panel {
		max-width: none;
		min-height: 100vh;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.login_header {
		padding: calc(36px + env(safe-area-inset-top)) 24px 29px;
	}

	.login_logo_img {
		max-width: 160px;
		height: 52px;
	}

	.login_content {
		padding: 0 24px 38px;
	}

	.login_title h1 {
		font-size: 26px;
	}
}

@media(max-width: 360px) {
	.login_options {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}
}
