.auth-page {
	min-height: 100vh;
	min-height: 100dvh;
	background: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 96px 20px 40px;
	position: relative;
}

.auth-topbtn {
	position: fixed;
	top: calc(20px + env(safe-area-inset-top));
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #f2f2f2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a1a1a;
	font-size: 16px;
	z-index: 20;
	transition: background 0.2s ease;
}
.auth-topbtn:hover {
	background: #e6e6e6;
	color: #1a1a1a;
}
.auth-topbtn svg {
	display: block;
}
.auth-close {
	right: 20px;
}
.auth-back {
	left: 20px;
}

.auth-card {
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
}

.auth-logo-wrap {
	text-align: center;
	margin-bottom: 8px;
}
.auth-logo {
	max-width: 170px;
	width: 100%;
	height: auto;
}

.auth-tagline {
	text-align: center;
	color: var(--primary);
	font-weight: 600;
	font-size: 16px;
	margin: 0 0 32px;
}

.auth-heading {
	text-align: center;
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 20px;
	color: #1a1a1a;
}

.auth-subtext {
	text-align: center;
	color: #868686;
	font-size: 14px;
	margin: -8px 0 24px;
}

.auth-field {
	position: relative;
	display: flex;
	align-items: center;
	height: 54px;
	border: 1px solid #e0e0e0;
	border-radius: 999px;
	padding: 0 18px;
	margin-bottom: 14px;
	background: #fff;
	transition: border-color 0.2s ease;
	box-sizing: border-box;
	overflow: hidden;
}
.auth-field:focus-within {
	border-color: var(--primary);
}
.auth-field-icon {
	display: block;
	color: #8a8a8a;
	margin-right: 10px;
	flex-shrink: 0;
}

.auth-input {
	flex: 1;
	min-width: 0;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	padding: 0;
	font-size: 15px;
	color: #1a1a1a;
	width: 100%;
	font-family: inherit;
}
.auth-input::placeholder {
	color: #9a9a9a;
}
.auth-input:-webkit-autofill,
.auth-input:-webkit-autofill:hover,
.auth-input:-webkit-autofill:focus {
	-webkit-box-shadow: 0 0 0 1000px #fff inset;
	box-shadow: 0 0 0 1000px #fff inset;
	-webkit-text-fill-color: #1a1a1a;
	transition: background-color 9999s ease-in-out 0s;
}

.auth-eye-btn {
	border: 0;
	background: transparent;
	color: #9a9a9a;
	padding: 4px;
	margin-left: 6px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.auth-eye-btn svg {
	display: block;
}
.auth-eye-btn.is-active {
	color: var(--primary);
}

.auth-error {
	display: block;
	color: #e02020;
	font-size: 12px;
	margin: -8px 0 12px 16px;
}

.auth-btn-primary {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: var(--primary);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	padding: 15px;
	cursor: pointer;
	margin-bottom: 14px;
	transition: opacity 0.2s ease;
}
.auth-btn-primary:hover {
	opacity: 0.9;
	color: #fff;
}
.auth-btn-primary:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.auth-btn-ghost {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	border: 0;
	border-radius: 999px;
	background: #f2f2f2;
	color: #1a1a1a;
	font-size: 15px;
	font-weight: 500;
	padding: 14px;
	cursor: pointer;
	margin-bottom: 12px;
	text-decoration: none;
	transition: background 0.2s ease;
}
.auth-btn-ghost:hover {
	background: #e6e6e6;
	color: #1a1a1a;
}

.auth-check {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 13px;
	color: #545454;
	line-height: 1.5;
	cursor: pointer;
}
.auth-check input {
	width: 16px;
	height: 16px;
	margin: 2px 0 0;
	flex-shrink: 0;
	accent-color: var(--primary);
}
.auth-check a {
	color: var(--primary);
	text-decoration: underline;
}

.auth-info-box {
	background: #f0f9ff;
	border: 2px solid #bae6fd;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 20px;
	display: flex;
	align-items: flex-start;
	gap: 16px;
}
.auth-info-icon {
	width: 24px;
	height: 24px;
	background: #0ea5e9;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 2px;
}
.auth-info-text {
	font-size: 14px;
	color: #0c4a6e;
	line-height: 1.6;
	margin: 0;
}

@media (max-width: 575px) {
	.auth-page {
		padding: 80px 16px 30px;
	}
}
