/* ================================
   IranNet Mobile Login
   ================================ */

.in-login,
.in-login * {
    box-sizing: border-box;
}

.in-login {
    --in-primary: #3157e3;
    --in-primary-dark: #1f3fb8;
    --in-primary-soft: #eef2ff;
    --in-navy: #111c36;
    --in-text: #18233d;
    --in-muted: #727d93;
    --in-line: #e4e9f2;
    --in-bg: #f5f7fb;
    --in-success: #14a66d;
    --in-danger: #d94c55;

    position: relative;
    min-height: calc(100vh - 120px);
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #f8faff 0%,
            #f3f6fb 48%,
            #fafbfe 100%
        );
    font-family: inherit;
    color: var(--in-text);
}

.in-login__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.in-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(2px);
    opacity: .65;
    animation: inFloatOrb 9s ease-in-out infinite alternate;
}

.in-orb--1 {
    width: 420px;
    height: 420px;
    top: -190px;
    right: -120px;
    background:
        radial-gradient(
            circle,
            rgba(70, 99, 225, .16),
            rgba(70, 99, 225, 0) 70%
        );
}

.in-orb--2 {
    width: 520px;
    height: 520px;
    bottom: -250px;
    left: -170px;
    background:
        radial-gradient(
            circle,
            rgba(49, 87, 227, .10),
            rgba(49, 87, 227, 0) 70%
        );
    animation-delay: -3s;
}

.in-orb--3 {
    width: 230px;
    height: 230px;
    top: 38%;
    left: 15%;
    background:
        radial-gradient(
            circle,
            rgba(104, 129, 231, .08),
            transparent 72%
        );
    animation-delay: -5s;
}

.in-grid-glow {
    position: absolute;
    width: 700px;
    height: 700px;
    right: -350px;
    bottom: -350px;
    opacity: .13;
    background-image:
        linear-gradient(rgba(37, 64, 153, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 64, 153, .16) 1px, transparent 1px);
    background-size: 42px 42px;
    transform: rotate(-12deg);
    mask-image:
        radial-gradient(circle, #000 0%, transparent 70%);
}

.in-login__shell {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 54px 0;
}

.in-auth-card {
    display: grid;
    grid-template-columns: .92fr 1.08fr;
    min-height: 650px;
    overflow: hidden;

    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(219, 226, 238, .9);
    border-radius: 30px;

    box-shadow:
        0 35px 100px rgba(27, 43, 82, .11),
        0 8px 28px rgba(27, 43, 82, .05);

    animation: inCardEnter .65s cubic-bezier(.16, 1, .3, 1);
}

/* =================================
   Visual panel
   ================================= */

.in-auth-visual {
    position: relative;
    overflow: hidden;
    padding: 34px;

    display: flex;
    flex-direction: column;

    color: #fff;

    background:
        radial-gradient(
            circle at 15% 8%,
            rgba(255, 255, 255, .15),
            transparent 27%
        ),
        radial-gradient(
            circle at 90% 90%,
            rgba(91, 126, 255, .32),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #162b69 0%,
            #203f9f 48%,
            #3157e3 100%
        );
}

.in-auth-visual::after {
    content: "";
    position: absolute;
    width: 310px;
    height: 310px;
    left: -130px;
    top: 140px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .11);

    box-shadow:
        0 0 0 42px rgba(255, 255, 255, .025),
        0 0 0 84px rgba(255, 255, 255, .018);
}

.in-auth-visual__mesh {
    position: absolute;
    inset: 0;
    opacity: .10;

    background-image:
        radial-gradient(
            rgba(255, 255, 255, .7) .7px,
            transparent .7px
        );

    background-size: 22px 22px;

    mask-image:
        linear-gradient(
            to bottom,
            #000 0%,
            transparent 75%
        );
}

.in-brand {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    gap: 11px;
}

.in-brand__mark {
    width: 37px;
    height: 37px;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 3px;

    padding: 8px;

    border-radius: 11px;

    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);

    backdrop-filter: blur(10px);
}

.in-brand__mark span {
    display: block;
    width: 5px;

    border-radius: 999px;

    background: currentColor;

    transform-origin: bottom;
}

.in-brand__mark span:nth-child(1) {
    height: 9px;
    animation: inBars 1.7s ease-in-out infinite alternate;
}

.in-brand__mark span:nth-child(2) {
    height: 17px;
    animation: inBars 1.7s .18s ease-in-out infinite alternate;
}

.in-brand__mark span:nth-child(3) {
    height: 13px;
    animation: inBars 1.7s .34s ease-in-out infinite alternate;
}

.in-brand__name {
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.3px;
}

.in-auth-visual__content {
    position: relative;
    z-index: 3;

    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.in-visual-icon {
    position: relative;

    width: 110px;
    height: 110px;

    margin-bottom: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.in-visual-icon__core {
    position: relative;
    z-index: 3;

    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .24),
            rgba(255, 255, 255, .11)
        );

    border: 1px solid rgba(255, 255, 255, .24);

    box-shadow:
        0 18px 40px rgba(5, 16, 57, .22);

    backdrop-filter: blur(12px);

    animation: inIconFloat 3.5s ease-in-out infinite;
}

.in-visual-icon__core svg {
    width: 30px;
    fill: #fff;
}

.in-visual-icon__ring {
    position: absolute;
    inset: 0;

    border-radius: 50%;

    border: 1px solid rgba(255, 255, 255, .15);

    animation: inPulseRing 3s ease-out infinite;
}

.in-visual-icon__ring--2 {
    animation-delay: 1.5s;
}

.in-visual-eyebrow {
    display: inline-block;
    margin-bottom: 10px;

    font-size: 12px;
    font-weight: 800;

    color: #cfd8ff;
}

.in-visual-copy h2 {
    margin: 0 0 14px;

    max-width: 390px;

    font-size: clamp(28px, 3vw, 39px);
    line-height: 1.5;
    font-weight: 950;

    color: #fff;
}

.in-visual-copy p {
    margin: 0;

    max-width: 390px;

    color: rgba(255, 255, 255, .78);

    line-height: 2;
    font-size: 14px;
}

.in-security-pills {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 27px;
}

.in-security-pill {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    min-height: 34px;

    padding: 5px 11px;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    color: rgba(255, 255, 255, .9);

    background: rgba(255, 255, 255, .09);

    border: 1px solid rgba(255, 255, 255, .13);
}

.in-check {
    width: 17px;
    height: 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .13);
}

.in-check svg {
    width: 11px;

    fill: none;
    stroke: #fff;
    stroke-width: 2;
}

.in-visual-footer {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 11px;

    color: rgba(255, 255, 255, .62);
}

.in-live-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #63eba9;

    box-shadow:
        0 0 0 5px rgba(99, 235, 169, .09);

    animation: inLive 1.7s ease-in-out infinite;
}

/* =================================
   Main panel
   ================================= */

.in-auth-main {
    position: relative;

    display: flex;

    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 1),
            rgba(252, 253, 255, 1)
        );
}

.in-auth-main__inner {
    width: min(430px, calc(100% - 50px));

    margin: auto;

    padding: 48px 0;
}

.in-mobile-brand {
    display: none;
}

.in-auth-header {
    margin-bottom: 27px;
}

.in-step-chip {
    display: inline-flex;
    align-items: center;

    min-height: 27px;

    padding: 4px 10px;

    margin-bottom: 13px;

    border-radius: 999px;

    background: var(--in-primary-soft);

    color: var(--in-primary);

    font-size: 10px;
    font-weight: 900;
}

.in-auth-header h1 {
    margin: 0 0 9px;

    font-size: 29px;
    font-weight: 950;
    line-height: 1.5;

    color: var(--in-navy);

    letter-spacing: -.7px;
}

.in-auth-header p {
    margin: 0;

    color: var(--in-muted);

    font-size: 13px;
    line-height: 1.9;
}

.in-progress {
    display: flex;
    align-items: center;

    margin-bottom: 30px;
}

.in-progress__item {
    display: flex;
    align-items: center;

    gap: 7px;

    white-space: nowrap;

    font-size: 10px;
    font-weight: 800;

    color: #98a0b1;
}

.in-progress__item > span {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f2f4f8;
    border: 1px solid #e2e7f0;

    font-size: 10px;

    transition: .35s ease;
}

.in-progress__item svg {
    width: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
}

.in-progress__item.is-current {
    color: var(--in-primary);
}

.in-progress__item.is-current > span {
    color: #fff;

    background: var(--in-primary);
    border-color: var(--in-primary);

    box-shadow:
        0 7px 18px rgba(49, 87, 227, .23);

    transform: scale(1.04);
}

.in-progress__item.is-complete {
    color: var(--in-success);
}

.in-progress__item.is-complete > span {
    color: var(--in-success);

    background: #eaf8f2;
    border-color: #c9ebdd;
}

.in-progress__rail {
    position: relative;

    flex: 1;

    height: 2px;

    margin: 0 10px;

    overflow: hidden;

    border-radius: 999px;

    background: #e8ecf3;
}

.in-progress__rail i {
    position: absolute;
    inset: 0;

    width: 0;

    background:
        linear-gradient(
            90deg,
            var(--in-success),
            var(--in-primary)
        );

    transition: width .7s ease;
}

.in-progress__rail i.is-filled {
    width: 100%;
}

/* =================================
   Alerts
   ================================= */

.in-alert {
    display: flex;
    align-items: flex-start;

    gap: 11px;

    margin-bottom: 20px;

    padding: 12px 13px;

    border-radius: 13px;

    border: 1px solid #e5e9f0;

    font-size: 11px;
    line-height: 1.9;

    animation: inAlertEnter .35s ease;
}

.in-alert__icon {
    flex: 0 0 26px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;
}

.in-alert__icon svg {
    width: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.in-alert--success {
    color: #187452;

    background: #f0faf6;
    border-color: #d8f0e5;
}

.in-alert--success .in-alert__icon {
    background: #daf3e8;
}

.in-alert--danger,
.in-alert--error {
    color: #9a3740;

    background: #fff5f5;
    border-color: #f1dada;
}

.in-alert--danger .in-alert__icon,
.in-alert--error .in-alert__icon {
    background: #fbe1e3;
}

.in-alert--warning {
    color: #86621a;

    background: #fff9ee;
    border-color: #f1e3bf;
}

.in-alert--info {
    color: #34589a;

    background: #f3f6ff;
    border-color: #dde5fb;
}

/* =================================
   Field
   ================================= */

.in-field label,
.in-field-head label {
    display: block;

    color: #26324b;

    font-size: 11px;
    font-weight: 900;
}

.in-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 10px;
}

.in-field-head span {
    color: #9ca5b6;

    font-size: 9px;
}

.in-input-shell {
    position: relative;

    height: 58px;

    display: flex;
    align-items: center;

    margin-top: 9px;

    border-radius: 15px;

    border: 1px solid #dce3ed;

    background: #fbfcfe;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        transform .2s ease;
}

.in-input-shell:focus-within {
    border-color: var(--in-primary);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(49, 87, 227, .075);

    transform: translateY(-1px);
}

.in-input-icon {
    width: 47px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #8994aa;

    border-left: 1px solid #ebeff5;
}

.in-input-icon svg {
    width: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.in-input-shell input {
    flex: 1;

    width: 100%;
    height: 100%;

    padding: 0 15px;

    border: 0;
    outline: 0;

    background: transparent;

    direction: ltr;
    text-align: left;

    color: var(--in-navy);

    font-size: 16px;
    font-weight: 700;

    letter-spacing: .5px;
}

.in-input-shell input::placeholder {
    color: #b0b8c7;
}

.in-input-valid {
    width: 28px;
    height: 28px;

    margin-left: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e9f8f1;
    color: var(--in-success);

    opacity: 0;
    transform: scale(.6);

    transition:
        opacity .2s ease,
        transform .25s cubic-bezier(.16, 1, .3, 1);
}

.in-input-valid.is-visible {
    opacity: 1;
    transform: scale(1);
}

.in-input-valid svg {
    width: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
}

.in-field-help {
    margin-top: 9px;

    color: #9099aa;

    font-size: 9px;
    line-height: 1.8;
}

/* =================================
   Primary button
   ================================= */

.in-primary-btn {
    position: relative;

    width: 100%;
    min-height: 55px;

    margin-top: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    overflow: hidden;

    border: 0;
    border-radius: 15px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #355ce8,
            #294bc7
        );

    box-shadow:
        0 15px 30px rgba(49, 87, 227, .20);

    font: inherit;
    font-size: 12px;
    font-weight: 900;

    cursor: pointer;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

.in-primary-btn::before {
    content: "";

    position: absolute;

    width: 90px;
    height: 180%;

    top: -40%;
    left: -120px;

    transform: rotate(22deg);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,.23),
            transparent
        );

    transition: left .55s ease;
}

.in-primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 20px 36px rgba(49, 87, 227, .27);
}

.in-primary-btn:hover::before {
    left: calc(100% + 40px);
}

.in-primary-btn:active {
    transform: translateY(0) scale(.99);
}

.in-btn-arrow {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    background: rgba(255,255,255,.13);

    transition: transform .2s ease;
}

.in-primary-btn:hover .in-btn-arrow {
    transform: translateX(-3px);
}

.in-btn-arrow svg {
    width: 16px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =================================
   OTP
   ================================= */

.in-phone-confirm {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 22px;

    padding: 11px 12px;

    border-radius: 13px;

    background: #f6f8fd;

    border: 1px solid #e5eaf3;
}

.in-phone-confirm__icon {
    flex: 0 0 36px;

    width: 36px;
    height: 36px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: var(--in-primary);

    background: #e9eeff;
}

.in-phone-confirm__icon svg {
    width: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.in-phone-confirm div:last-child {
    display: flex;
    flex-direction: column;

    gap: 2px;
}

.in-phone-confirm span {
    color: #8a94a8;

    font-size: 9px;
}

.in-phone-confirm strong {
    color: var(--in-navy);

    direction: ltr;

    font-size: 12px;
}

.in-otp {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;
}

.in-otp__input {
    width: 49px;
    height: 58px;

    border: 1px solid #dce3ed;
    outline: 0;

    border-radius: 14px;

    background: #fafbfd;

    color: var(--in-navy);

    text-align: center;

    font-size: 22px;
    font-weight: 950;

    caret-color: var(--in-primary);

    transition:
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease,
        background .18s ease;
}

.in-otp__input:focus {
    border-color: var(--in-primary);

    background: #fff;

    box-shadow:
        0 0 0 4px rgba(49, 87, 227, .07);

    transform: translateY(-2px);
}

.in-otp__input.is-filled {
    color: var(--in-primary);

    border-color: #bfcaf6;

    background: #f5f7ff;
}

.in-otp__separator {
    width: 8px;
    height: 2px;

    margin: 0 1px;

    border-radius: 99px;

    background: #c9d0dc;
}

.in-otp-status {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    margin: 15px 0 2px;
}

.in-countdown {
    position: relative;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.in-countdown__ring {
    position: absolute;

    width: 34px;
    height: 34px;

    transform: rotate(-90deg);
}

.in-countdown__track,
.in-countdown__value {
    fill: none;

    stroke-width: 2;
}

.in-countdown__track {
    stroke: #eaedf3;
}

.in-countdown__value {
    stroke: var(--in-primary);

    stroke-linecap: round;

    stroke-dasharray: 106.8;
    stroke-dashoffset: 0;

    transition: stroke-dashoffset 1s linear;
}

#irannetTimer {
    direction: ltr;

    color: #687287;

    font-size: 7px;
    font-weight: 900;
}

.in-countdown-label {
    color: #8f98a8;

    font-size: 9px;
}

/* =================================
   Resend
   ================================= */

.in-restart-form {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;

    margin-top: 16px;
}

.in-text-button,
.in-change-number {
    border: 0;
    outline: 0;

    padding: 5px;

    background: transparent;

    font: inherit;

    font-size: 9px;
    font-weight: 800;

    cursor: pointer;
}

.in-text-button {
    display: flex;
    align-items: center;

    gap: 5px;

    color: var(--in-primary);
}

.in-text-button:disabled {
    color: #a7afbd;

    cursor: default;
}

.in-text-button svg {
    width: 14px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.in-text-button:not(:disabled) svg {
    animation: inRotateOnce .6s ease;
}

.in-change-number {
    color: #6f798b;
}

/* =================================
   Divider / fallback
   ================================= */

.in-divider {
    display: flex;
    align-items: center;

    gap: 10px;

    margin: 26px 0 17px;
}

.in-divider span {
    flex: 1;

    height: 1px;

    background: #ebedf2;
}

.in-divider em {
    color: #adb4c0;

    font-style: normal;

    font-size: 8px;
}

.in-secondary-btn {
    min-height: 49px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    border-radius: 13px;

    border: 1px solid #e0e5ed;

    color: #49566e;

    background: #fff;

    text-decoration: none;

    font-size: 10px;
    font-weight: 850;

    transition:
        background .2s ease,
        border-color .2s ease,
        transform .2s ease,
        color .2s ease;
}

.in-secondary-btn:hover {
    color: var(--in-primary);

    border-color: #ccd6f4;

    background: #fafbff;

    transform: translateY(-1px);

    text-decoration: none;
}

.in-secondary-btn__icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 8px;

    color: var(--in-primary);

    background: #f0f3ff;
}

.in-secondary-btn svg {
    width: 15px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.in-auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;

    gap: 6px;

    margin-top: 20px;

    color: #a0a8b6;

    text-align: center;

    font-size: 8px;
}

.in-auth-footer__shield {
    display: flex;

    color: #8b98b4;
}

.in-auth-footer__shield svg {
    width: 13px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

/* =================================
   Disabled state
   ================================= */

.in-state-box {
    display: flex;

    gap: 12px;

    padding: 16px;

    border-radius: 14px;

    background: #fff8ec;
    border: 1px solid #f1e1bf;
}

.in-state-box__icon {
    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #996c13;

    background: #ffefcc;
}

.in-state-box svg {
    width: 19px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.in-state-box > div:last-child {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.in-state-box strong {
    color: #6e521b;

    font-size: 11px;
}

.in-state-box span {
    color: #98804f;

    font-size: 9px;
}

/* =================================
   Animations
   ================================= */

@keyframes inCardEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(.985);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes inFloatOrb {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }

    to {
        transform: translate3d(24px, -18px, 0) scale(1.08);
    }
}

@keyframes inBars {
    from {
        transform: scaleY(.65);
    }

    to {
        transform: scaleY(1);
    }
}

@keyframes inIconFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes inPulseRing {
    0% {
        transform: scale(.65);
        opacity: 0;
    }

    35% {
        opacity: .7;
    }

    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes inLive {
    0%,
    100% {
        opacity: .55;
        transform: scale(.85);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes inAlertEnter {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes inRotateOnce {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(-360deg);
    }
}

/* =================================
   Mobile
   ================================= */

@media (max-width: 880px) {

    .in-login__shell {
        width: min(590px, calc(100% - 24px));
        padding: 25px 0 40px;
    }

    .in-auth-card {
        grid-template-columns: 1fr;

        min-height: auto;

        border-radius: 24px;
    }

    .in-auth-visual {
        display: none;
    }

    .in-auth-main {
        min-height: auto;
    }

    .in-mobile-brand {
        position: absolute;

        top: 20px;
        right: 22px;

        display: flex;
        align-items: center;

        gap: 8px;

        color: var(--in-primary);
    }

    .in-mobile-brand .in-brand__mark {
        width: 31px;
        height: 31px;

        padding: 7px;

        border-color: #dce3f5;

        background: #f1f4ff;
    }

    .in-mobile-brand strong {
        color: var(--in-navy);

        font-size: 14px;
    }

    .in-auth-main__inner {
        width: calc(100% - 40px);

        padding: 80px 0 30px;
    }
}

@media (max-width: 520px) {

    .in-login {
        min-height: 100vh;

        background: #f7f9fc;
    }

    .in-login__shell {
        width: calc(100% - 18px);

        padding: 10px 0 25px;
    }

    .in-auth-card {
        border-radius: 20px;

        box-shadow:
            0 15px 45px rgba(27, 43, 82, .07);
    }

    .in-auth-main__inner {
        width: calc(100% - 28px);

        padding-top: 75px;
    }

    .in-auth-header h1 {
        font-size: 24px;
    }

    .in-auth-header p {
        font-size: 11px;
    }

    .in-progress__item {
        font-size: 8px;
    }

    .in-progress__item > span {
        width: 24px;
        height: 24px;
    }

    .in-otp {
        gap: 5px;
    }

    .in-otp__input {
        flex: 1;

        width: auto;
        max-width: 47px;
        min-width: 0;

        height: 53px;

        border-radius: 12px;

        font-size: 20px;
    }

    .in-otp__separator {
        width: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .in-login *,
    .in-login *::before,
    .in-login *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}