/* Общие стили форм входа и регистрации */
.login input { box-sizing: border-box; }
.auth-page input, .auth-page button { font-family: inherit; }
.auth-page .pokebot-lang-switch, .login .pokebot-lang-switch { color: #cfe2ff; }
.auth-page .pokebot-lang-switch a, .login .pokebot-lang-switch a { color: #bde3ff; }
.auth-page .pokebot-lang-switch [aria-current], .login .pokebot-lang-switch [aria-current] { color: #fff; font-weight: 700; }
.auth-page {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
	padding: 0 4px;
}
.auth-page h1 {
	color: #fff;
	text-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
	letter-spacing: 1px;
	text-align: center;
	font-size: clamp(1.25rem, 4.5vw, 1.75rem);
	margin: 0 0 1rem;
}
.auth-lead {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.9rem;
	line-height: 1.45;
	text-align: center;
	margin: 0 0 1.25rem;
}
.auth-field {
	margin-bottom: 12px;
}
.auth-field label {
	display: block;
	color: rgba(255, 255, 255, 0.88);
	font-size: 0.85rem;
	margin-bottom: 4px;
}
.auth-hint {
	color: rgba(255, 255, 255, 0.55);
	font-size: 0.75rem;
	margin-top: 4px;
	line-height: 1.35;
}
.auth-policy {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.8rem;
	line-height: 1.4;
	margin: 0 0 12px;
	text-align: center;
}
.auth-input {
	width: 100%;
	min-height: 48px;
	margin: 0;
	background: rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(0, 0, 0, 0.3);
	outline: none;
	padding: 10px 12px;
	font-size: 18px;
	color: #fff;
	border-radius: 4px;
	box-shadow: inset 0 -5px 45px rgba(100, 100, 100, 0.2), 0 1px 1px rgba(255, 255, 255, 0.2);
}
.auth-input:focus {
	box-shadow: inset 0 -5px 45px rgba(100, 100, 100, 0.4), 0 1px 1px rgba(255, 255, 255, 0.2);
}
.auth-input-wrap {
	display: flex;
	gap: 6px;
	align-items: stretch;
}
.auth-input-wrap .auth-input {
	flex: 1;
	min-width: 0;
}
.auth-toggle-pw {
	flex-shrink: 0;
	min-height: 48px;
	padding: 0 12px;
	font-size: 0.8rem;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	background: rgba(0, 0, 0, 0.35);
	color: #cfe2ff;
	cursor: pointer;
}
.auth-error {
	color: #ff8a8a;
	background: rgba(0, 0, 0, 0.25);
	border: 1px solid rgba(255, 100, 100, 0.35);
	border-radius: 4px;
	padding: 10px 12px;
	margin-bottom: 12px;
	font-size: 0.95rem;
	line-height: 1.4;
}
.auth-error[role="alert"] {
}
.auth-footer-link {
	text-align: center;
	margin-top: 1.25rem;
}
.auth-footer-link a {
	color: #9fd4ff;
	font-size: 0.95rem;
}
.auth-footer-link a:hover {
	color: #cfe2ff;
}
.auth-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}
@media (max-width: 374px) {
	.auth-input {
		font-size: 16px;
	}
}
