:root {
	--bg-top: #ecf6ff;
	--bg-bottom: #f7efe5;
	--card: rgba(255, 255, 255, 0.84);
	--text: #1f2a37;
	--muted: #607182;
	--primary: #0e7f86;
	--primary-hover: #0b676d;
	--ring: rgba(14, 127, 134, 0.25);
	--line: rgba(31, 42, 55, 0.12);
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	margin: 0;
	font-family: "Manrope", sans-serif;
	color: var(--text);
	background: radial-gradient(circle at 12% 16%, #fff3e2 0%, transparent 30%),
				radial-gradient(circle at 84% 14%, #e6f7ff 0%, transparent 28%),
				linear-gradient(160deg, var(--bg-top), var(--bg-bottom));
	display: grid;
	place-items: center;
	overflow: hidden;
}

.bg-shape {
	position: fixed;
	border-radius: 999px;
	filter: blur(2px);
	z-index: 0;
	pointer-events: none;
	opacity: 0.6;
	animation: drift 10s ease-in-out infinite;
}

.shape-1 {
	width: 280px;
	height: 280px;
	top: -80px;
	right: -50px;
	background: radial-gradient(circle, #88d7dc 0%, rgba(136, 215, 220, 0) 72%);
}

.shape-2 {
	width: 220px;
	height: 220px;
	left: -70px;
	bottom: -40px;
	background: radial-gradient(circle, #ffd8af 0%, rgba(255, 216, 175, 0) 72%);
	animation-delay: 1.2s;
}

.login-shell {
	position: relative;
	z-index: 1;
	width: min(92vw, 450px);
}

.login-container {
	background: var(--card);
	backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 22px;
	box-shadow: 0 18px 45px rgba(17, 38, 66, 0.16);
	padding: 30px 26px 24px;
	animation: riseIn 0.65s ease-out;
}

.brand {
	text-align: center;
	margin-bottom: 18px;
}

.login-container img {
	max-width: 250px;
	height: auto;
	margin-bottom: 12px;
	border-radius: 12px;
}

.brand h1 {
	margin: 0;
	font-family: "Space Grotesk", sans-serif;
	font-size: 1.34rem;
	letter-spacing: 0.2px;
}

.brand p {
	margin: 6px 0 0;
	color: var(--muted);
	font-size: 0.93rem;
}

.form-label {
	font-weight: 700;
	font-size: 0.92rem;
	margin-bottom: 8px;
}

.form-control {
	border: 1px solid var(--line);
	border-radius: 11px;
	min-height: 46px;
	box-shadow: none;
	font-size: 0.95rem;
	padding: 10px 13px;
}

.form-control:focus {
	border-color: var(--primary);
	box-shadow: 0 0 0 4px var(--ring);
}

.input-group .btn {
	border-color: var(--line);
	border-radius: 11px;
	min-width: 52px;
}

.input-group .btn:hover {
	background-color: #e9f8f9;
	border-color: #b9dde0;
}

.btn-login {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 12px;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: #fff;
	background: linear-gradient(120deg, #0d7279 0%, #14989f 100%);
	box-shadow: 0 12px 24px rgba(13, 114, 121, 0.26);
	transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn-login:hover {
	transform: translateY(-1px);
	box-shadow: 0 16px 26px rgba(13, 114, 121, 0.29);
	filter: brightness(1.02);
	color: #fff;
}

.recovery-link {
	color: var(--primary);
	font-weight: 700;
	text-decoration: none;
	transition: color 0.15s ease;
}

.recovery-link:hover {
	color: var(--primary-hover);
	text-decoration: underline;
}

@keyframes riseIn {
	from {
		opacity: 0;
		transform: translateY(16px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes drift {
	0%, 100% {
		transform: translateY(0) scale(1);
	}
	50% {
		transform: translateY(10px) scale(1.03);
	}
}

@media (max-width: 576px) {
	.login-container {
		padding: 22px 18px 18px;
		border-radius: 18px;
	}

	.brand h1 {
		font-size: 1.2rem;
	}

	.brand p {
		font-size: 0.88rem;
	}
}
