.auth-page {
	min-height: 100vh;
	background: var(--svijetla-pozadina);
}

.auth-page #wrapper {
	min-height: 0;
	margin-top: 0;
}

.auth-header {
	background: var(--White);
	border-bottom: 1px solid var(--Line);
}

.auth-header-inner {
	width: min(100% - 40px, 720px);
	min-height: 94px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.auth-brand {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.auth-brand img {
	display: block;
	width: auto;
	height: 38px;
}

.auth-brand-context {
	margin: 0;
	color: var(--Text-3);
	font-size: 14px;
	line-height: 1.5;
	text-align: right;
}

.auth-brand-context a {
	color: var(--Heading);
	font-weight: 600;
}

.auth-main {
	padding: 48px 20px 56px;
}

.auth-container {
	width: min(100%, 680px);
	margin: 0 auto;
}

.auth-account-card {
	display: block;
	width: 100%;
	border-radius: 8px;
	background: var(--White);
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

.auth-account-card > .form-account {
	width: 100%;
	padding: 36px;
}

.auth-form-title {
	justify-content: center;
	text-align: center;
}

.auth-form-title h4 {
	font-size: 24px;
	line-height: 1.3;
}

.auth-footer {
	padding: 22px 20px;
	background: var(--White);
	border-top: 1px solid var(--Line);
}

.auth-footer-inner {
	width: min(100%, 960px);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px 28px;
	color: var(--Text-3);
	font-size: 13px;
	line-height: 1.5;
}

.auth-footer p {
	margin: 0;
}

.auth-footer a {
	color: var(--Text-3);
}

.auth-footer a:hover {
	color: var(--Primary);
}

.auth-footer-links {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
}

@media (max-width: 640px) {
	.auth-header-inner {
		width: min(100% - 32px, 720px);
		min-height: 82px;
		gap: 16px;
	}

	.auth-brand img {
		height: 32px;
	}

	.auth-brand-context {
		max-width: 180px;
		font-size: 12px;
	}

	.auth-main {
		padding: 28px 16px 40px;
	}

	.auth-account-card > .form-account {
		padding: 24px 20px;
	}

	.auth-form-title h4 {
		font-size: 22px;
	}

	.auth-footer-inner {
		flex-direction: column;
		text-align: center;
	}

	.auth-footer-links {
		justify-content: center;
		flex-wrap: wrap;
		gap: 10px 16px;
	}
}
