/**
 * صفحه ورود — تم AI / Tech، مینیمال، انیمیشن‌های ظریف
 */
:root {
    --ai-bg: #030712;
    --ai-bg-2: #0a0f1e;
    --ai-surface: rgba(15, 23, 42, 0.55);
    --ai-surface-solid: rgba(15, 23, 42, 0.82);
    --ai-border: rgba(56, 189, 248, 0.18);
    --ai-border-focus: rgba(56, 189, 248, 0.55);
    --ai-cyan: #22d3ee;
    --ai-cyan-dim: #0891b2;
    --ai-violet: #818cf8;
    --ai-violet-bright: #a78bfa;
    --ai-primary: #38bdf8;
    --ai-primary-hover: #0ea5e9;
    --ai-text: #f1f5f9;
    --ai-muted: #94a3b8;
    --ai-muted-2: #64748b;
    --ai-success: #34d399;
    --ai-error: #f87171;
    --ai-glow: 0 0 40px rgba(34, 211, 238, 0.15);
    --ai-radius: 22px;
    --ai-radius-sm: 14px;
    --ai-safe-bottom: max(16px, env(safe-area-inset-bottom, 0px));
    --ai-safe-top: max(16px, env(safe-area-inset-top, 0px));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'IranSans', Tahoma, Arial, sans-serif;
    direction: rtl;
    color: var(--ai-text);
    min-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--ai-bg);
}

/* ─── صفحه ─── */
.login-page {
    position: relative;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    padding: var(--ai-safe-top) 16px var(--ai-safe-bottom);
}

/* ─── پس‌زمینه AI ─── */
.login-page__bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(99, 102, 241, 0.18) 0%, transparent 55%),
        radial-gradient(ellipse 70% 50% at 85% 75%, rgba(34, 211, 238, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 100%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
        linear-gradient(180deg, var(--ai-bg) 0%, var(--ai-bg-2) 100%);
}

.login-page__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 20%, transparent 75%);
    animation: ai-grid-drift 24s linear infinite;
}

@keyframes ai-grid-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(48px); }
}

.login-page__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.7;
}

.login-page__scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(34, 211, 238, 0.015) 2px,
        rgba(34, 211, 238, 0.015) 4px
    );
    animation: ai-scan 8s linear infinite;
}

@keyframes ai-scan {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.4; }
}

.login-page__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: ai-orb-float 20s ease-in-out infinite;
}

.login-page__orb--1 {
    width: 320px;
    height: 320px;
    top: -8%;
    right: -5%;
    background: rgba(99, 102, 241, 0.25);
}

.login-page__orb--2 {
    width: 280px;
    height: 280px;
    bottom: 5%;
    left: -8%;
    background: rgba(34, 211, 238, 0.18);
    animation-delay: -7s;
    animation-direction: reverse;
}

.login-page__orb--3 {
    width: 180px;
    height: 180px;
    top: 45%;
    left: 30%;
    background: rgba(167, 139, 250, 0.12);
    animation-delay: -12s;
}

@keyframes ai-orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-20px, 15px) scale(1.05); }
    66% { transform: translate(15px, -10px) scale(0.95); }
}

/* ─── لایوت دو ستونه ─── */
.login-page__shell {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    gap: clamp(24px, 5vw, 64px);
    padding: 12px 0;
}

/* ─── پنل AI (دسکتاپ) ─── */
.login-ai-panel {
    flex: 1;
    max-width: 420px;
    display: none;
    flex-direction: column;
    gap: 28px;
    animation: ai-fade-in 0.8s ease-out 0.15s both;
}

@media (min-width: 900px) {
    .login-ai-panel {
        display: flex;
    }
}

@keyframes ai-fade-in {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ai-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.25);
    width: fit-content;
    animation: ai-badge-pulse 3s ease-in-out infinite;
}

.ai-badge__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ai-cyan);
    box-shadow: 0 0 10px var(--ai-cyan);
    animation: ai-dot-blink 2s ease-in-out infinite;
}

@keyframes ai-badge-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
    50% { box-shadow: 0 0 20px rgba(34, 211, 238, 0.15); }
}

@keyframes ai-dot-blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.login-ai-panel__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 0%, var(--ai-cyan) 50%, var(--ai-violet-bright) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-ai-panel__desc {
    font-size: 0.95rem;
    color: var(--ai-muted);
    line-height: 1.75;
    max-width: 36ch;
}

.ai-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ai-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: var(--ai-radius-sm);
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: border-color 0.3s, transform 0.3s, background 0.3s;
    animation: ai-feature-in 0.6s ease-out both;
}

.ai-feature:nth-child(1) { animation-delay: 0.3s; }
.ai-feature:nth-child(2) { animation-delay: 0.45s; }
.ai-feature:nth-child(3) { animation-delay: 0.6s; }

@keyframes ai-feature-in {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-feature:hover {
    border-color: rgba(34, 211, 238, 0.3);
    background: rgba(15, 23, 42, 0.6);
    transform: translateX(-4px);
}

.ai-feature__icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(129, 140, 248, 0.15));
    border: 1px solid rgba(34, 211, 238, 0.2);
    color: var(--ai-cyan);
}

.ai-feature__text {
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.ai-feature__text strong {
    display: block;
    font-size: 0.88rem;
    color: var(--ai-text);
    margin-bottom: 2px;
}

/* شبکه عصبی SVG */
.ai-neural {
    width: 100%;
    max-width: 340px;
    opacity: 0.85;
    animation: ai-neural-glow 4s ease-in-out infinite;
}

@keyframes ai-neural-glow {
    0%, 100% { filter: drop-shadow(0 0 8px rgba(34, 211, 238, 0.3)); }
    50% { filter: drop-shadow(0 0 16px rgba(129, 140, 248, 0.4)); }
}

.ai-neural__line {
    stroke: url(#aiLineGrad);
    stroke-width: 1;
    fill: none;
    stroke-dasharray: 4 6;
    animation: ai-dash 12s linear infinite;
}

.ai-neural__line--2 { animation-delay: -4s; }
.ai-neural__line--3 { animation-delay: -8s; }

@keyframes ai-dash {
    to { stroke-dashoffset: -100; }
}

.ai-neural__node {
    fill: var(--ai-cyan);
    animation: ai-node-pulse 3s ease-in-out infinite;
}

.ai-neural__node--violet {
    fill: var(--ai-violet);
    animation-delay: -1.5s;
}

@keyframes ai-node-pulse {
    0%, 100% { opacity: 0.6; r: 4; }
    50% { opacity: 1; r: 5; }
}

/* ─── کارت ورود ─── */
.login-page__main {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: 420px;
    animation: ai-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes ai-card-in {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-card {
    position: relative;
    width: 100%;
    padding: clamp(28px, 5vw, 36px) clamp(22px, 4vw, 32px);
    border-radius: var(--ai-radius);
    background: var(--ai-surface);
    border: 1px solid var(--ai-border);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow:
        var(--ai-glow),
        0 24px 64px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--ai-cyan), transparent);
    opacity: 0.6;
}

.login-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), transparent 40%, rgba(129, 140, 248, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* ─── هدر ─── */
.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 24px rgba(34, 211, 238, 0.08);
    overflow: hidden;
    animation: ai-logo-float 6s ease-in-out infinite;
}

@keyframes ai-logo-float {
    0%, 100% { transform: translateY(0); box-shadow: 0 0 24px rgba(34, 211, 238, 0.1); }
    50% { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(34, 211, 238, 0.18); }
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    display: block;
}

.login-header h1 {
    font-size: clamp(1.1rem, 3.5vw, 1.35rem);
    font-weight: 800;
    color: var(--ai-text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.login-header p {
    font-size: 0.82rem;
    color: var(--ai-muted);
    line-height: 1.55;
}

.login-header__ai-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 0.72rem;
    color: var(--ai-violet-bright);
    font-weight: 600;
}

.login-header__ai-tag i {
    font-size: 0.7rem;
    animation: ai-spin-slow 8s linear infinite;
}

@keyframes ai-spin-slow {
    to { transform: rotate(360deg); }
}

/* ─── تب‌ها ─── */
.login-tabs {
    display: flex;
    position: relative;
    background: rgba(2, 6, 23, 0.5);
    border-radius: 12px;
    padding: 4px;
    border: 1px solid rgba(56, 189, 248, 0.12);
}

.login-tab {
    flex: 1;
    position: relative;
    z-index: 1;
    border: none;
    border-radius: 9px;
    padding: 10px 8px;
    font-size: clamp(11px, 3vw, 12.5px);
    font-weight: 700;
    cursor: pointer;
    background: transparent;
    color: var(--ai-muted);
    transition: color 0.25s;
    white-space: nowrap;
    font-family: inherit;
}

.login-tab.active {
    color: var(--ai-text);
}

.login-tabs__indicator {
    position: absolute;
    top: 4px;
    bottom: 4px;
    right: 4px;
    width: calc(50% - 4px);
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(129, 140, 248, 0.15));
    border: 1px solid rgba(34, 211, 238, 0.25);
    box-shadow: 0 0 16px rgba(34, 211, 238, 0.1);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.login-tabs[data-active="sms"] .login-tabs__indicator {
    transform: translateX(-100%);
}

.login-tab-panel {
    display: none;
}

.login-tab-panel.active {
    display: block;
    animation: ai-panel-in 0.35s ease-out;
}

@keyframes ai-panel-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-form {
    margin-top: 20px;
}

/* ─── فرم ─── */
.alert {
    padding: 11px 14px;
    border-radius: 11px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.84rem;
    line-height: 1.5;
    animation: ai-alert-in 0.4s ease;
}

@keyframes ai-alert-in {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.alert-error {
    background: rgba(248, 113, 113, 0.1);
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.25);
}

.alert-success {
    background: rgba(52, 211, 153, 0.1);
    color: #6ee7b7;
    border: 1px solid rgba(52, 211, 153, 0.25);
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 7px;
}

.form-group label i {
    color: var(--ai-cyan);
    font-size: 0.82rem;
    opacity: 0.85;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 11px;
    font-size: 14px;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
    background: rgba(2, 6, 23, 0.5);
    color: var(--ai-text);
    font-family: inherit;
}

.form-group input::placeholder {
    color: var(--ai-muted-2);
}

.form-group input:focus {
    outline: none;
    border-color: var(--ai-border-focus);
    background: rgba(2, 6, 23, 0.75);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.12), 0 0 20px rgba(34, 211, 238, 0.08);
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--ai-muted);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.toggle-password:hover {
    color: var(--ai-cyan);
    background: rgba(34, 211, 238, 0.08);
}

.text-danger {
    color: var(--ai-error);
    font-size: 11px;
    margin-top: 5px;
    display: block;
}

.checkbox-group {
    margin-bottom: 18px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 0.82rem;
    color: var(--ai-muted);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid rgba(100, 116, 139, 0.6);
    border-radius: 5px;
    position: relative;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, var(--ai-cyan-dim), var(--ai-violet));
    border-color: var(--ai-cyan);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
}

/* ─── دکمه‌ها ─── */
.btn-login,
.btn-send-code {
    width: 100%;
    padding: 13px 18px;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: inherit;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.25s;
}

.btn-login {
    background: linear-gradient(135deg, var(--ai-cyan-dim) 0%, #6366f1 100%);
    color: #fff;
    box-shadow: 0 4px 24px rgba(34, 211, 238, 0.25), 0 0 0 1px rgba(34, 211, 238, 0.2);
}

.btn-login::before,
.btn-send-code::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.15) 50%, transparent 60%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.btn-login:hover::before,
.btn-send-code:hover:not(:disabled)::before {
    transform: translateX(100%);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(34, 211, 238, 0.35);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-send-code {
    margin-top: 6px;
    background: linear-gradient(135deg, rgba(34, 211, 238, 0.85), rgba(99, 102, 241, 0.9));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-send-code:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.35);
}

.btn-send-code:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ─── 2FA ─── */
.twofa-desc {
    margin: 0 0 14px;
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--ai-muted);
    text-align: center;
}

.twofa-mobile {
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: var(--ai-cyan);
    font-weight: 600;
    padding: 0 2px;
}

.twofa-code-input {
    text-align: center;
    letter-spacing: 0.25em;
    font-variant-numeric: tabular-nums;
}

.twofa-resend-row {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-height: 28px;
}

.twofa-resend-timer {
    display: block;
    font-size: 0.75rem;
    color: var(--ai-muted-2);
    font-variant-numeric: tabular-nums;
    direction: ltr;
    unicode-bidi: isolate;
}

.btn-resend-minimal {
    border: none;
    background: transparent;
    color: var(--ai-cyan);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 2px 6px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: inherit;
    transition: color 0.15s;
}

.btn-resend-minimal:hover:not(:disabled) {
    color: var(--ai-violet-bright);
}

.btn-resend-minimal:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: none;
}

.btn-resend-minimal[hidden] {
    display: none !important;
}

.sms-code-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.sms-code-row input {
    flex: 1;
    text-align: center;
    letter-spacing: 0.25em;
    font-size: 1rem;
    font-weight: 700;
}

.sms-timer {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: var(--ai-muted);
}

/* ─── فوتر ─── */
.login-footer {
    margin-top: 20px;
    text-align: center;
    padding-top: 2px;
}

.login-footer p {
    font-size: 0.72rem;
    color: var(--ai-muted-2);
    line-height: 1.5;
}

.login-footer__link {
    color: var(--ai-cyan);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(34, 211, 238, 0.3);
    transition: color 0.15s, border-color 0.15s;
}

.login-footer__link:hover {
    color: var(--ai-violet-bright);
    border-bottom-color: var(--ai-violet-bright);
}

.login-page__footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 14px 12px 4px;
    text-align: center;
}

.login-page__footer-inner {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.login-page__footer p {
    font-size: 0.72rem;
    color: #0f172a;
    font-weight: 600;
    margin: 0;
}

.login-page__footer-powered {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.4em;
    direction: ltr;
}

.login-powered-logo {
    height: 1.8em;
    margin-bottom: 2px;
    width: auto;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    object-fit: contain;
}
}

/* ─── ریسپانسیو ─── */
@media (max-width: 899px) {
    .login-page__shell {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .login-tabs {
        flex-direction: column;
    }

    .login-tabs__indicator {
        width: calc(100% - 8px);
        height: calc(50% - 4px);
        transform: none !important;
    }

    .login-tabs[data-active="sms"] .login-tabs__indicator {
        transform: translateY(-100%) !important;
    }

    .login-tab {
        white-space: normal;
        text-align: center;
        line-height: 1.35;
    }
}

@media (max-height: 620px) {
    .login-page__shell {
        align-items: flex-start;
        padding-top: 8px;
    }

    .login-header {
        margin-bottom: 16px;
    }

    .logo {
        width: 52px;
        height: 52px;
        margin-bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
