body {
	min-height: 100vh;
	margin: 0;
	color: #f5f5f5;
	background: rgba(18, 18, 18, 0.94);
	background-attachment: fixed;
}

.auth-page {
	min-height: calc(100vh - 100px);
	display: grid;
	place-items: center;
	padding: 2rem 1rem 3rem;
}

.auth-card,
.profile-card {
	width: min(100%, 540px);
	padding: 2rem;
	border: 1px solid rgba(255, 140, 0, 0.22);
	border-radius: 22px;
	background: rgba(18, 18, 18, 0.94);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.42);
	backdrop-filter: blur(8px);
}

.profile-card {
	width: min(100%, 760px);
}

.auth-card h2,
.profile-card h2 {
	margin-bottom: 1.5rem;
	color: #ffb347;
	font-weight: 700;
}

.auth-card form,
.profile-card form {
	display: grid;
	gap: 1rem;
}

.auth-card form > div,
.profile-card form > div {
	display: grid;
	gap: 0.45rem;
}

.auth-card label,
.profile-card label {
	font-size: 0.95rem;
	font-weight: 600;
	color: #f0e7db;
}

.auth-card input,
.auth-card select,
.profile-card input,
.profile-card select {
	width: 100%;
	padding: 0.8rem 0.95rem;
	color: #f5f5f5;
	border: 1px solid rgba(255, 140, 0, 0.2);
	border-radius: 12px;
	background: #151515;
	outline: none;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.auth-card input::placeholder,
.profile-card input::placeholder {
	color: #8f99a6;
}

.auth-card input:focus,
.auth-card select:focus,
.profile-card input:focus,
.profile-card select:focus {
	border-color: #ffb347;
	box-shadow: 0 0 0 0.18rem rgba(255, 179, 71, 0.15);
}

.auth-card button,
.profile-card button {
	justify-self: start;
	padding: 0.8rem 1.2rem;
	color: #151515;
	font-weight: 700;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #ffb347, #ff8c00);
	box-shadow: 0 10px 24px rgba(255, 140, 0, 0.26);
}

.auth-card button:hover,
.profile-card button:hover {
	transform: translateY(-1px);
}

.auth-card hr,
.profile-card hr {
	margin: 1.5rem 0;
	border-color: rgba(255, 140, 0, 0.2);
}

.auth-card a,
.profile-card a {
	color: #ffd08a;
	text-decoration: none;
}

.auth-card a:hover,
.profile-card a:hover {
	color: #ffb347;
	text-decoration: underline;
}

.auth-message,
.auth-error {
	padding: 0.85rem 1rem;
	border-radius: 12px;
	border: 1px solid transparent;
}

.auth-message {
	color: #dff7e6;
	border-color: rgba(77, 194, 117, 0.35);
	background: rgba(77, 194, 117, 0.12);
}

.auth-error {
	color: #ffe3e3;
	border-color: rgba(255, 111, 111, 0.3);
	background: rgba(255, 111, 111, 0.12);
}

.auth-helper {
	font-size: 0.9rem;
	color: #b6b6b6;
}

@media (max-width: 576px) {
	.auth-page {
		padding-inline: 0.75rem;
	}

	.auth-card,
	.profile-card {
		padding: 1.25rem;
		border-radius: 18px;
	}

	.auth-card button,
	.profile-card button {
		width: 100%;
		justify-self: stretch;
		text-align: center;
	}
}
