:root {
	color-scheme: light;
	--sand: #f3ebde;
	--sky: #dcecff;
	--ink: #1a2230;
	--muted: #5a6678;
	--card: rgba(255, 255, 255, 0.82);
	--line: rgba(26, 34, 48, 0.1);
	--accent: #0d7a67;
	--accent-strong: #064f43;
	--danger-bg: #ffe6e1;
	--danger-text: #8a2f23;
	--shadow: 0 30px 80px rgba(32, 48, 66, 0.18);
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	min-height: 100vh;
	font-family: 'Space Grotesk', 'Segoe UI', sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at top left, rgba(255, 255, 255, 0.75), transparent 24%),
		radial-gradient(circle at bottom right, rgba(13, 122, 103, 0.14), transparent 22%),
		linear-gradient(135deg, var(--sand), var(--sky));
}

.shell {
	min-height: 100vh;
	display: grid;
	place-items: center;
	padding: 24px;
}

.panel {
	width: min(100%, 460px);
	background: var(--card);
	backdrop-filter: blur(16px);
	border: 1px solid var(--line);
	border-radius: 28px;
	box-shadow: var(--shadow);
	padding: 32px;
	position: relative;
	overflow: hidden;
}

.panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, rgba(13, 122, 103, 0.12), rgba(255, 255, 255, 0));
	pointer-events: none;
}

.panel > * {
	position: relative;
	z-index: 1;
}

.eyebrow {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(13, 122, 103, 0.1);
	color: var(--accent-strong);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

h1 {
	margin: 18px 0 10px;
	font-size: clamp(2rem, 5vw, 3.2rem);
	line-height: 0.98;
}

p {
	margin: 0;
	color: var(--muted);
	line-height: 1.65;
}

.login-form {
	margin-top: 26px;
	display: grid;
	gap: 16px;
}

label {
	display: grid;
	gap: 8px;
	font-weight: 600;
	font-size: 0.95rem;
}

input {
	width: 100%;
	padding: 14px 16px;
	border-radius: 14px;
	border: 1px solid rgba(26, 34, 48, 0.12);
	background: rgba(255, 255, 255, 0.92);
	font: inherit;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

input:focus {
	outline: none;
	border-color: rgba(13, 122, 103, 0.55);
	box-shadow: 0 0 0 4px rgba(13, 122, 103, 0.12);
	transform: translateY(-1px);
}

button,
.button-link {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	margin-top: 8px;
	padding: 15px 18px;
	border: 0;
	border-radius: 16px;
	background: linear-gradient(135deg, var(--accent), var(--accent-strong));
	color: #fff;
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	box-shadow: 0 16px 32px rgba(13, 122, 103, 0.24);
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover,
.button-link:hover {
	transform: translateY(-2px);
	box-shadow: 0 20px 36px rgba(13, 122, 103, 0.28);
}

.feedback {
	padding: 14px 16px;
	border-radius: 14px;
	font-size: 0.95rem;
	font-weight: 600;
}

.feedback.error {
	background: var(--danger-bg);
	color: var(--danger-text);
}

.hidden {
	display: none;
}

.hint {
	font-size: 0.85rem;
	text-align: center;
}

.panel-dashboard {
	text-align: left;
	gap: 18px;
	display: grid;
}

@media (max-width: 520px) {
	.panel {
		padding: 24px;
	}
}