/**
 * Telxa Auth.
 * @author Hassan HashemiFard
 * @link https://hasanhashemi.ir
 * @link https://telxa.ir
 * @copyright 2026 Telxa Technologies (https://telxa.ir). All rights reserved.
 */
:where(.telxa-wrapper).telxa-auth,
:where(.telxa-wrapper).telxa-auth-smart-form,
:where(.telxa-wrapper).telxa-auth-profile {
	--telxa-auth-ink: #172c43;
	--telxa-auth-muted: #526479;
	--telxa-auth-border: #d6e0ea;
	--telxa-auth-primary: #155da8;
	--telxa-auth-primary-hover: #104b88;
	--telxa-auth-accent: #155da8;
	--telxa-auth-card: #ffffff;
	color: var(--telxa-auth-ink);
	direction: rtl;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
	text-align: right;
	margin: 28px auto;
	padding: 12px;
	width: 100%;
	isolation: isolate;
}
:where(.telxa-wrapper).telxa-auth { max-width: 510px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-helpdesk { margin-top: 24px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-table-wrap { overflow-x: auto; margin-bottom: 24px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-table { width: 100%; border-collapse: collapse; min-width: 550px; font: inherit; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-table th, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-table td { text-align: right; padding: 12px; border-bottom: 1px solid var(--telxa-auth-border); }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-table a, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-pagination a { color: var(--telxa-auth-primary); text-decoration: underline; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-message { border: 1px solid var(--telxa-auth-border); background: #f8fafc; padding: 20px; border-radius: 12px; margin-bottom: 16px; overflow-wrap: anywhere; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-message--agent { background: #edf5ff; border-right: 4px solid var(--telxa-auth-primary); }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-message header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-message time { font-size: 12px; color: var(--telxa-auth-muted); }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-new summary { padding: 14px; border: 1px solid var(--telxa-auth-border); border-radius: 10px; cursor: pointer; color: var(--telxa-auth-primary); font-weight: 700; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-ticket-new[open] summary { margin-bottom: 20px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-pagination { display: flex; gap: 20px; justify-content: center; align-items: center; margin: 20px 0; }
:where(.telxa-wrapper).telxa-auth-profile textarea.telxa-auth-input { resize: vertical; min-height: 130px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-helpdesk .telxa-auth-form { margin-block: 20px; }
:where(.telxa-wrapper).telxa-auth-profile { max-width: 1020px; }
:where(.telxa-wrapper).telxa-auth *, :where(.telxa-wrapper).telxa-auth *::before, :where(.telxa-wrapper).telxa-auth *::after,
:where(.telxa-wrapper).telxa-auth-profile *, :where(.telxa-wrapper).telxa-auth-profile *::before, :where(.telxa-wrapper).telxa-auth-profile *::after,
:where(.telxa-wrapper).telxa-auth, :where(.telxa-wrapper).telxa-auth-profile { box-sizing: border-box; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-card, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-card {
	background: var(--telxa-auth-card);
	border: 1px solid var(--telxa-auth-border);
	border-radius: 20px;
	box-shadow: 0 8px 32px rgb(23 44 67 / 6%);
	min-width: 0;
	padding: 30px;
}
.telxa-wrapper .telxa-auth-card-header { margin-bottom: 24px; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-title, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-title {
	color: var(--telxa-auth-ink);
	font-family: inherit;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.7;
	margin: 6px 0 8px;
	overflow-wrap: anywhere;
}
:where(.telxa-wrapper).telxa-auth .telxa-auth-section-title, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-section-title {
	color: var(--telxa-auth-ink);
	font-family: inherit;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.8;
	margin: 0 0 12px;
}
.telxa-wrapper .telxa-auth-eyebrow { color: #14568d; font-size: 12px; font-weight: 700; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-description, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-description {
	color: var(--telxa-auth-muted);
	font-size: 14px;
	line-height: 1.9;
	margin: 0 0 12px;
}
:where(.telxa-wrapper).telxa-auth .telxa-auth-help, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-help {
	color: var(--telxa-auth-muted);
	font-size: 12px;
	line-height: 1.9;
	margin: 8px 0 0;
}
.telxa-wrapper .telxa-auth-form { display: grid; gap: 18px; margin: 0; }
.telxa-wrapper .telxa-auth-field { min-width: 0; }
.telxa-wrapper .telxa-auth-label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 7px; }
:where(.telxa-wrapper).telxa-auth input.telxa-auth-input, :where(.telxa-wrapper).telxa-auth-profile input.telxa-auth-input {
	appearance: none;
	background: #fff;
	border: 1px solid #aebfd0;
	border-radius: 10px;
	box-sizing: border-box;
	box-shadow: none;
	color: var(--telxa-auth-ink);
	font-family: inherit;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
	max-width: 100%;
	min-height: 48px;
	padding: 11px 13px;
	width: 100%;
}
:where(.telxa-wrapper).telxa-auth input.telxa-auth-input[dir="ltr"], :where(.telxa-wrapper).telxa-auth-profile input.telxa-auth-input[dir="ltr"] { text-align: left; }
.telxa-wrapper .telxa-auth-input::placeholder { color: #67788b; opacity: 1; text-align: right; }
:where(.telxa-wrapper).telxa-auth-profile input.telxa-auth-input[readonly] { background: #f1f5f9; color: #43546a; cursor: default; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-button, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button {
	align-items: center;
	appearance: none;
	background: var(--telxa-auth-primary);
	border: 1px solid var(--telxa-auth-primary);
	border-radius: 10px;
	box-shadow: none;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	justify-content: center;
	line-height: 1.8;
	margin: 0;
	min-height: 48px;
	padding: 10px 18px;
	text-align: center;
	text-decoration: none;
	white-space: normal;
	width: 100%;
}
:where(.telxa-wrapper).telxa-auth .telxa-auth-button:hover, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button:hover { background: var(--telxa-auth-primary-hover); color: #fff; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-button--secondary, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button--secondary { background: #edf4fb; border-color: #b9cfe4; color: #134e85; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-button--secondary:hover, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button--secondary:hover { background: #dcebf9; color: #103f6c; }
.telxa-wrapper .telxa-auth-button:disabled { cursor: wait; opacity: .6; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-input:focus, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-input:focus,
:where(.telxa-wrapper).telxa-auth .telxa-auth-button:focus, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button:focus,
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-text-link:focus {
	border-color: #155da8;
	outline: 3px solid #80b4ed;
	outline-offset: 3px;
}
.telxa-wrapper .telxa-auth-alert { border: 1px solid; border-radius: 10px; font-size: 14px; line-height: 1.9; margin: 0 0 20px; overflow-wrap: anywhere; padding: 12px 15px; }
.telxa-wrapper .telxa-auth-alert--success { background: #edf8f3; border-color: #a7d8c0; color: #185c3c; }
.telxa-wrapper .telxa-auth-alert--error { background: #fff1f2; border-color: #e5b7be; color: #92273a; }
.telxa-wrapper .telxa-auth-alert--warning { background: #fff8e8; border-color: #e0cc95; color: #745018; }
.telxa-wrapper .telxa-auth-alert--info { background: #edf5ff; border-color: #b6cfe9; color: #235380; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-steps { display: flex; gap: 8px; list-style: none; margin: 0 0 24px; padding: 0; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-step { align-items: center; color: var(--telxa-auth-muted); display: flex; flex: 1; flex-wrap: wrap; font-size: 12px; gap: 6px; list-style: none; margin: 0; }
.telxa-wrapper .telxa-auth-step-number { align-items: center; background: #edf2f7; border: 1px solid #d6e0ea; border-radius: 50%; display: inline-flex; height: 28px; justify-content: center; width: 28px; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-step--active { color: #134f89; font-weight: 700; }
.telxa-wrapper .telxa-auth-step--active .telxa-auth-step-number { background: #155da8; border-color: #155da8; color: #fff; }
.telxa-wrapper .telxa-auth-method + .telxa-auth-method { border-top: 1px solid var(--telxa-auth-border); margin-top: 24px; padding-top: 24px; }
.telxa-wrapper .telxa-auth-alternative { background: #f6f9fc; border: 1px solid #d6e0ea; border-radius: 12px; margin-top: 26px; padding: 20px; }
.telxa-wrapper .telxa-auth-alternative > .telxa-auth-help { margin-bottom: 18px; }
.telxa-wrapper .telxa-auth-profile-header { align-items: flex-start; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 24px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-text-link { color: #155da8; font-size: 13px; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.telxa-wrapper .telxa-auth-profile-grid { align-items: start; display: grid; gap: 22px; grid-template-columns: 1.2fr 1fr; }
.telxa-wrapper .telxa-auth-field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.telxa-wrapper .telxa-auth-password-card { grid-column: 1 / -1; }
.telxa-wrapper .telxa-auth-status-badge { border: 1px solid; border-radius: 999px; display: inline-flex; font-size: 12px; font-weight: 700; padding: 4px 13px; }
.telxa-wrapper .telxa-auth-status-badge--verified { background: #edf8f3; border-color: #a7d8c0; color: #185c3c; }
.telxa-wrapper .telxa-auth-status-badge--pending { background: #fff8e8; border-color: #e0cc95; color: #745018; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-summary { display: flex; flex-wrap: wrap; font-size: 13px; gap: 8px 20px; margin: 20px 0; }
.telxa-wrapper .telxa-auth-summary dt { color: var(--telxa-auth-muted); font-weight: 400; margin: 0; }
.telxa-wrapper .telxa-auth-summary dd { color: var(--telxa-auth-ink); margin: 0; }
@media (max-width: 720px) {
	.telxa-wrapper .telxa-auth-profile-grid { grid-template-columns: minmax(0, 1fr); }
	.telxa-wrapper .telxa-auth-profile-header { flex-direction: column; gap: 4px; }
	:where(.telxa-wrapper).telxa-auth .telxa-auth-card, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-card { border-radius: 14px; padding: 22px 18px; }
}
@media (max-width: 420px) {
	:where(.telxa-wrapper).telxa-auth, :where(.telxa-wrapper).telxa-auth-profile { margin: 12px auto; padding: 6px; }
	.telxa-wrapper .telxa-auth-field-row { grid-template-columns: minmax(0, 1fr); }
	.telxa-wrapper .telxa-auth-alternative { padding: 16px 12px; }
}

:where(.telxa-wrapper).telxa-auth [hidden], :where(.telxa-wrapper).telxa-auth-profile [hidden] { display: none !important; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-tabs { display: flex; gap: 8px; margin: 18px 0; padding: 5px; border: 1px solid var(--telxa-auth-border); border-radius: 12px; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-tab { flex: 1; appearance: none; text-align: center; text-decoration: none; background: transparent; border: 0; border-radius: 8px; color: var(--telxa-auth-ink); padding: 10px 8px; font: inherit; cursor: pointer; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-tab[aria-current="page"], :where(.telxa-wrapper).telxa-auth .telxa-auth-tab[aria-pressed="true"] { background: var(--telxa-auth-accent); color: #fff; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-tab:focus-visible { outline: 3px solid var(--telxa-auth-accent); outline-offset: 3px; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-logo { text-align: center; margin-bottom: 18px; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-logo img { display: inline-block; max-width: 160px; max-height: 90px; width: auto; height: auto; object-fit: contain; }
:where(.telxa-wrapper).telxa-auth[aria-busy="true"], :where(.telxa-wrapper).telxa-auth-profile[aria-busy="true"] { cursor: progress; }
:where(.telxa-wrapper).telxa-auth .telxa-auth-button:disabled, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-button:disabled { opacity: .65; cursor: wait; }
body.telxa-auth-fullscreen { margin: 0; padding: 0; background: #f1f5f9; }
body.telxa-auth-fullscreen { background: var(--telxa-bg, #f5f5f9); }
.telxa-auth-fullscreen .telxa-auth { max-width: 424px; }
.telxa-auth-fullscreen .telxa-auth .telxa-auth-card { border: 0; border-radius: 14px; padding: 28px 24px; box-shadow: 0 8px 28px rgba(20, 35, 55, .08); }
.telxa-auth-fullscreen .telxa-auth-fullscreen-main { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0; }
.telxa-auth-fullscreen .telxa-auth, .telxa-auth-fullscreen .telxa-auth-profile { margin-block: 0; }
@media (prefers-reduced-motion: no-preference) { :where(.telxa-wrapper).telxa-auth .telxa-auth-card { animation: telxa-auth-appear .18s ease-out; } @keyframes telxa-auth-appear { from { opacity: .5; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } } }

:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0; padding: 8px; background: #eaf0f6; border: 1px solid var(--telxa-auth-border); border-radius: 14px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-tab { flex: 1 1 170px; color: var(--telxa-auth-ink); font: inherit; font-size: 13px; font-weight: 700; text-align: center; text-decoration: none; padding: 12px; border: 1px solid transparent; border-radius: 10px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-tab[aria-selected="true"] { background: var(--telxa-auth-card); border-color: var(--telxa-auth-border); color: var(--telxa-auth-primary); box-shadow: 0 2px 8px rgb(23 44 67 / 8%); }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-tab:focus-visible, :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-panel:focus-visible { outline: 3px solid #80b4ed; outline-offset: 3px; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-panel { min-width: 0; }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-panel > .telxa-auth-helpdesk { margin-top: 0; }
:where(.telxa-wrapper).telxa-auth-smart-form, :where(.telxa-wrapper).telxa-auth-smart-form *, :where(.telxa-wrapper).telxa-auth-smart-form *::before, :where(.telxa-wrapper).telxa-auth-smart-form *::after { box-sizing: border-box; }
:where(.telxa-wrapper).telxa-auth-smart-form.telxa-auth-card { max-width: 740px; background: var(--telxa-auth-card); border: 1px solid var(--telxa-auth-border); border-radius: 20px; padding: 28px; box-shadow: 0 8px 32px rgb(23 44 67 / 6%); }
:where(.telxa-wrapper).telxa-auth-profile .telxa-auth-smart-form { max-width: 100%; margin: 0 0 24px; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-title { color: var(--telxa-auth-ink); font: 700 23px/1.7 Tahoma, sans-serif; margin: 0 0 12px; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-description, :where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-help { color: var(--telxa-auth-muted); font-size: 13px; margin: 8px 0 14px; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-input, :where(.telxa-wrapper).telxa-auth-profile textarea.telxa-auth-input, :where(.telxa-wrapper).telxa-auth-profile select.telxa-auth-input { appearance: none; background: #fff; border: 1px solid #aebfd0; border-radius: 10px; box-shadow: none; box-sizing: border-box; color: var(--telxa-auth-ink); font: inherit; font-size: 16px; line-height: 1.5; min-height: 48px; padding: 11px 13px; width: 100%; max-width: 100%; margin: 0; }
:where(.telxa-wrapper).telxa-auth-smart-form textarea.telxa-auth-input { min-height: 130px; resize: vertical; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-input[dir="ltr"] { text-align: left; }
:where(.telxa-wrapper).telxa-auth-smart-form select.telxa-auth-input, :where(.telxa-wrapper).telxa-auth-profile select.telxa-auth-input { appearance: auto; }
:where(.telxa-wrapper).telxa-auth-smart-form fieldset.telxa-auth-field { border: 1px solid var(--telxa-auth-border); border-radius: 10px; padding: 14px; margin: 0; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-button { display: inline-flex; align-items: center; justify-content: center; appearance: none; font: 700 15px/1.8 Tahoma, sans-serif; background: var(--telxa-auth-primary); border: 1px solid var(--telxa-auth-primary); color: #fff; border-radius: 10px; padding: 12px 18px; min-height: 48px; width: 100%; cursor: pointer; box-shadow: none; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-button:hover { background: var(--telxa-auth-primary-hover); }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-input:focus, :where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-button:focus, :where(.telxa-wrapper).telxa-auth-smart-form input[type="radio"]:focus, :where(.telxa-wrapper).telxa-auth-smart-form input[type="checkbox"]:focus { outline: 3px solid #80b4ed; outline-offset: 3px; }
:where(.telxa-wrapper).telxa-auth-smart-form [hidden] { display: none !important; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
:where(.telxa-wrapper).telxa-auth-smart-form[aria-busy="true"] { cursor: progress; }
:where(.telxa-wrapper).telxa-auth-smart-form .telxa-auth-button:disabled { cursor: wait; opacity: .65; }
@media (max-width: 600px) { :where(.telxa-wrapper).telxa-auth-smart-form.telxa-auth-card { padding: 20px 16px; border-radius: 14px; } :where(.telxa-wrapper).telxa-auth-profile .telxa-auth-portal-tab { flex-basis: 40%; font-size: 12px; padding: 10px 6px; } }
