@font-face {
    font-family: 'Vazirmatn';
    src: url('../../assets/fonts/library/vazirmatn/vazirmatn-33.003.woff2') format('woff2');
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}
:root {
    color-scheme: light;
    --ml-blue: #24558C;
    --ml-text: #171717;
    --ml-muted: #64748B;
    --ml-surface: #F5F7FA;
    --ml-border: #E2E7EE;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.manager-login-page {
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    background: var(--ml-surface);
    color: var(--ml-text);
    font: 13px/1.8 'Vazirmatn', Tahoma, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'ss01';
}
.ml-card {
    width: 100%;
    max-width: 360px;
    background: #fff;
    border: 1px solid var(--ml-border);
    border-radius: 22px;
    box-shadow: 0 12px 36px rgba(23, 40, 64, .07);
    overflow: hidden;
}
.ml-header { padding: 16px 20px 14px; border-bottom: 1px solid #EDF0F4; text-align: center; }
.ml-mark { display: block; margin: 0 auto 11px; width: 34px; height: 4px; border-radius: 10px; background: var(--ml-blue); }
.ml-header h1 { font-size: 15px; font-weight: 700; line-height: 1.6; margin: 0; }
.ml-body { padding: 20px; text-align: center; }
.ml-section { margin: 0; }
.ml-label { display: block; margin: 0 0 9px; font-size: 13px; font-weight: 500; color: var(--ml-muted); }
.ml-store-label { margin-top: 12px; }
.ml-input {
    display: block; width: 100%; min-height: 46px; padding: 10px 12px;
    border: 1px solid var(--ml-border); border-radius: 12px;
    background: var(--ml-surface); color: var(--ml-text); font: inherit;
    text-align: center; direction: ltr; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.ml-input::placeholder { color: #7B8797; opacity: 1; }
.ml-input:focus { border-color: var(--ml-blue); background: #fff; box-shadow: 0 0 0 3px rgba(36,85,140,.10); }
.ml-mobile, .ml-code { font-size: 15px; font-weight: 500; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.ml-select { direction: rtl; text-align: right; }
.ml-primary { width: 100%; min-height: 44px; margin-top: 12px; padding: 10px 14px; border: 0; border-radius: 12px; background: var(--ml-blue); color: #fff; font: inherit; font-weight: 600; cursor: pointer; transition: background .15s ease; }
.ml-primary:hover:not(:disabled) { background: #0F4A8A; }
.ml-primary:disabled { opacity: .55; cursor: default; }
.ml-actions { display: grid; gap: 2px; margin-top: 8px; justify-items: center; }
.ml-link { min-height: 34px; padding: 4px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ml-blue); font: inherit; font-size: 12px; cursor: pointer; }
.ml-link:disabled { opacity: .55; cursor: default; }
.ml-link:hover:not(:disabled) { background: #F1F5FA; }
.ml-wait, .ml-number { color: var(--ml-muted); font-size: 12px; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.ml-number { margin: -3px 0 12px; direction: ltr; }
.ml-message { margin: 10px 0 0; padding: 8px 10px; border-radius: 9px; font-size: 12px; background: #F0F4F9; color: #334155; overflow-wrap: anywhere; }
.ml-message:empty { display: none; }
.ml-password-wrap { position: relative; }
.ml-password-wrap.is-password .ml-input { padding-right: 44px; padding-left: 44px; }
.ml-eye { position: absolute; inset-inline-start: 5px; top: 5px; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; color: var(--ml-muted); border: 0; background: transparent; border-radius: 8px; cursor: pointer; }
.ml-eye svg { width: 19px; height: 19px; }
button:focus-visible { outline: 2px solid var(--ml-blue); outline-offset: 2px; }
@media (max-width: 480px) { .manager-login-page { padding: 16px; } .ml-card { box-shadow: 0 8px 26px rgba(23,40,64,.05); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
