:root
{
	--surface-tint: #e9c349;
	--tertiary-fixed-dim: #b4c5ff;
	--secondary-fixed: #e4e2e1;
	--surface-container: #201f1f;
	--on-secondary-fixed-variant: #474747;
	--surface-container-high: #2a2a2a;
	--inverse-surface: #e5e2e1;
	--surface-dim: #131313;
	--outline-variant: #4d4635;
	--inverse-on-surface: #313030;
	--surface-container-highest: #353534;
	--on-tertiary-fixed: #00174b;
	--on-error: #690005;
	--inverse-primary: #735c00;
	--surface-bright: #393939;
	--on-primary: #3c2f00;
	--primary-fixed-dim: #e9c349;
	--primary: #f2ca50;
	--secondary-container: #474747;
	--secondary: #c8c6c5;
	--surface-container-low: #1c1b1b;
	--on-primary-container: #554300;
	--primary-fixed: #ffe088;
	--surface-variant: #353534;
	--on-surface-variant: #d0c5af;
	--on-primary-fixed: #241a00;
	--on-surface: #e5e2e1;
	--on-secondary: #303030;
	--on-tertiary: #082b72;
	--error-container: #93000a;
	--surface: #131313;
	--secondary-fixed-dim: #c8c6c5;
	--on-tertiary-fixed-variant: #27438a;
	--on-error-container: #ffdad6;
	--on-background: #e5e2e1;
	--background: #131313;
	--on-primary-fixed-variant: #574500;
	--on-secondary-container: #b6b5b4;
	--on-tertiary-container: #254188;
	--tertiary-container: #97b0ff;
	--primary-container: #d4af37;
	--outline: #99907c;
	--tertiary: #bfcdff;
	--surface-container-lowest: #0e0e0e;
	--on-secondary-fixed: #1b1c1c;
	--error: #ffb4ab;
	--tertiary-fixed: #dbe1ff;
}

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

html, body
{
	width: 100%;
	min-height: 100%;
}

body
{
	background: var(--surface-dim);
	color: var(--on-surface);
	font-family: "Manrope", sans-serif;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

img
{
	display: block;
	max-width: 100%;
}

a
{
	text-decoration: none;
	color: inherit;
}

button, input
{
	font: inherit;
}

.material-symbols-outlined
{
	font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.topbar
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 50;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	padding: 24px 32px;
}

.topbar-left,
.topbar-right
{
	display: flex;
	align-items: center;
}

.topbar-right
{
	margin-left: auto;
	gap: 12px;
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--outline);
}

.lang-switcher
{
	display: flex;
	gap: 8px;
	padding: 4px;
	background: rgba(14, 14, 14, 0.4);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border-radius: 999px;
}

.lang-btn
{
	width: 24px;
	height: 24px;
	border-radius: 999px;
	overflow: hidden;
	border: 1px solid transparent;
	background: transparent;
	cursor: pointer;
	opacity: 0.5;
	transition: 0.2s ease;
}

.lang-btn.active
{
	opacity: 1;
	transform: scale(1.1);
	border-color: rgba(242, 202, 80, 0.4);
}

.lang-btn:hover
{
	opacity: 1;
}

.lang-btn img
{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.brand
{
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand img
{
	display: block;
	height: 56px;
	width: auto;
	max-width: 100%;
}

.topbar-icon
{
	color: var(--primary);
	font-size: 16px;
}

.main-bg
{
	position: relative;
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 100px 16px 40px;
	background-image:
		linear-gradient(rgba(19, 19, 19, 0.7), rgba(19, 19, 19, 0.9)),
		url("https://lh3.googleusercontent.com/aida-public/AB6AXuDlZP5tX7H6k0mn5CDdjiU_pn1MteH59H7xP-hbdZGwwq60E-fJWjIQzRwowjqerVN-sN8utIz2_Of33UELuoVbH-_-fWouu_qsPwasOxm4z9i62ikhhUSFKskD0nh8g3Y2fDZtMWqIscYZcujpNV5os737KD3AX5ocJm1OpU4EEpcDp8WqGM7g-5hDBh9hKg9I2oXSaIeAo68HRSytEGoQKinTXykpHC7qnw2GQ8v2jGZfbwmO3MFE0vGxKoNKqRS57b5E7cnqQAE");
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.login-card
{
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 460px;
	padding: 40px;
	display: flex;
	flex-direction: column;
	gap: 32px;
	background: rgba(28, 27, 27, 0.65);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	border-left: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.login-card::after
{
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(242, 202, 80, 0.15);
	pointer-events: none;
}

.card-header
{
	text-align: center;
}

.card-header h1
{
	font-family: "Newsreader", serif;
	font-style: italic;
	font-size: 52px;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--on-surface);
}

.card-header p
{
	margin-top: 8px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.3em;
	color: var(--primary-container);
}

.login-form
{
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.form-group
{
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.form-group label
{
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--outline);
}

.label-row
{
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
}

.label-row a
{
	font-size: 10px;
	color: var(--outline);
	transition: color 0.2s ease;
}

.label-row a:hover
{
	color: var(--primary);
}

.input-wrap
{
	position: relative;
	display: flex;
	align-items: center;
	background: rgba(14, 14, 14, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: 2px;
	transition: 0.2s ease;
}

.input-wrap:focus-within
{
	border-color: rgba(242, 202, 80, 0.4);
	box-shadow: 0 0 0 1px rgba(242, 202, 80, 0.2);
}

.input-icon
{
	position: absolute;
	left: 16px;
	font-size: 22px;
	color: var(--outline);
	pointer-events: none;
	transition: 0.2s ease;
}

.input-wrap input
{
	width: 100%;
	background: transparent !important;
	border: 0;
	outline: none;
	padding: 16px 16px 16px 48px;
	color: var(--on-surface);
	font-size: 14px;
	border-radius: 2px;
	box-shadow: none !important;
}

.input-wrap input::placeholder
{
	color: rgba(153, 144, 124, 0.5);
}

.input-wrap input:-webkit-autofill,
.input-wrap input:-webkit-autofill:hover,
.input-wrap input:-webkit-autofill:focus,
.input-wrap input:-webkit-autofill:active
{
	-webkit-text-fill-color: var(--on-surface) !important;
	caret-color: var(--on-surface) !important;
	-webkit-box-shadow: 0 0 0 1000px transparent inset !important;
	box-shadow: 0 0 0 1000px transparent inset !important;
	background-color: transparent !important;
	transition: background-color 999999s ease-in-out 0s;
}

.remember-row
{
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
}

.remember-row input[type="checkbox"]
{
	width: 16px;
	height: 16px;
	accent-color: var(--primary);
	cursor: pointer;
}

.remember-row label
{
	font-size: 11px;
	color: var(--on-surface-variant);
	cursor: pointer;
}

.submit-btn
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 16px;
	border: 0;
	cursor: pointer;
	background: linear-gradient(135deg, #f2ca50 0%, #d4af37 100%);
	color: var(--on-primary);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	box-shadow: 0 10px 30px rgba(242, 202, 80, 0.12);
	transition: 0.2s ease;
}

.submit-btn:hover
{
	filter: brightness(1.08);
}

.submit-btn:active
{
	transform: scale(0.98);
}

.submit-btn .material-symbols-outlined
{
	font-size: 18px;
}

.card-footer
{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.divider
{
	width: 100%;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(153, 144, 124, 0.2), transparent);
}

.register-box
{
	text-align: center;
}

.register-box span
{
	font-size: 11px;
	color: var(--outline);
}

.register-box button
{
	display: block;
	margin-top: 4px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--primary);
	transition: 0.2s ease;
}

.register-box button:hover
{
	color: #ffffff;
}

.bg-deco
{
	position: absolute;
	pointer-events: none;
	opacity: 0.3;
}

.deco-1
{
	top: 25%;
	left: 40px;
	width: 128px;
	height: 128px;
	border: 1px solid rgba(242, 202, 80, 0.2);
	transform: rotate(45deg);
	filter: blur(2px);
}

.deco-2
{
	right: 40px;
	bottom: 25%;
	width: 192px;
	height: 192px;
	border: 1px solid rgba(242, 202, 80, 0.1);
	transform: rotate(-12deg);
	filter: blur(6px);
}

.footer
{
	width: 100%;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	padding: 24px 16px 32px;
	margin-top: auto;
}

.footer-links
{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-links a
{
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--outline);
	transition: 0.2s ease;
}

.footer-links a:hover
{
	color: #ffffff;
}

.footer-links span
{
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: rgba(153, 144, 124, 0.3);
}

.footer p
{
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: rgba(153, 144, 124, 0.6);
	text-align: center;
}

@media (max-width: 768px)
{
	.topbar
	{
		padding: 20px 16px;
		justify-content: flex-end;
	}

	.brand img
	{
		height: 38px;
	}

	.topbar-right
	{
		display: none;
	}

	.login-card
	{
		padding: 28px 20px;
		max-width: 100%;
	}

	.card-header h1
	{
		font-size: 40px;
	}

	.footer
	{
		padding-top: 24px;
	}
}

@media (max-width: 480px)
{
	.card-header h1
	{
		font-size: 34px;
	}

	.label-row
	{
		flex-direction: column;
		align-items: flex-start;
	}
}