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

body {
	margin: 0;
	min-height: 100vh;
	font-family:
		"Aeonik",
		ui-sans-serif,
		system-ui,
		-apple-system,
		BlinkMacSystemFont,
		"Segoe UI",
		Roboto,
		sans-serif;
}

:root {
	--brand-2: #28455a;
	--shadow-sm: 0 4px 10px rgba(20, 33, 44, 0.16);
}

/* Match deck gate styling (login page only — deck uses deck/styles.css) */
.auth-gate {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.5rem;
	background: linear-gradient(
		155deg,
		rgba(40, 69, 90, 0.96) 0%,
		rgba(30, 50, 68, 0.94) 100%
	);
}

.auth-gate__panel {
	width: 100%;
	max-width: 22rem;
	padding: 1.75rem 1.5rem 2rem;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: var(--shadow-sm);
}

.auth-gate__title {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--brand-2);
	letter-spacing: -0.02em;
}

.auth-gate__instruction {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	line-height: 1.45;
	color: #0dafd3;
}

.auth-gate__error {
	min-height: 1.25rem;
	margin: 0 0 0.75rem;
	padding: 0.4rem 0.5rem;
	border: 2px solid #d64958;
	border-radius: 4px;
	color: #d64958;
	font-size: 0.875rem;
}

.auth-gate__error:empty {
	display: none;
}

.auth-gate__form {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.auth-gate__label {
	display: block;
}

.auth-gate__label span {
	display: block;
	margin-bottom: 0.35rem;
	font-size: 0.875rem;
	font-weight: 400;
	color: #1e85b4;
	line-height: 1.2;
}

.auth-gate__label input {
	width: 100%;
	margin-bottom: 0.65rem;
	padding: 0.45rem 0.65rem;
	border: none;
	border-radius: 4px;
	font: inherit;
	font-size: 0.9rem;
	line-height: 1.4;
	color: var(--brand-2);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}

.auth-gate__submit {
	margin-top: 0.75rem;
	width: 100%;
	padding: 0.55rem 1rem;
	border: none;
	border-radius: 4px;
	background-color: #f05b6b;
	color: #e7f2df;
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
	line-height: 1.35;
}

.auth-gate__submit:hover {
	filter: brightness(1.05);
}

.auth-gate__submit:disabled {
	background-color: #c5c5c5;
	color: #6a6a6a;
	cursor: not-allowed;
	filter: none;
}
