@font-face {
    font-family: Samim;
    src: url('/fonts/Samim.eot?v=1.0.2');
    src: url('/fonts/Samim.eot?v=1.0.2#iefix') format('embedded-opentype'), url('/fonts/Samim.woff?v=1.0.2') format('woff'), url('/fonts/Samim.ttf?v=1.0.2') format('truetype');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: Samim;
    src: url('/fonts/Samim-Bold.eot?v=1.0.2');
    src: url('/fonts/Samim-Bold.eot?v=1.0.2#iefix') format('embedded-opentype'), url('/fonts/Samim-Bold.woff?v=1.0.2') format('woff'), url('/fonts/Samim-Bold.ttf?v=1.0.2') format('truetype');
    font-weight: bold;
    font-display: swap;
}

.au-page {
    --au-bg: #eef4fb;
    --au-bg-2: #f7fbff;
    --au-card: #ffffff;
    --au-text: #16283c;
    --au-muted: #6b7f95;
    --au-line: #e2eaf3;
    --au-primary: #0f9d8f;
    --au-primary-dark: #0b7d72;
    --au-primary-soft: #e6f7f5;
    --au-accent: #1f6feb;
    --au-danger: #d64545;
    --au-danger-soft: #fdeceb;
    --au-ok: #1f9254;
    --au-radius: 18px;
    --au-shadow: 0 18px 45px rgba(19, 51, 82, .10);
    min-height: 100vh;
    background: radial-gradient(1200px 500px at 100% -10%, #dff3ef 0%, rgba(223, 243, 239, 0) 60%), radial-gradient(900px 460px at -10% 0%, #dfeafb 0%, rgba(223, 234, 251, 0) 55%), var(--au-bg);
    color: var(--au-text);
    font-family: 'Samim', 'IRANSansX', Tahoma, sans-serif;
    font-size: 15px;
    line-height: 1.9;
    padding: 28px 16px 48px;
}

.au-page *,
.au-page *::before,
.au-page *::after {
    box-sizing: border-box;
}

.au-shell {
    max-width: 1040px;
    margin: 0 auto;
}

.au-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 22px;
    color: var(--au-text);
    text-decoration: none;
}

.au-brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--au-primary) 0%, #34c3a8 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(15, 157, 143, .28);
}

.au-brand-logo svg {
    width: 26px;
    height: 26px;
}

.au-brand-text strong {
    display: block;
    font-size: 19px;
    font-weight: bold;
    line-height: 1.4;
}

.au-brand-text span {
    display: block;
    font-size: 12.5px;
    color: var(--au-muted);
}

.au-wrap {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 0;
    background: var(--au-card);
    border: 1px solid var(--au-line);
    border-radius: 26px;
    box-shadow: var(--au-shadow);
    overflow: hidden;
}

.au-aside {
    background: linear-gradient(160deg, #0b3c4f 0%, #0f6f77 55%, #0f9d8f 100%);
    color: #eafaf7;
    padding: 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.au-aside h2 {
    font-size: 21px;
    font-weight: bold;
    margin: 0;
    line-height: 1.7;
    color: #fff;
}

.au-aside p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(234, 250, 247, .82);
    line-height: 2;
}

.au-aside-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.au-aside-list li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    color: rgba(234, 250, 247, .92);
}

.au-aside-list .au-tick {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.au-aside-list .au-tick svg {
    width: 12px;
    height: 12px;
}

.au-aside-foot {
    margin-top: auto;
    font-size: 12px;
    color: rgba(234, 250, 247, .62);
}

.au-main {
    padding: 30px 30px 32px;
}

.au-steps {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
}

.au-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.au-step-num {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef2f7;
    color: var(--au-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    font-weight: bold;
    transition: all .2s ease;
}

.au-step-label {
    font-size: 12.5px;
    color: var(--au-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.au-step.is-active .au-step-num {
    background: var(--au-primary);
    color: #fff;
    box-shadow: 0 6px 14px rgba(15, 157, 143, .28);
}

.au-step.is-active .au-step-label {
    color: var(--au-text);
    font-weight: bold;
}

.au-step.is-done .au-step-num {
    background: var(--au-primary-soft);
    color: var(--au-primary-dark);
}

.au-step-line {
    flex: 0 0 16px;
    height: 1px;
    background: var(--au-line);
}

.au-title {
    font-size: 19px;
    font-weight: bold;
    margin: 0 0 4px;
}

.au-sub {
    font-size: 13px;
    color: var(--au-muted);
    margin: 0 0 18px;
}

.au-panel {
    display: none;
}

.au-panel.is-active {
    display: block;
    animation: auFade .25s ease;
}

@keyframes auFade {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.au-roles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 6px;
}

.au-role {
    position: relative;
    display: block;
    cursor: pointer;
}

.au-role input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.au-role-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px 14px;
    border: 1.5px solid var(--au-line);
    border-radius: 14px;
    background: #fbfdff;
    text-align: center;
    transition: all .18s ease;
}

.au-role-box .au-role-ico {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--au-primary-soft);
    color: var(--au-primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.au-role-box svg {
    width: 20px;
    height: 20px;
}

.au-role-box b {
    font-size: 13.5px;
    font-weight: bold;
}

.au-role-box small {
    font-size: 11.5px;
    color: var(--au-muted);
    line-height: 1.7;
}

.au-role:hover .au-role-box {
    border-color: #bcd9d5;
    transform: translateY(-1px);
}

.au-role input:checked + .au-role-box {
    border-color: var(--au-primary);
    background: var(--au-primary-soft);
    box-shadow: 0 10px 22px rgba(15, 157, 143, .12);
}

.au-role input:focus-visible + .au-role-box {
    outline: 2px solid var(--au-accent);
    outline-offset: 2px;
}

.au-field {
    margin-bottom: 14px;
}

.au-label {
    display: block;
    font-size: 12.5px;
    color: var(--au-muted);
    margin-bottom: 6px;
    font-weight: bold;
}

.au-input,
.au-select,
.au-textarea {
    width: 100%;
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    background: #fbfdff;
    color: var(--au-text);
    font-family: inherit;
    font-size: 14.5px;
    padding: 11px 14px;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.au-input::placeholder,
.au-textarea::placeholder {
    color: #a9bacd;
}

.au-input:focus,
.au-select:focus,
.au-textarea:focus {
    border-color: var(--au-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 157, 143, .12);
}

.au-input[dir="ltr"] {
    text-align: center;
    letter-spacing: 1px;
    font-size: 16px;
}

.au-input.is-invalid,
.au-select.is-invalid {
    border-color: var(--au-danger);
    background: var(--au-danger-soft);
}

.au-hint {
    font-size: 11.5px;
    color: var(--au-muted);
    margin-top: 5px;
}

.au-error {
    display: none;
    font-size: 12px;
    color: var(--au-danger);
    margin-top: 6px;
    line-height: 1.8;
}

.au-error.is-shown {
    display: block;
}

.au-msg {
    display: none;
    border-radius: 12px;
    padding: 10px 13px;
    font-size: 12.5px;
    margin-bottom: 14px;
    line-height: 1.9;
}

.au-msg.is-shown {
    display: block;
}

.au-msg.is-ok {
    background: #e8f6ee;
    color: #14663c;
    border: 1px solid #bfe6cf;
}

.au-msg.is-bad {
    background: var(--au-danger-soft);
    color: #a32c2c;
    border: 1px solid #f3c9c6;
}

.au-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.au-btn {
    width: 100%;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--au-primary) 0%, #2bb9a6 100%);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: bold;
    padding: 12px 18px;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(15, 157, 143, .22);
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.au-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 157, 143, .28);
}

.au-btn:active {
    transform: none;
}

.au-btn[disabled] {
    opacity: .62;
    cursor: not-allowed;
    box-shadow: none;
}

.au-btn.is-ghost {
    background: #fff;
    color: var(--au-text);
    border: 1.5px solid var(--au-line);
    box-shadow: none;
}

.au-btn.is-ghost:hover {
    border-color: #c8d8e6;
    box-shadow: 0 10px 20px rgba(19, 51, 82, .08);
}

.au-btn.is-block {
    width: auto;
}

.au-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
}

.au-alt {
    text-align: center;
    font-size: 12.5px;
    color: var(--au-muted);
    margin: 16px 0 0;
}

.au-alt button {
    background: none;
    border: 0;
    color: var(--au-primary-dark);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 2px;
}

.au-alt button:hover {
    text-decoration: underline;
}

.au-otp {
    display: flex;
    gap: 10px;
    justify-content: center;
    direction: ltr;
    margin: 6px 0 4px;
}

.au-otp-box {
    width: 52px;
    height: 62px;
    border: 1.5px solid var(--au-line);
    border-radius: 14px;
    background: #fbfdff;
    text-align: center;
    font-family: inherit;
    font-size: 24px;
    font-weight: bold;
    color: var(--au-text);
    outline: none;
    transition: all .15s ease;
    padding: 0;
}

.au-otp-box:focus {
    border-color: var(--au-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(15, 157, 143, .14);
}

.au-otp-box.is-filled {
    border-color: #bcd9d5;
    background: var(--au-primary-soft);
}

.au-otp.is-bad .au-otp-box {
    border-color: var(--au-danger);
    background: var(--au-danger-soft);
    animation: auShake .3s ease;
}

@keyframes auShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.au-codebox {
    display: none;
    align-items: center;
    gap: 10px;
    background: #fff8e6;
    border: 1.5px dashed #e2b866;
    border-radius: 12px;
    padding: 10px 14px;
    margin: 4px 0 14px;
    font-size: 12.5px;
    color: #7a5a12;
}

.au-codebox.is-shown {
    display: flex;
    flex-wrap: wrap;
}

.au-codebox span {
    display: block;
    width: 100%;
    line-height: 1.9;
}

.au-codebox b {
    font-size: 20px;
    letter-spacing: 4px;
    color: #6b4c06;
    direction: ltr;
    display: inline-block;
}

.au-codebox button {
    margin-right: auto;
    background: #fff;
    border: 1px solid #e2c789;
    color: #6b4c06;
    border-radius: 9px;
    font-family: inherit;
    font-size: 11.5px;
    padding: 4px 10px;
    cursor: pointer;
}

.au-resend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--au-muted);
}

.au-resend button {
    background: none;
    border: 0;
    color: var(--au-primary-dark);
    font-family: inherit;
    font-size: 12.5px;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
}

.au-resend button[disabled] {
    color: var(--au-muted);
    cursor: default;
}

.au-phone-note {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f8fd;
    border: 1px solid #e2eaf3;
    border-radius: 12px;
    padding: 9px 12px;
    font-size: 12.5px;
    color: var(--au-muted);
    margin-bottom: 16px;
}

.au-phone-note svg {
    width: 16px;
    height: 16px;
    color: var(--au-accent);
    flex: 0 0 16px;
}

.au-foot {
    text-align: center;
    font-size: 12px;
    color: var(--au-muted);
    margin-top: 20px;
}

.au-captcha {
    display: flex;
    justify-content: center;
    margin: 4px 0 16px;
}

.au-captcha-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.au-captcha img {
    border-radius: 10px;
    border: 1px solid var(--au-line);
    width: auto !important;
    height: auto !important;
    max-width: 100%;
}

.au-captcha input.au-otp-single {
    width: 120px;
    text-align: center;
    letter-spacing: 3px;
    font-size: 17px;
    padding: 9px 12px;
    border: 1px solid var(--au-line);
    border-radius: 12px;
    background: #fff;
    color: var(--au-text);
    font-family: inherit;
}

.au-captcha input.au-otp-single:focus {
    border-color: var(--au-primary);
    box-shadow: 0 0 0 4px rgba(15, 157, 143, 0.12);
    outline: none;
}

.au-captcha .au-refresh {
    background: #eef7f6;
    border: 1px solid #cfe6e2;
    color: var(--au-primary-dark);
    border-radius: 10px;
    font-family: inherit;
    font-size: 12px;
    padding: 6px 10px;
    cursor: pointer;
}

.au-captcha .au-error.is-shown {
    width: 100%;
    text-align: center;
}

.au-grid2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 14px;
}

.au-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
    margin: 6px 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--au-line);
}

.au-section-title .au-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--au-primary);
    display: inline-block;
}

.au-map {
    height: 230px;
    border-radius: 14px;
    border: 1.5px solid var(--au-line);
    overflow: hidden;
    margin-bottom: 18px;
    background: #eef2f7;
}

.au-map iframe,
.au-map .leaflet-container {
    width: 100%;
    height: 100%;
    border: 0;
}

.au-file {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1.5px dashed #cddced;
    border-radius: 12px;
    padding: 10px 12px;
    background: #fbfdff;
}

.au-file input[type="file"] {
    font-size: 12px;
    font-family: inherit;
    max-width: 100%;
}

.au-thumb {
    width: 92px;
    height: 92px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--au-line);
    background: #fff;
}

.au-seg {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.au-seg label {
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    padding: 10px 12px;
    cursor: pointer;
    background: #fbfdff;
    font-size: 13.5px;
    transition: all .15s ease;
}

.au-seg input {
    accent-color: var(--au-primary);
    width: 16px;
    height: 16px;
}

.au-seg label:hover {
    border-color: #c8d8e6;
}

.au-seg input:checked + span {
    font-weight: bold;
}

.au-tags {
    border: 1.5px solid var(--au-line);
    border-radius: 12px;
    padding: 6px 8px;
    background: #fbfdff;
    min-height: 44px;
}

.au-tags .bootstrap-tagsinput {
    width: 100%;
}

.au-tags .tagsinput {
    display: inline-block;
    padding: 2px 7px;
    margin: 2px 0;
    border-radius: 7px;
    background: var(--au-primary-soft);
    color: var(--au-primary-dark);
    font-size: 12px;
    font-family: inherit;
}

.au-tags .tagsinput input {
    border: 0;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: 12.5px;
    width: 90px;
}

.au-spin {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auSpin .7s linear infinite;
    vertical-align: -2px;
}

@keyframes auSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 900px) {
    .au-wrap {
        grid-template-columns: 1fr;
    }

    .au-aside {
        display: none;
    }
}

@media (max-width: 560px) {
    .au-page {
        padding: 16px 10px 34px;
    }

    .au-main {
        padding: 22px 16px 24px;
    }

    .au-roles {
        grid-template-columns: 1fr;
    }

    .au-role-box {
        flex-direction: row;
        justify-content: flex-start;
        text-align: right;
        padding: 12px 14px;
    }

    .au-row,
    .au-grid2,
    .au-seg {
        grid-template-columns: 1fr;
    }

    .au-otp {
        gap: 7px;
    }

    .au-otp-box {
        width: 46px;
        height: 56px;
        font-size: 21px;
    }

    .au-step-label {
        display: none;
    }

    .au-checkrow {
        font-size: 12px;
    }
}

/* ---- password field with show/hide toggle ---- */
.au-pw {
    position: relative;
}

.au-pw .au-input {
    padding-left: 46px;
    text-align: left;
}

.au-pw-toggle {
    position: absolute;
    top: 50%;
    left: 6px;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--au-muted);
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.au-pw-toggle:hover {
    background: var(--au-primary-soft);
    color: var(--au-primary-dark);
}

.au-pw-toggle:focus-visible {
    outline: 2px solid var(--au-accent);
    outline-offset: 1px;
}

.au-pw-toggle svg {
    width: 19px;
    height: 19px;
}

.au-pw-toggle .au-hide-eye {
    display: none;
}

.au-pw.is-shown .au-pw-toggle .au-show-eye {
    display: none;
}

.au-pw.is-shown .au-pw-toggle .au-hide-eye {
    display: block;
}

/* ---- remember me row ---- */
.au-checkrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin: 2px 0 18px;
    font-size: 12.5px;
}

.au-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--au-muted);
}

.au-check input[type="checkbox"] {
    width: 17px;
    height: 17px;
    margin: 0;
    accent-color: var(--au-primary);
    cursor: pointer;
}

.au-check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--au-accent);
    outline-offset: 2px;
}

.au-link-muted {
    color: var(--au-primary-dark);
    text-decoration: none;
}

.au-link-muted:hover {
    text-decoration: underline;
}

/* ---- DNTCaptcha laid out as a single tidy row (panel login) ---- */
.au-captcha-row {
    display: block;
    margin: 4px 0 16px;
}

.au-captcha-row > .au-label {
    margin-bottom: 8px;
}

.au-captcha-row .dntCaptcha {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.au-captcha-row .au-captcha-wrap {
    flex-wrap: nowrap;
    order: 1;
}

.au-captcha-row .dntCaptcha img {
    order: 2;
    display: block;
    background: var(--au-primary-soft);
}

.au-captcha-row .au-refresh {
    order: 3;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    font-size: 0;
    line-height: 0;
}

.au-captcha-row .au-refresh::after {
    content: "";
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3.5V9h-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-2.64-6.36'/%3E%3Cpath d='M21 3.5V9h-5.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.au-captcha-row .au-refresh:hover::after {
    transform: rotate(-90deg);
    transition: transform .25s ease;
}

.au-captcha-row .dntCaptcha .au-error {
    flex: 0 0 100%;
    text-align: center;
    margin-top: 0;
}

@media (max-width: 420px) {
    .au-captcha-row .dntCaptcha {
        gap: 8px;
    }

    .au-captcha-row input.au-otp-single {
        width: 104px;
    }
}
