body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: #f5f5f5;
	color: #333;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	padding: 1em 2em;
	font-size: 1.1em;
	font-weight: bold;
	color: #555;
}

div.login-box {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

div.login-box > div {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	padding: 2.5em 2em;
	width: 100%;
	max-width: 360px;
	margin: 0 0 8em 0;
}

div.login-box h1 {
	margin: 0 0 1.2em;
	font-size: 1.5em;
	font-weight: 600;
}

div#login-form {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
}

div.login-box input[type="email"] {
	padding: 0.7em 0.8em;
	font-size: 1em;
	border: 1px solid #ddd;
	border-radius: 6px;
	outline: none;
	transition: border-color 0.15s;
}

div.login-box input[type="email"]:focus {
	border-color: #888;
}

div.login-box input[type="email"]::placeholder {
	color: #bbb;
}

button#login-btn {
	padding: 0.7em;
	font-size: 1em;
	font-weight: 600;
	background: #333;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s;
}

button#login-btn:hover:not(:disabled) {
	background: #555;
}

button#login-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

p.error {
	color: #d44;
	font-size: 0.9em;
	margin: 0 0 0.8em;
}

p.login-message {
	color: #4d4;
	font-size: 0.95em;
	line-height: 1.5;
	padding: 0.8em;
	background: #f5fef5;
	border-radius: 6px;
	margin: 0;
}

p.login-message.error {
	color: #d44;
	background: #fef5f5;
	border-left-color: #d44;
}
