:root {
	--ss26l-accent: #2563eb;
	--ss26l-bg: #f4f7fb;
	--ss26l-card-width: 440px;
}

html, body {
	min-height: 100%;
}


body.login,
body.ss26l-body,
body.login input,
body.login button,
body.login select,
body.login textarea,
body.login label,
body.login .ss26l-card,
body.login .ss26l-alert,
body.login .ss26l-link,
body.login .ss26l-primary {
	font-family: 'IRANSansX', Tahoma, Arial, sans-serif !important;
}

body.ss26l-body,
body.login {
	margin: 0;
	font-family: IRANSansX, Tahoma, Arial, sans-serif;
	background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.16), transparent 30%), var(--ss26l-bg);
	color: #0f172a;
}

body.login:not(.ss26l-body) {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
}

body.login:not(.ss26l-body) #login {
	width: min(var(--ss26l-card-width), calc(100vw - 32px));
	padding: 0;
}

body.login:not(.ss26l-body) #login h1 a {
	width: 100%;
	min-height: 86px;
}

body.login:not(.ss26l-body) form {
	border: 0;
	border-radius: 28px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
	padding: 28px;
}

body.login:not(.ss26l-body) .button-primary {
	background: var(--ss26l-accent);
	border-color: var(--ss26l-accent);
	border-radius: 14px;
}

.ss26l-wrap {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
	box-sizing: border-box;
}

.ss26l-card {
	width: min(var(--ss26l-card-width), calc(100vw - 32px));
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 30px;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.14);
	padding: 30px;
	box-sizing: border-box;
	backdrop-filter: blur(14px);
}

.ss26l-brand {
	text-align: center;
	margin-bottom: 24px;
}

.ss26l-logo {
	max-width: 150px;
	max-height: 76px;
	object-fit: contain;
	margin: 0 auto 16px;
	display: block;
}

.ss26l-brand-mark {
	width: 76px;
	height: 76px;
	border-radius: 24px;
	background: color-mix(in srgb, var(--ss26l-accent) 14%, #fff);
	color: var(--ss26l-accent);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 900;
	margin-bottom: 16px;
}

.ss26l-brand-mark i + span,
.ss26l-brand-mark i:not(:empty) + span {
	display: none;
}

.ss26l-brand h1 {
	font-size: 24px;
	font-weight: 900;
	line-height: 1.4;
	margin: 0 0 8px;
	color: #0f172a;
}

.ss26l-brand p {
	font-size: 14px;
	line-height: 1.8;
	margin: 0;
	color: #64748b;
}

.ss26l-form {
	margin: 0;
}

.ss26l-field {
	margin-bottom: 16px;
}

.ss26l-field.is-hidden,
.ss26l-secondary.is-hidden,
.ss26l-link.is-hidden {
	display: none !important;
}

.ss26l-field label {
	display: block;
	font-weight: 800;
	font-size: 14px;
	color: #334155;
	margin-bottom: 8px;
}

.ss26l-input-row {
	display: flex;
	align-items: stretch;
	background: #fff;
	border: 1px solid rgba(148, 163, 184, 0.4);
	border-radius: 18px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ss26l-input-row:focus-within {
	border-color: color-mix(in srgb, var(--ss26l-accent) 70%, #fff);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--ss26l-accent) 16%, transparent);
}

.ss26l-input-icon,
.ss26l-timer {
	min-width: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
	color: #64748b;
	font-weight: 800;
	font-size: 14px;
	border-left: 1px solid rgba(148, 163, 184, 0.28);
}

.ss26l-timer {
	border-left: 0;
	border-right: 1px solid rgba(148, 163, 184, 0.28);
	direction: ltr;
}

.ss26l-input-row input {
	width: 100%;
	min-height: 52px;
	border: 0;
	outline: 0;
	padding: 0 14px;
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
	background: transparent;
	box-shadow: none;
	box-sizing: border-box;
}

.ss26l-input-row input[readonly] {
	cursor: not-allowed;
	background: #f8fafc;
}

.ss26l-input-row input::placeholder {
	color: #94a3b8;
	font-weight: 500;
}

.ss26l-error {
	display: none;
	font-size: 12px;
	font-weight: 700;
	color: #dc2626;
	margin-top: 7px;
}

.ss26l-input-row input.is-invalid + .ss26l-error,
.ss26l-field:has(input.is-invalid) .ss26l-error {
	display: block;
}

.ss26l-alert {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 13px 14px;
	border-radius: 18px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.9;
	margin: 8px 0 16px;
}

.ss26l-alert-warning {
	background: #fff7ed;
	color: #9a3412;
}

.ss26l-alert-info {
	background: #eff6ff;
	color: #1d4ed8;
}

.ss26l-alert-success {
	background: #ecfdf5;
	color: #047857;
}

.ss26l-primary {
	width: 100%;
	min-height: 54px;
	border: 0;
	border-radius: 18px;
	background: var(--ss26l-accent);
	color: #fff;
	font-family: inherit;
	font-size: 16px;
	font-weight: 900;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	box-shadow: 0 14px 35px color-mix(in srgb, var(--ss26l-accent) 26%, transparent);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.ss26l-primary:hover {
	transform: translateY(-1px);
}

.ss26l-primary:disabled {
	opacity: 0.55;
	cursor: not-allowed;
	transform: none;
}

.ss26l-secondary {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-top: 16px;
}

.ss26l-link {
	border: 0;
	background: transparent;
	color: var(--ss26l-accent);
	font-family: inherit;
	font-weight: 900;
	font-size: 13px;
	cursor: pointer;
	padding: 8px 10px;
	border-radius: 12px;
}

.ss26l-link:hover {
	background: color-mix(in srgb, var(--ss26l-accent) 8%, #fff);
}

.ss26l-link:disabled {
	cursor: not-allowed;
	opacity: 0.55;
}

.ss26l-back {
	margin-top: 18px;
	text-decoration: none;
	font-weight: 800;
	font-size: 13px;
	color: #475569;
}

.ss26l-back:hover {
	color: var(--ss26l-accent);
}

.ss26l-toast {
	position: fixed;
	top: 24px;
	left: 50%;
	transform: translate(-50%, -18px);
	background: #059669;
	color: #fff;
	padding: 12px 18px;
	border-radius: 18px;
	font-size: 14px;
	font-weight: 900;
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 99999;
}

.ss26l-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

@media (max-width: 520px) {
	.ss26l-wrap {
		justify-content: flex-start;
		padding-top: 24px;
	}

	.ss26l-card {
		border-radius: 24px;
		padding: 22px;
	}

	.ss26l-brand h1 {
		font-size: 21px;
	}
}

.ss26l-svg {
	width: 1.15em;
	height: 1.15em;
	display: inline-block;
	vertical-align: -0.18em;
	fill: currentColor;
}

.ss26l-brand-mark .ss26l-svg {
	width: 1.35em;
	height: 1.35em;
}

.ss26l-brand-mark .ss26l-svg + span {
	display: none;
}

.ss26l-captcha-field .ss26l-input-row {
	align-items: center;
}

.ss26l-captcha-question {
	min-width: 86px;
	padding: 0 12px;
	font-size: 15px;
	font-weight: 900;
	color: #0f172a;
	direction: ltr;
	text-align: center;
}

.ss26l-help {
	margin: 7px 0 0;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.7;
	color: #64748b;
}

.ss26l-hp {
	position: absolute !important;
	left: -99999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
	pointer-events: none !important;
}
