* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #1a1a2e;
	color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

.card {
	background: #16213e;
	border-radius: 12px;
	padding: 2.5rem;
	width: 100%;
	max-width: 380px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

h1 {
	text-align: center;
	margin-bottom: 0.5rem;
	font-size: 1.5rem;
	color: #e94560;
}

p.subtitle {
	text-align: center;
	margin-bottom: 2rem;
	color: #888;
	font-size: 0.875rem;
}

.error {
	background: rgba(233, 69, 96, 0.15);
	border: 1px solid #e94560;
	color: #e94560;
	padding: 0.75rem;
	border-radius: 6px;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	text-align: center;
}

.notice {
	background: rgba(46, 204, 113, 0.15);
	border: 1px solid #2ecc71;
	color: #2ecc71;
	padding: 0.75rem;
	border-radius: 6px;
	margin-bottom: 1rem;
	font-size: 0.875rem;
	text-align: center;
}

label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.8125rem;
	color: #aaa;
}

input[type="email"],
input[type="text"],
input[type="password"] {
	width: 100%;
	padding: 0.75rem;
	border: 1px solid #0f3460;
	border-radius: 6px;
	background: #1a1a2e;
	color: #e0e0e0;
	font-size: 0.9375rem;
	margin-bottom: 1.25rem;
}

input:focus {
	outline: none;
	border-color: #e94560;
}

button {
	width: 100%;
	padding: 0.8125rem;
	border: none;
	border-radius: 6px;
	background: #e94560;
	color: #fff;
	font-size: 0.9375rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

button:hover {
	background: #c73e54;
}

.oauth-button {
	display: block;
	width: 100%;
	padding: 0.8125rem;
	border-radius: 6px;
	text-align: center;
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 600;
}

.oauth-button--google {
	background: #fff;
	color: #1f1f1f;
	border: 1px solid #747775;
}

.oauth-button--google:hover {
	background: #f8fafd;
}

.separator {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1.25rem 0;
	color: #888;
	font-size: 0.75rem;
}

.separator::before,
.separator::after {
	content: "";
	flex: 1;
	height: 1px;
	background: #0f3460;
}

.links {
	text-align: center;
	margin-top: 1.5rem;
	font-size: 0.8125rem;
}

.links a {
	color: #888;
	text-decoration: none;
}

.links a:hover {
	color: #e94560;
}

.links span {
	color: #444;
	margin: 0 0.5rem;
}

/* Info/message pages (no form) */
.card--message {
	text-align: center;
}

.card--message h1 {
	margin-bottom: 1rem;
}

.card--message p {
	color: #888;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.card--message .links a {
	color: #e94560;
}

.card--message .links a:hover {
	text-decoration: underline;
}