.auth-cover-brand {
	position: absolute;
	z-index: 1;
	inset-block-start: 1.8rem;
	inset-inline-start: 2.7rem;
}

.authentication-wrapper {
	display: flex;
	flex-basis: 100%;
	min-height: 100vh;
	width: 100%;
}
.authentication-wrapper .authentication-inner {
	width: 100%;
}
.authentication-wrapper.authentication-basic {
	align-items: center;
	justify-content: center;
}
.authentication-wrapper .auth-cover-illustration {
	z-index: 1;
	max-inline-size: 38rem;
}
.authentication-wrapper .authentication-image {
	z-index: -1;
	inline-size: 100%;
	inset-block-end: 7%;
	position: absolute;
	inset-inline-start: 0;
}
.authentication-wrapper.authentication-cover {
	align-items: flex-start;
}
.authentication-wrapper.authentication-cover .authentication-inner {
	min-height: 100vh;
	position: relative;
}
.authentication-wrapper.authentication-cover .authentication-image {
	inline-size: 70%;
}
html:not([dir='rtl'])
	.authentication-wrapper.authentication-cover
	.authentication-image {
	inset-inline-start: unset;
}
.authentication-wrapper.authentication-basic .authentication-inner {
	max-width: 450px;
}
.authentication-wrapper .auth-input-wrapper .auth-input {
	max-width: 50px;
	padding-left: 0.4rem;
	padding-right: 0.4rem;
	font-size: 150%;
}
.authentication-wrapper .divider .divider-text {
	font-size: 0.9375rem;
}

@media (max-width: 575.98px) {
	.authentication-wrapper .auth-input-wrapper .auth-input {
		font-size: 1.125rem;
	}
}
@media (max-width: 1199.98px) {
	.authentication-cover .authentication-image {
		inset-block-end: 9%;
	}
	[dir='rtl'] .authentication-cover .authentication-image {
		inline-size: 65%;
	}
}
#twoStepsForm .fv-plugins-bootstrap5-row-invalid .form-control {
	border-color: #ff4d49;
}

@media (max-width: 575.98px) {
	.numeral-mask-wrapper .numeral-mask {
		padding: 0 !important;
	}
	.numeral-mask {
		margin-inline: 1px !important;
	}
}
.light-style .authentication-wrapper .authentication-bg {
	background-color: #fff;
}
.light-style .authentication-wrapper .divider .divider-text {
	color: #3b4056;
}

.dark-style .authentication-wrapper .authentication-bg {
	background-color: #30334e;
}
.dark-style .authentication-wrapper .divider .divider-text {
	color: #d7d8ed;
}

.w-px-400 {
	width: 400px !important;
}

.crm-login-page {
	min-height: 100vh;
	background:
		linear-gradient(135deg, rgba(12, 18, 32, 0.92), rgba(32, 47, 71, 0.88)),
		url('../images/team.jpeg') center/cover no-repeat;
	color: #172033;
	font-family:
		'SF Pro Text',
		Inter,
		-apple-system,
		BlinkMacSystemFont,
		'Segoe UI',
		sans-serif;
}

.crm-login-shell {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px;
}

.crm-login-card {
	width: min(1120px, 100%);
	min-height: 680px;
	display: grid;
	grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 1.1fr);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.3);
	backdrop-filter: blur(18px);
}

.crm-login-form-panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 56px;
	background: #ffffff;
}

.crm-login-brand {
	margin-bottom: 44px;
}

.crm-login-brand img {
	display: block;
	width: 176px;
	max-width: 100%;
	height: auto;
}

.crm-login-heading {
	margin-bottom: 28px;
}

.crm-login-eyebrow {
	display: inline-flex;
	align-items: center;
	margin-bottom: 14px;
	color: #0f8f7e;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0;
	text-transform: uppercase;
}

.crm-login-heading h1 {
	margin-bottom: 10px;
	color: #111827;
	font-size: 34px;
	font-weight: 760;
	letter-spacing: 0;
	line-height: 1.15;
}

.crm-login-heading p {
	max-width: 430px;
	margin: 0;
	color: #64748b;
	font-size: 15px;
	line-height: 1.65;
}

.crm-login-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.crm-login-field .form-label {
	margin-bottom: 8px;
	color: #273449;
	font-size: 13px;
	font-weight: 700;
}

.crm-login-input {
	min-height: 52px;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 14px;
	border: 1px solid #d8dee9;
	border-radius: 8px;
	background: #f8fafc;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.crm-login-input:focus-within {
	border-color: #0f8f7e;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(15, 143, 126, 0.12);
}

.crm-login-input > i {
	color: #7b8797;
	font-size: 20px;
}

.crm-login-input .form-control {
	min-width: 0;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #172033;
	box-shadow: none;
	font-size: 15px;
}

.crm-login-input .form-control:focus {
	border: 0;
	background: transparent;
	box-shadow: none;
}

.crm-login-input .form-control::placeholder {
	color: #9aa5b1;
}

.crm-password-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #64748b;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.crm-password-toggle:hover {
	background: #edf2f7;
	color: #172033;
}

.crm-login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 2px;
	color: #475569;
	font-size: 14px;
}

.crm-login-options .form-check-input {
	border-color: #cbd5e1;
}

.crm-login-options .form-check-input:checked {
	background-color: #0f8f7e;
	border-color: #0f8f7e;
}

.crm-login-options a {
	color: #800080;
	font-weight: 700;
	text-decoration: none;
}

.crm-login-options a:hover {
	color: #5f166d;
	text-decoration: underline;
}

.crm-login-submit {
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
	border: 0;
	border-radius: 8px;
	background: linear-gradient(135deg, #800080, #0f8f7e);
	color: #fff;
	font-weight: 750;
	box-shadow: 0 14px 28px rgba(128, 0, 128, 0.24);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		filter 0.2s ease;
}

.crm-login-submit:hover,
.crm-login-submit:focus {
	color: #fff;
	filter: brightness(1.03);
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(15, 143, 126, 0.24);
}

.crm-login-footer {
	margin: 36px 0 0;
	color: #7b8797;
	font-size: 13px;
	text-align: center;
}

.crm-login-visual-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 42px;
	overflow: hidden;
	background:
		linear-gradient(160deg, rgba(11, 24, 43, 0.88), rgba(55, 27, 74, 0.76)),
		url('../images/marketing.jpg') center/cover no-repeat;
	color: #fff;
}

.crm-login-visual-panel::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
	background-size: 44px 44px;
	opacity: 0.5;
	pointer-events: none;
}

.crm-login-visual-panel > * {
	position: relative;
	z-index: 1;
}

.crm-visual-top,
.crm-visual-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.crm-visual-badge,
.crm-visual-status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	color: rgba(255, 255, 255, 0.92);
	font-size: 13px;
	font-weight: 700;
	backdrop-filter: blur(10px);
}

.crm-visual-status {
	color: #b9fff2;
}

.crm-visual-content {
	max-width: 560px;
	margin: auto 0;
	padding: 60px 0;
}

.crm-visual-content h2 {
	margin-bottom: 18px;
	color: #fff;
	font-size: 42px;
	font-weight: 780;
	letter-spacing: 0;
	line-height: 1.15;
}

.crm-visual-content p {
	max-width: 480px;
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 16px;
	line-height: 1.7;
}

.crm-metrics-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 28px;
}

.crm-metric-card {
	min-height: 92px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 12px;
	padding: 18px;
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	backdrop-filter: blur(12px);
}

.crm-metric-card i {
	color: #b9fff2;
	font-size: 24px;
}

.crm-metric-card span {
	color: rgba(255, 255, 255, 0.9);
	font-size: 14px;
	font-weight: 700;
}

.crm-visual-footer {
	justify-content: flex-start;
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
	font-weight: 700;
}

.crm-visual-footer img {
	width: 34px;
	height: 34px;
	object-fit: contain;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.9);
	padding: 4px;
}

@media (max-width: 991.98px) {
	.crm-login-shell {
		padding: 20px;
	}

	.crm-login-card {
		min-height: auto;
		grid-template-columns: 1fr;
	}

	.crm-login-visual-panel {
		display: none;
	}

	.crm-login-form-panel {
		padding: 40px;
	}
}

@media (max-width: 575.98px) {
	.crm-login-shell {
		align-items: stretch;
		padding: 0;
		background: #fff;
	}

	.crm-login-card {
		min-height: 100vh;
		border: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.crm-login-form-panel {
		justify-content: center;
		padding: 28px 22px;
	}

	.crm-login-brand {
		margin-bottom: 34px;
	}

	.crm-login-brand img {
		width: 148px;
	}

	.crm-login-heading h1 {
		font-size: 29px;
	}

	.crm-login-options {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}
}
