@font-face {
	font-family: "Slaughterhouse IRANSans";
	src: url("/assets/slaughterhouse/fonts/iransans-fanum-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Slaughterhouse IRANSans";
	src: url("/assets/slaughterhouse/fonts/iransans-fanum-medium.woff2") format("woff2");
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Slaughterhouse IRANSans";
	src: url("/assets/slaughterhouse/fonts/iransans-fanum-bold.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--sl-primary: #087f5b;
	--sl-primary-dark: #065f46;
	--sl-primary-soft: #dff6ec;
	--sl-ink: #18332b;
	--sl-muted: #667a73;
	--sl-line: #dce8e3;
}

body {
	background: #edf4f1;
}

body > svg,
.navbar,
.web-footer,
.page-breadcrumbs {
	display: none !important;
}

.web-page-content,
.page_content,
.container,
.container-fluid {
	max-width: none !important;
	width: 100%;
	padding: 0 !important;
	margin: 0 !important;
}

.sl-login-page {
	min-height: 100vh;
	display: grid;
	grid-template-columns: minmax(420px, 0.92fr) minmax(560px, 1.08fr);
	direction: ltr;
	background: #fff;
	font-family: "Slaughterhouse IRANSans", Tahoma, Arial, sans-serif;
}

.sl-brand-panel {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
	padding: clamp(36px, 5vw, 76px);
	color: #fff;
	background:
		radial-gradient(circle at 12% 13%, rgba(255, 255, 255, 0.17), transparent 27%),
		linear-gradient(145deg, #0b8f68 0%, #076849 48%, #043e30 100%);
	direction: rtl;
}

.sl-brand-panel::before,
.sl-brand-panel::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 50%;
}

.sl-brand-panel::before {
	width: 420px;
	height: 420px;
	left: -210px;
	bottom: -155px;
}

.sl-brand-panel::after {
	width: 260px;
	height: 260px;
	left: -130px;
	bottom: -75px;
}

.sl-brand-mark {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 18px;
	font-weight: 700;
}

.sl-brand-mark img {
	width: 54px;
	height: 54px;
	filter: drop-shadow(0 8px 18px rgba(1, 35, 25, 0.24));
}

.sl-brand-copy {
	position: relative;
	z-index: 1;
	max-width: 570px;
	margin: auto 0;
}

.sl-brand-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 24px;
	font-size: 14px;
	font-weight: 600;
	color: #bff4df;
}

.sl-brand-eyebrow::before {
	width: 28px;
	height: 2px;
	content: "";
	background: #7be0ba;
}

.sl-brand-copy h1 {
	margin: 0 0 22px;
	font-size: clamp(35px, 4vw, 58px);
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -1.5px;
	color: #fff;
}

.sl-brand-copy p {
	max-width: 490px;
	margin: 0;
	font-size: 16px;
	line-height: 2;
	color: rgba(255, 255, 255, 0.78);
}

.sl-brand-footer {
	position: relative;
	z-index: 1;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.56);
}

.sl-form-panel {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px clamp(28px, 7vw, 110px);
	background:
		linear-gradient(rgba(8, 127, 91, 0.025) 1px, transparent 1px),
		linear-gradient(90deg, rgba(8, 127, 91, 0.025) 1px, transparent 1px),
		#fff;
	background-size: 32px 32px;
	direction: rtl;
}

.sl-form-wrap {
	width: 100%;
	max-width: 440px;
}

.sl-mobile-brand {
	display: none;
	align-items: center;
	gap: 12px;
	margin-bottom: 34px;
	color: var(--sl-primary-dark);
	font-weight: 800;
}

.sl-mobile-brand img {
	width: 48px;
	height: 48px;
}

.sl-login-page section {
	display: none;
}

.sl-login-page section.for-login {
	display: block;
}

.sl-login-page .login-content.page-card {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.sl-login-page .page-card-head {
	margin-bottom: 34px;
	text-align: right;
}

.sl-login-page .page-card-head h2 {
	margin: 0 0 10px;
	font-size: 30px;
	font-weight: 800;
	color: var(--sl-ink);
}

.sl-login-page .page-card-head p {
	margin: 0;
	font-size: 14px;
	line-height: 1.8;
	color: var(--sl-muted);
}

.sl-login-page .page-card-body {
	padding: 0;
}

.sl-login-page .form-group {
	margin-bottom: 22px;
	text-align: right;
}

.sl-login-page .form-label {
	display: block;
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 700;
	color: var(--sl-ink);
}

.sl-login-page .field-wrap {
	position: relative;
}

.sl-login-page .form-control {
	height: 52px;
	padding: 0 48px 0 16px;
	font-size: 14px;
	color: var(--sl-ink);
	background: #f8fbfa;
	border: 1px solid var(--sl-line);
	border-radius: 12px;
	box-shadow: none;
	direction: ltr;
	text-align: left;
	transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.sl-login-page .form-control:focus {
	background: #fff;
	border-color: var(--sl-primary);
	box-shadow: 0 0 0 4px rgba(8, 127, 91, 0.1);
}

.sl-login-page .field-icon {
	position: absolute;
	top: 18px;
	right: 17px;
	left: auto;
	color: #81938d;
	pointer-events: none;
}

.sl-login-page .toggle-password {
	position: absolute;
	top: 17px;
	left: 16px;
	right: auto;
	cursor: pointer;
	color: #81938d;
}

.sl-login-page .password-field .form-control {
	padding-left: 48px;
}

.sl-login-page .forgot-password-message {
	margin: 10px 0 0;
	text-align: left;
}

.sl-login-page a {
	color: var(--sl-primary);
	font-weight: 600;
}

.sl-login-page .page-card-actions {
	padding: 4px 0 0;
}

.sl-login-page .btn {
	min-height: 48px;
	border-radius: 12px;
	font-weight: 700;
	transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}

.sl-login-page .btn-primary,
.sl-login-page .btn-login[type="submit"] {
	color: #fff;
	background: linear-gradient(135deg, var(--sl-primary), var(--sl-primary-dark));
	border-color: var(--sl-primary-dark);
	box-shadow: 0 10px 24px rgba(6, 95, 70, 0.2);
}

.sl-login-page .btn-primary:hover,
.sl-login-page .btn-login[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 13px 28px rgba(6, 95, 70, 0.26);
}

.sl-login-page .btn-default {
	margin-top: 10px;
	background: #fff;
	border-color: var(--sl-line);
}

.sl-login-page .login-error-banner,
.sl-login-page .login-success-banner {
	margin-bottom: 18px;
	border-radius: 10px;
}

.sl-login-page .sign-up-message {
	margin-top: 26px;
	color: var(--sl-muted);
}

.sl-login-page .field-error {
	margin-top: 6px;
	font-size: 12px;
	text-align: right;
}

.sl-login-page .social-logins {
	margin-top: 18px;
}

.sl-login-page .social-login-buttons {
	display: grid;
	gap: 8px;
}

.sl-login-page .resend-link {
	justify-content: center;
	color: var(--sl-muted);
}

@media (max-width: 900px) {
	.sl-login-page {
		grid-template-columns: 1fr;
		background: #fff;
	}

	.sl-brand-panel {
		display: none;
	}

	.sl-form-panel {
		min-height: 100vh;
		padding: 40px 24px;
	}

	.sl-mobile-brand {
		display: flex;
	}
}

@media (max-width: 480px) {
	.sl-form-panel {
		align-items: flex-start;
		padding-top: 28px;
	}

	.sl-login-page .page-card-head h2 {
		font-size: 26px;
	}
}
