#center-login-box,
.form-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: transparent; 
}

.login-box,
.form-card {
	width: min(100%, 420px);
	padding: 40px 36px 36px;
	border: 1px solid rgba(255, 255, 255, 0.06);
	border-radius: 24px;
	background: rgba(22, 23, 25, 0.88);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
}

.login-box h1,
.form-title {
	margin-bottom: 28px;
	color: var(--text);
	font-size: 2rem;
	line-height: 1.1;
	letter-spacing: -0.03em;
}

.login-box form,
.form-grid {
	display: grid;
	gap: 16px;
}

.textbox,
.field {
	position: relative;
}

.textbox input,
.field input,
.field textarea,
.field select {
	width: 100%;
	box-sizing: border-box;
	padding: 16px 18px 16px 48px;
	border: 1px solid var(--border);
	border-radius: 14px;
	background: var(--input-bg);
	color: var(--text);
	font-size: 1rem;
	outline: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.field textarea {
	min-height: 140px;
	resize: vertical;
	padding-top: 16px;
	padding-bottom: 16px;
}

.textbox input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
	color: var(--text-muted);
}

.textbox input:focus,
.field input:focus,
.field textarea:focus,
.field select:focus {
	border-color: rgba(99, 122, 250, 0.85);
	box-shadow: 0 0 0 4px rgba(99, 122, 250, 0.16);
	background: rgba(15, 16, 18, 1);
}

.textbox i,
.field i {
	position: absolute;
	left: 16px;
	top: 50%;
	transform: translateY(-50%);
	color: var(--text-muted);
	pointer-events: none;
	transition: color 180ms ease;
}

.textbox:focus-within i,
.field:focus-within i {
	color: var(--accent);
}

.btn,
.form-button {
	margin-top: 8px;
	border: 0;
	border-radius: 14px;
	padding: 15px 18px;
	background: linear-gradient(135deg, rgba(99, 122, 250, 1), rgba(121, 140, 255, 1));
	color: white;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 16px 34px rgba(99, 122, 250, 0.24);
	transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.btn:hover,
.form-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 20px 40px rgba(99, 122, 250, 0.3);
	filter: brightness(1.03);
}

.btn:active,
.form-button:active {
	transform: translateY(0);
	box-shadow: 0 12px 28px rgba(99, 122, 250, 0.22);
}

.form-link,
.login-box a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-muted);
	text-decoration: none;
	font-weight: 500;
	transition: color 180ms ease;
}

.form-link:hover,
.login-box a:hover {
	color: var(--text);
}

.login-box p {
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 480px) {
	#center-login-box,
	.form-page {
		padding: 16px;
	}

	.login-box,
	.form-card {
		padding: 32px 22px 24px;
		border-radius: 20px;
	}

	.login-box h1,
	.form-title {
		font-size: 1.65rem;
		margin-bottom: 22px;
	}

	.textbox input,
	.field input,
	.field textarea,
	.field select {
		padding-left: 46px;
	}
}