@import url(base.css);
.auth-layout {
	display: grid;
	align-items: center;
	min-height: 100vh;
	padding: 0 20px;
	overflow-y: auto;
}

.auth-inner {
	background-color: var(--white);
	padding: 35px;
	border-radius: 35px;
	margin: 20px auto;
	max-width: 400px;
	width: 100%;
}

.auth-layout .logo {
	display: table;
	margin: 0 auto 10px;
}

.auth-layout h1 {
	font-size: 20px;
	font-weight: 500;
	text-align: center;
	margin-bottom: 20px;
}

.auth-layout input {
	display: block;
	width: 100%;
	height: 60px;
	border: 1px solid var(--gray);
	background: var(--white);
	border-radius: 20px;
	font-size: 20px;
	padding: 0 25px;
	margin-bottom: 20px;
	transition: border-color 0.2s ease;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.auth-layout input:focus {
	border-color: var(--black);
}

.auth-layout button {
	display: block;
	width: 100%;
	height: 60px;
	border-radius: 20px;
	border: 0;
	background: var(--black);
	color: #fff;
	font-size: 20px;
	font-weight: 400;
	cursor: pointer;
	transition: all 0.2s ease;
	-webkit-appearance: none;
	appearance: none;
}

.auth-layout button:hover {
	background-color: var(--blue);
}

.auth-layout p.notice {
	text-align: center;
	line-height: 1.4;
	margin: -16px 0 30px;
	color: rgba(var(--base-black), 0.65);
}

.auth-layout p.notice-only {
	margin-bottom: 0;
}

.auth-layout p.notice-warning {
	color: var(--red);
}

.auth-layout p.notice-success {
	color: var(--blue);
}

.auth-error {
	text-align: center;
	margin: -10px 0 20px;
	color: var(--red);
	line-height: 1.3;
}

.auth-layout .page-link {
	display: table;
	margin: 12px auto 0;
	color: rgba(var(--base-black), 0.75);
	border-bottom: 1px solid;
	transition: color 0.2s ease;
}

.auth-layout .page-link:hover {
	color: var(--blue);
}

@media (max-width: 767px) {
	html,
	body {
		overscroll-behavior: none;
	}

	.auth-layout {
		align-items: start;
		min-height: auto;
	}

	.auth-inner {
		background: var(--light);
		padding: 20px 0;
		margin: 0 auto;
	}

	.auth-inner form {
		display: flex;
		flex-direction: column;
		min-height: calc(100dvh - 140px);
	}

	.auth-layout input {
		height: 50px;
		font-size: 16px;
		border-radius: 14px;
		padding: 0 20px;
	}

	.auth-layout button {
		height: 50px;
		font-size: 16px;
		border-radius: 14px;
		margin-top: auto;
	}

	.auth-error {
		font-size: 14px;
	}
}

@media (hover: none) and (pointer: coarse) {
	.auth-layout button:hover {
		background-color: var(--black);
	}

	.auth-layout .page-link:hover {
		color: rgba(var(--base-black), 0.75);
	}
}
