:root {
	--untu-red: #da291c;
	--untu-red-dark: #be2419;
	--untu-gold: #bfb924;
	--untu-ink: #171526;
	--untu-muted: #6f6f79;
	--untu-border: #e7e7ea;
	--untu-surface: #ffffff;
	--untu-page: #f6f6f8;
}

.untu-login-page {
	font-family: "Montserrat", "Inter", sans-serif;
	min-height: 100vh;
	background: var(--untu-page);
	color: var(--untu-ink);
}

.untu-login-layout {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.8fr);
	padding: 24px;
}

.untu-brand-pane,
.untu-login-pane {
	min-height: calc(100vh - 48px);
}

.untu-brand-pane {
	position: relative;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.92) 100%),
		url("../images/untu-brand-panel-bg.png");
	background-color: var(--untu-surface);
	background-position: 68% 18%;
	background-size: cover;
	background-repeat: no-repeat;
	border: 1px solid var(--untu-border);
	border-right: 0;
	padding: 56px 68px 64px 52px;
	overflow: hidden;
}

.untu-brand-content {
	position: relative;
	z-index: 2;
	max-width: 660px;
}

.untu-brand-headline {
	margin: 0;
	font-size: clamp(42px, 5vw, 64px);
	line-height: 0.95;
	font-weight: 900;
	letter-spacing: -1.8px;
	color: #12111d;
}

.untu-brand-headline .untu-brand-highlight {
	color: var(--untu-red);
}

.untu-brand-sub {
	margin: 18px 0 0;
	font-size: clamp(16px, 1.8vw, 23px);
	line-height: 1.45;
	font-weight: 400;
	color: var(--untu-muted);
	max-width: 560px;
}

.untu-brand-pattern {
	position: absolute;
	left: 32px;
	bottom: 18px;
	width: 230px;
	height: 360px;
	z-index: 1;
}

.untu-brand-mark {
	position: absolute;
	right: 52px;
	bottom: 52px;
	width: 260px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	z-index: 2;
}

.untu-brand-logo {
	width: 100%;
	height: auto;
	display: block;
}

.untu-brand-tagline {
	margin-top: 12px;
	width: 100%;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #000000;
}

.untu-login-pane {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--untu-surface);
	border: 1px solid var(--untu-border);
	padding: 28px 28px;
}

.untu-login-card {
	width: 100%;
	max-width: 440px;
}

.untu-login-eyebrow {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 2.2px;
	text-transform: uppercase;
	color: var(--untu-gold);
}

.untu-login-title {
	margin: 0;
	font-size: 38px;
	line-height: 1;
	font-weight: 800;
	color: var(--untu-ink);
}

.untu-login-text {
	margin: 10px 0 18px;
	font-size: 15px;
	line-height: 1.6;
	color: var(--untu-muted);
}

.untu-login-links {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 20px;
}

.untu-login-links a {
	color: var(--untu-muted);
	font-weight: 600;
}

.untu-login-links a:hover {
	color: var(--untu-red);
}

.untu-login-card .input-group.custom {
	margin-bottom: 12px;
}

.untu-login-card .form-control {
	height: 48px;
	border-radius: 0;
	background: #fff;
	border-color: #d5d6db;
	color: var(--untu-ink);
	padding-left: 18px;
}

.untu-login-card .form-control::placeholder {
	color: #8a8a93;
}

.untu-login-card .form-control:focus {
	background: #fff;
	border-color: rgba(227, 27, 35, 0.75);
	box-shadow: none;
}

.untu-login-card .input-group-text {
	background: #f4f4f6;
	border-color: #d5d6db;
	color: #797985;
	border-radius: 0;
	width: 56px;
	justify-content: center;
}

.untu-btn-login,
.untu-btn-register {
	height: 48px;
	border-radius: 0;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}

.untu-btn-login {
	background: var(--untu-red);
	border-color: var(--untu-red);
}

.untu-btn-login:hover,
.untu-btn-login:focus {
	background: var(--untu-red-dark);
	border-color: var(--untu-red-dark);
}

.untu-btn-register {
	color: var(--untu-ink);
	border-color: var(--untu-gold);
	background: transparent;
}

.untu-btn-register:hover,
.untu-btn-register:focus {
	color: var(--untu-ink);
	background: rgba(183, 182, 28, 0.12);
	border-color: var(--untu-gold);
}

.untu-or-divider {
	margin: 10px 0;
	text-align: center;
	color: #8b8b93;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
}

.untu-register-section,
.untu-forgot-section,
.untu-verify-section,
.untu-reset-section {
	margin-top: 12px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--untu-border);
	padding: 12px 12px 10px;
}

.untu-register-section-title,
.untu-forgot-section-title,
.untu-verify-section-title,
.untu-reset-section-title {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--untu-ink);
}

.untu-forgot-label,
.untu-verify-label,
.untu-reset-label {
	display: block;
	margin-bottom: 4px;
	font-size: 13px;
	font-weight: 700;
	color: var(--untu-ink);
}

.untu-register-return {
	margin: 10px 0 18px;
	font-size: 14px;
	color: var(--untu-muted);
}

.untu-register-return a {
	color: var(--untu-red);
	font-weight: 700;
}

.untu-register-return a:hover {
	color: var(--untu-red-dark);
}

.untu-forgot-hint,
.untu-token-warning {
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--untu-muted);
}

.untu-token-warning {
	color: var(--untu-red);
	font-size: 13px;
	font-weight: 600;
}

.untu-forgot-actions {
	margin-top: 12px;
}

.untu-feedback-modal .modal-content {
	border: 0;
	border-radius: 20px;
	box-shadow: 0 28px 80px rgba(23, 21, 38, 0.18);
	overflow: hidden;
}

.untu-feedback-modal .modal-header,
.untu-feedback-modal .modal-footer {
	background: #ffffff;
}

.untu-feedback-modal .modal-header {
	padding: 22px 24px 0;
}

.untu-feedback-modal .modal-body {
	padding: 8px 24px 24px;
}

.untu-feedback-modal .modal-title {
	font-size: 24px;
	font-weight: 800;
	color: var(--untu-ink);
}

.untu-feedback-modal .close {
	opacity: 1;
	color: var(--untu-muted);
	text-shadow: none;
}

.untu-feedback-modal .close:hover {
	color: var(--untu-red);
}

.untu-feedback-modal-message {
	font-size: 15px;
	line-height: 1.65;
	color: var(--untu-muted);
}

.untu-modal-btn {
	width: 162px;
	max-width: 100%;
}

@media (max-width: 1199px) {
	.untu-login-layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.untu-brand-pane {
		border-right: 1px solid var(--untu-border);
		border-bottom: 0;
		min-height: 52vh;
	}

	.untu-login-pane {
		min-height: auto;
	}

	.untu-brand-mark {
		right: 20px;
		bottom: 28px;
	}
}

@media (max-width: 767px) {
	.untu-login-layout {
		padding: 12px;
	}

	.untu-brand-pane,
	.untu-login-pane {
		min-height: auto;
	}

	.untu-brand-pane {
		padding: 28px 24px 190px;
	}

	.untu-brand-pattern {
		left: auto;
		right: 10px;
		bottom: 32px;
		width: 170px;
		height: 270px;
	}

	.untu-brand-mark {
		right: 12px;
		bottom: 24px;
	}

	.untu-login-pane {
		padding: 22px 18px 24px;
	}

	.untu-login-title {
		font-size: 34px;
	}
}
