.uacam-auth {
	background:
		linear-gradient(135deg, rgba(0, 32, 84, 0.06), rgba(243, 176, 19, 0.08)),
		#f5f8fc;
	color: #001b49;
	min-height: 640px;
	padding: 54px 18px 72px;
}

.uacam-auth * {
	box-sizing: border-box;
}

.uacam-auth__shell {
	margin: 0 auto;
	max-width: 1080px;
}

.uacam-auth__panel {
	align-items: stretch;
	background: #ffffff;
	border: 1px solid rgba(0, 32, 84, 0.12);
	border-radius: 8px;
	box-shadow: 0 18px 48px rgba(0, 32, 84, 0.12);
	display: grid;
	grid-template-columns: minmax(0, 1fr) 420px;
	overflow: hidden;
}

.uacam-auth__intro {
	background:
		linear-gradient(135deg, rgba(0, 32, 84, 0.94), rgba(0, 45, 101, 0.88)),
		url("/assets/images/uacam-fallback-general.png") center / cover no-repeat;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 440px;
	padding: 46px;
	position: relative;
}

.uacam-auth__intro::after {
	background: #f3b013;
	bottom: 0;
	content: "";
	height: 5px;
	left: 46px;
	position: absolute;
	width: 88px;
}

.uacam-auth__eyebrow {
	color: #f3b013;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 12px;
	text-transform: uppercase;
}

.uacam-auth__intro h1 {
	color: #ffffff;
	font-size: 42px;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.05;
	margin: 0 0 16px;
}

.uacam-auth__intro p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 16px;
	line-height: 1.7;
	margin: 0;
	max-width: 620px;
}

.uacam-auth__card {
	align-self: center;
	padding: 42px;
}

.uacam-auth__alert {
	background: #fff1f1;
	border: 1px solid #f2bbbb;
	border-radius: 6px;
	color: #9b1c1c;
	font-weight: 700;
	line-height: 1.45;
	margin-bottom: 20px;
	padding: 13px 15px;
}

.uacam-auth__form {
	margin: 0;
}

.uacam-auth__field {
	margin-bottom: 18px;
}

.uacam-auth__field label {
	color: #001b49;
	display: block;
	font-size: 14px;
	font-weight: 800;
	margin-bottom: 8px;
}

.uacam-auth__field .form-control {
	background: #ffffff;
	border: 1px solid #cfd8e6;
	border-radius: 6px;
	box-shadow: none;
	color: #001b49;
	display: block;
	font-size: 15px;
	height: 48px;
	padding: 10px 14px;
	width: 100%;
}

.uacam-auth__field .form-control:focus {
	border-color: #002e6d;
	box-shadow: 0 0 0 3px rgba(0, 46, 109, 0.12);
	outline: none;
}

.uacam-auth__actions {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: space-between;
	margin-top: 10px;
}

.uacam-auth__actions a {
	color: #002e6d;
	font-size: 14px;
	font-weight: 800;
	text-decoration: none;
}

.uacam-auth__actions a:hover,
.uacam-auth__actions a:focus {
	color: #001b49;
	text-decoration: underline;
}

.uacam-auth__button {
	background: #002e6d;
	border: 0;
	border-radius: 6px;
	box-shadow: 0 10px 22px rgba(0, 46, 109, 0.22);
	color: #ffffff;
	font-size: 14px;
	font-weight: 800;
	min-height: 46px;
	min-width: 144px;
	padding: 12px 22px;
	text-transform: uppercase;
	transition: background 0.2s ease, transform 0.2s ease;
}

.uacam-auth__button:hover,
.uacam-auth__button:focus {
	background: #001b49;
	color: #ffffff;
	transform: translateY(-1px);
}

.uacam-auth__button:disabled {
	cursor: wait;
	opacity: 0.72;
	transform: none;
}

.uacam-auth__captcha {
	margin: 8px 0 18px;
	overflow-x: auto;
}

.uacam-auth__message {
	margin-top: 18px;
}

.uacam-auth__message .alert {
	border-radius: 6px;
	margin: 0;
}

@media (max-width: 900px) {
	.uacam-auth {
		min-height: 0;
		padding: 32px 14px 48px;
	}

	.uacam-auth__panel {
		grid-template-columns: 1fr;
	}

	.uacam-auth__intro {
		min-height: 260px;
		padding: 32px;
	}

	.uacam-auth__intro::after {
		left: 32px;
	}

	.uacam-auth__intro h1 {
		font-size: 32px;
	}

	.uacam-auth__card {
		padding: 30px;
	}
}

@media (max-width: 520px) {
	.uacam-auth__intro,
	.uacam-auth__card {
		padding: 24px;
	}

	.uacam-auth__intro::after {
		left: 24px;
	}

	.uacam-auth__intro h1 {
		font-size: 28px;
	}

	.uacam-auth__actions {
		align-items: stretch;
		flex-direction: column-reverse;
	}

	.uacam-auth__button {
		width: 100%;
	}
}
