.auth-page {
	display: flex;
	justify-content: center;
	padding: 3rem 1.5rem 4rem;
}

.auth-card {
	width: 100%;
	max-width: 420px;
	padding: 2.5rem 2rem;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.auth-header {
	margin-bottom: 1.75rem;
	text-align: center;
}

.auth-title {
	margin: 0 0 0.4rem;
	font-size: 1.5rem;
	font-weight: 700;
}

.auth-subtitle {
	margin: 0;
	font-size: 0.875rem;
	color: #777;
}

.auth-message {
	margin: 0 0 1.25rem;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	font-size: 0.85rem;
	line-height: 1.6;
}

.auth-message p {
	margin: 0;
}

.auth-message p + p {
	margin-top: 0.35rem;
}

.auth-message-error {
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
}

.auth-message-success {
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	color: #15803d;
}

.auth-form {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}

.auth-field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.auth-field label {
	font-size: 0.85rem;
	font-weight: 600;
	color: #333;
}

.auth-field input[type="text"],
.auth-field input[type="email"],
.auth-field input[type="password"] {
	width: 100%;
	padding: 0.7rem 0.9rem;
	border: 1px solid rgba(0, 0, 0, 0.18);
	border-radius: 8px;
	background: #fafafa;
	font-family: inherit;
	font-size: 0.9rem;
	color: #000;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.auth-field input:focus {
	outline: none;
	border-color: #000;
	background: #fff;
}

.auth-hint {
	font-size: 0.75rem;
	color: #999;
}

.auth-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.82rem;
}

.auth-checkbox {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	color: #555;
	cursor: pointer;
}

.auth-inline-link {
	color: #555;
	text-decoration: none;
}

.auth-inline-link:hover {
	color: #000;
	text-decoration: underline;
}

.auth-submit {
	width: 100%;
	padding: 0.8rem 1rem;
	margin-top: 0.25rem;
	border: 0;
	border-radius: 999px;
	background: #000;
	color: #fff;
	font-family: inherit;
	font-size: 0.95rem;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.auth-submit:hover {
	background: #333;
}

.auth-alt {
	margin: 1.5rem 0 0;
	padding-top: 1.25rem;
	border-top: 1px solid #eee;
	text-align: center;
	font-size: 0.85rem;
	color: #777;
}

.auth-alt a {
	margin-left: 0.35rem;
	color: #000;
	font-weight: 600;
	text-decoration: none;
}

.auth-alt a:hover {
	text-decoration: underline;
}
