@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: #faf7f4; color: #362d26; direction: rtl;
    font-family: Vazirmatn, Tahoma, Arial, sans-serif;
}
.public-page *, .public-page *::before, .public-page *::after { box-sizing: border-box; }
.public-container { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }
.public-nav { border-bottom: 1px solid #e8dfd7; background: #fff; }
.public-nav__inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.public-brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; text-decoration: none; color: inherit; }
.public-brand__mark { display: block; width: 44px; height: 44px; flex: 0 0 44px; object-fit: contain; border-radius: 11px; }
.public-brand__copy { display: grid; min-width: 0; gap: 4px; }
.public-brand__title { font-size: 14px; font-weight: 800; line-height: 1.8; }
.public-brand__tagline { color: #75685c; font-size: 11px; }
.public-nav__label { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #e8dfd7; border-radius: 20px; font-size: 11px; white-space: nowrap; color: #75685c; }
.public-nav__dot { width: 6px; height: 6px; border-radius: 50%; background: #c48a62; }
.public-brand:focus-visible { outline: 2px solid #c48a62; outline-offset: 6px; border-radius: 6px; }
.login-main { flex: 1; display: grid; place-items: center; padding: 40px 20px; }
.login-content { width: min(440px, 100%); min-width: 0; }
.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: #75685c; font-size: 13px; line-height: 2; }
.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; }

/* The photograph is decorative; the dark fallback keeps the white copy readable. */
.login-page { position: relative; isolation: isolate; background: #17272d; color: #fff; }
.login-backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: #17272d; }
.login-backdrop img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.login-backdrop::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, #10212a22 0%, #10212a55 38%, #10212ad9 100%),
                linear-gradient(0deg, #0c1a2370, transparent 48%, #0c1a232b);
}
.login-page .public-nav { background: #10212a42; border-color: #ffffff21; backdrop-filter: blur(12px); }
.login-page .public-brand__title { color: #fff; }
.login-page .public-brand__tagline { color: #d6dedf; }
.login-page .public-nav__label { color: #e1e6e7; border-color: #ffffff2e; background: #ffffff08; }
.login-page .public-nav__dot { background: #edb388; box-shadow: 0 0 0 4px #edb38812; }
.login-page .login-main {
    width: min(1180px, 100%); margin-inline: auto; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .9fr);
    align-items: center; gap: 76px; padding: 64px 32px;
}
.login-page .login-content { width: 100%; max-width: 440px; justify-self: end; }
.login-story { min-width: 0; padding-bottom: 24px; }
.story-eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; color: #f2c49f; font-size: 12px; font-weight: 600; }
.story-eyebrow > span { height: 6px; width: 6px; border-radius: 50%; background: #efb184; box-shadow: 0 0 0 5px #efb1841a; }
.login-story h1 { margin: 0; font-size: clamp(28px, 3vw, 41px); font-weight: 850; line-height: 1.9; letter-spacing: -1px; color: #fff; text-shadow: 0 2px 24px #07131a33; }
.login-story h1 em { color: #f2b98f; font-style: normal; }
.story-description { margin: 24px 0 0; max-width: 510px; font-size: 14px; line-height: 2.3; color: #e0e5e7; }
.story-features { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 34px; }
.story-features > div { display: flex; align-items: center; gap: 12px; }
.story-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border: 1px solid #f2b98f4a; background: #ffffff0c; border-radius: 12px; color: #f2b98f; }
.story-icon .nav-icon { width: 22px; height: 22px; }
.story-features strong { display: block; color: #fff; font-size: 12px; }
.story-features small { display: block; margin-top: 5px; color: #d3dcdf; font-size: 10px; }
.story-path { margin-top: 48px; display: flex; align-items: center; gap: 14px; color: #e0e5e7; font-size: 11px; }
.story-path span { display: grid; gap: 8px; white-space: nowrap; }
.story-path b { font-size: 12px; color: #f2b98f; font-weight: 600; }
.story-path i { flex: 1; max-width: 40px; height: 1px; background: #f2b98f66; }

.auth-card { background: #fffdfa; color: #362d26; border: 1px solid #ffffffa6; border-radius: 22px; box-shadow: 0 24px 70px #06151f52; overflow: hidden; }
.auth-card-label { display: flex; justify-content: space-between; align-items: center; padding: 17px 30px; color: #845a3e; border-bottom: 1px solid #eadfd5; background: #f8f2ec; font-size: 12px; font-weight: 600; }
.auth-card-label .nav-icon { width: 18px; height: 18px; color: #a56e46; }
.auth-body { padding: 30px 32px 34px; }
.auth-progress { display: flex; align-items: center; gap: 6px; margin-bottom: 26px; }
.auth-progress span { height: 3px; flex: 1; border-radius: 2px; background: #eae3dc; }
.auth-progress .is-current { background: linear-gradient(90deg, #a56e46, #d5a17b); }
.auth-title { margin-bottom: 24px; }
.auth-title h2 { margin: 0 0 8px; font-size: 23px; line-height: 1.6; font-weight: 750; color: #362d26; }
.auth-title p { margin: 0; color: #75685c; 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; color: #514238; }
.auth-form input {
    width: 100%; min-height: 54px; padding: 12px 14px; border: 1px solid #d8c8bc;
    border-radius: 10px; color: #362d26; background: #fff; font: inherit; font-size: 17px;
    outline-offset: 2px; transition: border-color .15s;
}
.auth-form input::placeholder { color: #93867a; font-size: 14px; }
.auth-form input:focus-visible { outline: 3px solid #e6c7ac; border-color: #9b6842; }
.auth-form .mobile-input { direction: ltr; text-align: right; }
.auth-form .otp-input { direction: ltr; text-align: center; font-size: 24px; letter-spacing: 0; }
.input-hint { color: #817266; font-size: 11px; font-weight: 400; }
.primary-action {
    width: 100%; min-height: 52px; padding: 10px 16px; border: 1px solid #89562f; border-radius: 10px;
    background: linear-gradient(135deg, #a16a42, #7a4d2c); color: #fff; cursor: pointer; font: inherit; font-size: 14px; font-weight: 700;
    box-shadow: 0 6px 16px #8c5a3224;
}
.primary-action:hover { background: #754726; }
.primary-action:focus-visible, .link-action:focus-visible { outline: 3px solid #c28b60; outline-offset: 3px; }
.primary-action:disabled { cursor: wait; opacity: .7; }
.link-action { margin-top: 18px; padding: 4px 0; border: 0; background: none; color: #89562f; cursor: pointer; font: inherit; font-size: 12px; }
.link-action:hover { text-decoration: underline; }
.auth-alert { margin-bottom: 18px; padding: 10px 12px; border-radius: 8px; 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: #75685c; }
.otp-review bdi { font-weight: 700; }
.otp-countdown { display: flex; align-items: center; gap: 6px; min-height: 22px; margin-top: -10px; color: #75685c; 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 #e8dfd7; border-radius: 8px; font-size: 12px; }
.captcha-box label { font-size: 12px; }
.captcha-box input { min-height: 42px; }
.auth-support { display: flex; align-items: flex-start; justify-content: center; gap: 6px; margin: 18px 0 0; padding: 10px 12px; border: 1px solid #ffffff1f; border-radius: 12px; background: #10212a80; color: #e1e6e7; font-size: 10px; line-height: 1.9; }
.auth-support .nav-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: #edb388; }
.login-footer { padding: 16px 20px; border-top: 1px solid #ffffff21; background: #10212a66; display: flex; justify-content: center; align-items: center; gap: 16px; color: #d3dcdf; font-size: 11px; flex-wrap: wrap; }
.login-footer .app-version { border-color: #ffffff2e; background: #ffffff0c; color: #e1e6e7; }

@media (max-width: 1000px) {
    .login-page .login-main { gap: 36px; padding: 48px 28px; grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); }
    .story-features { gap: 20px; }
    .login-story h1 { font-size: 30px; }
    .story-path { margin-top: 32px; gap: 8px; }
}
@media (max-width: 760px) {
    .login-page .login-main { grid-template-columns: 1fr; gap: 26px; padding: 30px 20px 36px; width: min(510px, 100%); }
    .login-backdrop::after { background: linear-gradient(180deg, #10212abf, #10212a52 55%, #10212aa6); }
    .login-story { padding: 0; }
    .login-story h1 { font-size: 27px; line-height: 1.8; letter-spacing: -.6px; }
    .story-eyebrow { margin-bottom: 12px; font-size: 11px; }
    .story-description { margin-top: 12px; font-size: 12px; }
    .story-features, .story-path { display: none; }
    .login-page .login-content { max-width: none; }
    .auth-body { padding: 24px; }
    .auth-card-label { padding: 15px 24px; }
    .public-container { width: calc(100% - 32px); }
    .public-brand__title { font-size: 12px; }
    .public-brand__tagline { font-size: 10px; }
    .public-nav__inner { min-height: 76px; }
    .public-nav__label { display: none; }
    .login-footer { font-size: 9px; }
}
@media (max-width: 560px) {
    .public-brand { gap: 10px; }
    .public-brand__mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 10px; }
    .login-page .login-main { padding: 24px 16px; gap: 22px; }
    .login-story h1 { font-size: 24px; line-height: 1.75; }
    .story-description { display: none; }
    .auth-title h2 { font-size: 21px; }
    .auth-card-label { padding: 14px 22px; }
    .auth-body { padding: 22px; }
    .auth-support { margin-top: 14px; }
    .login-footer { padding: 12px 16px; gap: 6px 12px; }
    .login-heading h1 { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) { .auth-form input { transition: none; } }
