/* Reuse the same CSS variables and base styles as the installer */
:root {
	--ink: #1a1a2e;
	--surf: #f8f7f4;
	--card: #ffffff;
	--accent: #c84b31;
	--muted: #6b7280;
	--border: #e5e0d8;
	--font-d: "DM Serif Display", Georgia, serif;
	--font-b: "DM Sans", system-ui, sans-serif;
}

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

body {
	font-family: var(--font-b);
	background: var(--surf);
	color: var(--ink);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.login-wrap {
	width: 100%;
	max-width: 400px;
}

.brand {
	font-family: var(--font-d);
	font-size: 1.8rem;
	text-align: center;
	margin-bottom: 8px;
}

.company {
	text-align: center;
	color: var(--muted);
	font-size: 0.84rem;
	margin-bottom: 32px;
}

.card {
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: 14px;
	padding: 36px 32px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.fg {
	display: flex;
	flex-direction: column;
	gap: 5px;
	margin-bottom: 16px;
}

.fl {
	font-size: 0.78rem;
	font-weight: 600;
	color: #374151;
}

.fc {
	width: 100%;
	padding: 9px 12px;
	font-size: 0.875rem;
	border: 1px solid var(--border);
	border-radius: 8px;
	background: #fff;
	font-family: var(--font-b);
	transition: border-color 0.15s;
}

.fc:focus {
	outline: none;
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(200, 75, 49, 0.1);
}

.btn {
	width: 100%;
	padding: 10px;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	border: none;
	cursor: pointer;
	font-family: var(--font-b);
	background: var(--accent);
	color: #fff;
	margin-top: 4px;
	transition: opacity 0.15s;
}

.btn:hover {
	opacity: 0.88;
}

.alert {
	background: #fee2e2;
	border: 1px solid #fca5a5;
	color: #991b1b;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 0.84rem;
	margin-bottom: 16px;
}
