@import url("/vendor/vazirmatn/index.css");
@import url("/css/version-4effc088ddc4b267ec5e202272418168.css");

:root { color-scheme: light; }
.public-page {
    margin: 0; min-height: 100svh; display: flex; flex-direction: column;
    background: #f3f6f5; color: #202d2a; direction: rtl;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif; letter-spacing: 0;
}
.public-page *, .public-page *::before, .public-page *::after { box-sizing: border-box; }
.public-container { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.public-nav { border-bottom: 1px solid #dfe6e2; background: #fff; }
.public-nav__inner { min-height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.public-brand__mark { width: 42px; height: 42px; }
.public-brand__copy { display: grid; gap: 4px; }
.public-brand__title { font-size: 14px; font-weight: 800; }
.public-brand__tagline { color: #66746e; font-size: 11px; }
.public-nav__label { color: #52645d; font-size: 12px; white-space: nowrap; }
.login-main { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.login-content { width: min(440px, 100%); }
.login-heading { margin-bottom: 24px; text-align: center; }
.login-heading h1 { margin: 0 0 7px; font-size: 27px; line-height: 1.6; font-weight: 800; }
.login-heading p { margin: 0; color: #64736c; font-size: 13px; }
.auth-card { background: #fff; border: 1px solid #dce5df; border-radius: 8px; box-shadow: 0 8px 28px #223e3210; }
.auth-body { padding: 30px; }
.auth-progress { display: flex; align-items: center; gap: 6px; margin-bottom: 24px; }
.auth-progress span { height: 3px; flex: 1; border-radius: 2px; background: #e5eae7; }
.auth-progress .is-current { background: #176b55; }
.auth-title { margin-bottom: 24px; }
.auth-title h2 { margin: 0 0 8px; font-size: 19px; line-height: 1.6; font-weight: 700; }
.auth-title p { margin: 0; color: #65746d; font-size: 13px; line-height: 1.9; }
.auth-form { display: grid; gap: 20px; }
.auth-form label { display: grid; gap: 9px; font-size: 13px; font-weight: 600; }
.auth-form input {
    width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #bfcfc5;
    border-radius: 6px; color: #23372d; background: #fff; font: inherit; font-size: 17px;
    outline-offset: 3px; transition: border-color .15s;
}
.auth-form input::placeholder { color: #839188; font-size: 14px; }
.auth-form input:focus-visible { outline: 2px solid #298269; border-color: #298269; }
.auth-form .mobile-input { direction: ltr; text-align: left; }
.auth-form .otp-input { direction: ltr; text-align: center; font-size: 24px; letter-spacing: 0; }
.input-hint { color: #718077; font-size: 11px; font-weight: 400; }
.primary-action {
    width: 100%; min-height: 50px; padding: 10px 16px; border: 1px solid #176b55; border-radius: 6px;
    background: #176b55; color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
}
.primary-action:hover { background: #105441; }
.primary-action:focus-visible, .link-action:focus-visible { outline: 2px solid #298269; outline-offset: 3px; }
.primary-action:disabled { cursor: wait; opacity: .7; }
.link-action { margin-top: 18px; padding: 4px 0; border: 0; background: none; color: #176b55; cursor: pointer; font: inherit; font-size: 12px; }
.link-action:hover { text-decoration: underline; }
.auth-alert { margin-bottom: 18px; padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.9; overflow-wrap: anywhere; }
.auth-alert--error { color: #9a2929; background: #fff3f1; border: 1px solid #ecc4be; }
.auth-alert--success { color: #196144; background: #eef8f1; border: 1px solid #bbdfc7; }
.auth-alert--info { color: #335d7c; background: #eef5fa; border: 1px solid #c5dbe8; }
.otp-review { font-size: 13px; color: #52685c; }
.otp-review bdi { font-weight: 700; }
.otp-countdown { display: flex; align-items: center; gap: 6px; min-height: 22px; margin-top: -10px; color: #65746d; font-size: 12px; }
.otp-countdown strong { font-weight: 600; font-variant-numeric: tabular-nums; }
.captcha-box { display: grid; grid-template-columns: 1fr 80px; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dce5df; border-radius: 6px; font-size: 12px; }
.captcha-box label { font-size: 12px; }
.captcha-box input { min-height: 42px; }
.auth-support { margin: 22px 0 0; color: #6e7b73; font-size: 11px; line-height: 1.9; text-align: center; }
.error-reference { margin-top: 28px; font-size: 12px; text-align: center; }
.error-reference bdi { display: block; margin-top: 8px; direction: ltr; font: 12px/1.8 monospace; overflow-wrap: anywhere; user-select: all; }
.login-footer { padding: 18px 20px; border-top: 1px solid #dfe6e2; display: flex; justify-content: center; align-items: center; gap: 16px; color: #67766d; font-size: 11px; flex-wrap: wrap; }
@media (max-width: 560px) {
    .public-nav__inner { min-height: 72px; gap: 10px; }
    .public-brand__title { font-size: 12px; }
    .public-brand__mark { width: 36px; height: 36px; }
    .public-nav__label { display: none; }
    .login-main { padding: 28px 16px; }
    .login-heading h1 { font-size: 23px; }
    .auth-body { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { .auth-form input { transition: none; } }
