/* ==========================================================================
   Login idPlugger — layout split (mascote + BG + painel escuro)
   ========================================================================== */

:root {
    --auth-login-navy: #071322;
    --auth-login-panel: #0a1628;
    --auth-login-panel-edge: #0d1b31;
    --auth-login-cyan: #00d4c8;
    --auth-login-cyan-soft: #5eead4;
    --auth-login-text: #f8fafc;
    --auth-login-muted: rgba(248, 250, 252, 0.62);
    --auth-login-border: rgba(255, 255, 255, 0.14);
    --auth-login-input-bg: rgba(255, 255, 255, 0.04);
}

body.auth-login-page {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    padding: 0 !important;
    margin: 0;
    font-family: Inter, Lato, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--auth-login-navy) !important;
    color: var(--auth-login-text);
}

body.auth-login-page::before {
    display: none !important;
}

.auth-login-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* --- Coluna visual (BG + mascote) --- */
.auth-login-visual {
    position: relative;
    flex: 1 1 58%;
    min-height: 100vh;
    overflow: hidden;
    background: #fff;
}

.auth-login-visual__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

.auth-login-visual__fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.auth-login-visual__fx-grid,
.auth-login-visual__fx-mesh,
.auth-login-visual__fx-scan {
    position: absolute;
    inset: 0;
    display: block;
}

/* Grade de pontos + linhas sutis (HUD) */
.auth-login-visual__fx-grid {
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(20, 115, 230, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 115, 230, 0.07) 1px, transparent 1px),
        radial-gradient(circle at center, rgba(232, 31, 84, 0.14) 1px, transparent 1px);
    background-size: 48px 48px, 48px 48px, 24px 24px;
    background-position: 0 0, 0 0, 0 0;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 55%, transparent 100%);
    animation: auth-login-fx-grid-drift 24s linear infinite;
}

/* Brilho tecnológico nas bordas */
.auth-login-visual__fx-mesh {
    background:
        radial-gradient(ellipse 55% 45% at 8% 18%, rgba(232, 31, 84, 0.12) 0%, transparent 72%),
        radial-gradient(ellipse 48% 40% at 92% 82%, rgba(20, 115, 230, 0.14) 0%, transparent 70%),
        linear-gradient(115deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%, rgba(232, 31, 84, 0.05) 100%);
    mix-blend-mode: multiply;
    animation: auth-login-fx-mesh-pulse 8s ease-in-out infinite;
}

/* Linha de scan vertical */
.auth-login-visual__fx-scan {
    inset: -20% 0;
    background: linear-gradient(
        180deg,
        transparent 0%,
        rgba(20, 115, 230, 0) 42%,
        rgba(20, 115, 230, 0.08) 49.5%,
        rgba(232, 31, 84, 0.18) 50%,
        rgba(20, 115, 230, 0.08) 50.5%,
        rgba(20, 115, 230, 0) 58%,
        transparent 100%
    );
    background-size: 100% 42%;
    background-repeat: no-repeat;
    opacity: 0.75;
    animation: auth-login-fx-scan 7s linear infinite;
}

@keyframes auth-login-fx-grid-drift {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }

    100% {
        background-position: 48px 48px, 48px 48px, 24px 24px;
    }
}

@keyframes auth-login-fx-mesh-pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.82;
    }
}

@keyframes auth-login-fx-scan {
    0% {
        background-position: 0 -60%;
    }

    100% {
        background-position: 0 160%;
    }
}

.auth-login-visual__mascot {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    width: min(52vw, 560px);
    max-height: 88vh;
    height: auto;
    transform: translateX(-54%);
    object-fit: contain;
    object-position: bottom center;
    pointer-events: none;
    user-select: none;
}

/* --- Painel do formulário --- */
.auth-login-panel {
    position: relative;
    z-index: 3;
    flex: 0 0 min(440px, 42vw);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin-left: -4.5rem;
    padding: 2.5rem 2.75rem 2.5rem 3.5rem;
    background: linear-gradient(165deg, var(--auth-login-panel-edge) 0%, var(--auth-login-panel) 42%, #08111f 100%);
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: -24px 0 64px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.auth-login-panel > :not(.auth-login-panel__fx) {
    position: relative;
    z-index: 1;
}

.auth-login-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 88% 92%, color-mix(in srgb, var(--primary, #e81f54) 14%, transparent) 0%, transparent 42%),
        radial-gradient(circle at 12% 8%, color-mix(in srgb, var(--Link, #1473e6) 12%, transparent) 0%, transparent 38%);
    pointer-events: none;
}

.auth-login-panel__fx {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.auth-login-panel__fx-grid,
.auth-login-panel__fx-edge,
.auth-login-panel__fx-orbit,
.auth-login-panel__fx-corners {
    position: absolute;
    display: block;
}

/* Grade discreta atrás do formulário */
.auth-login-panel__fx-grid {
    inset: 0;
    opacity: 0.55;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse 75% 65% at 50% 42%, #000 15%, transparent 72%);
    animation: auth-login-panel-grid-drift 28s linear infinite;
}

/* Faixa luminosa na borda diagonal (corte do painel) */
.auth-login-panel__fx-edge {
    top: -10%;
    bottom: -10%;
    left: 7%;
    width: 2px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        color-mix(in srgb, var(--Link, #1473e6) 55%, transparent) 28%,
        color-mix(in srgb, var(--primary, #e81f54) 75%, transparent) 50%,
        color-mix(in srgb, var(--Link, #1473e6) 55%, transparent) 72%,
        transparent 100%
    );
    box-shadow:
        0 0 18px color-mix(in srgb, var(--primary, #e81f54) 35%, transparent),
        0 0 36px color-mix(in srgb, var(--Link, #1473e6) 22%, transparent);
    opacity: 0.85;
    animation: auth-login-panel-edge-pulse 5s ease-in-out infinite;
}

/* Anel orbital suave (HUD) */
.auth-login-panel__fx-orbit {
    top: 38%;
    left: 50%;
    width: min(420px, 95%);
    height: min(420px, 70vh);
    border: 1px solid rgba(20, 115, 230, 0.14);
    border-radius: 50%;
    box-shadow:
        inset 0 0 40px rgba(20, 115, 230, 0.06),
        0 0 48px rgba(232, 31, 84, 0.07);
    transform: translate(-50%, -50%);
    animation: auth-login-panel-orbit 22s linear infinite;
}

.auth-login-panel__fx-orbit::before {
    content: '';
    position: absolute;
    inset: 22%;
    border: 1px dashed rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.auth-login-panel__fx-orbit::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: var(--primary, #e81f54);
    box-shadow: 0 0 12px var(--primary, #e81f54);
}

/* Cantoneiras estilo interface */
.auth-login-panel__fx-corners {
    inset: 1.25rem 1.5rem;
    background:
        linear-gradient(var(--primary, #e81f54), var(--primary, #e81f54)) top left / 28px 2px no-repeat,
        linear-gradient(var(--primary, #e81f54), var(--primary, #e81f54)) top left / 2px 28px no-repeat,
        linear-gradient(var(--Link, #1473e6), var(--Link, #1473e6)) bottom right / 28px 2px no-repeat,
        linear-gradient(var(--Link, #1473e6), var(--Link, #1473e6)) bottom right / 2px 28px no-repeat;
    opacity: 0.45;
}

@keyframes auth-login-panel-grid-drift {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 36px 36px;
    }
}

@keyframes auth-login-panel-edge-pulse {
    0%,
    100% {
        opacity: 0.65;
        filter: brightness(1);
    }

    50% {
        opacity: 1;
        filter: brightness(1.15);
    }
}

@keyframes auth-login-panel-orbit {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.auth-login-panel__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 340px;
}

.auth-login-panel__header {
    margin-bottom: 2rem;
    text-align: center;
}

.auth-login-brand {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    text-decoration: none;
}

.auth-login-brand__logo {
    display: block;
    width: 150px;
    max-width: 150px;
    height: auto;
    max-height: 66px;
    min-height: 24px;
    animation: auth-login-logo-enter 0.75s ease-out both;
    filter: drop-shadow(0 0 0 rgba(232, 31, 84, 0));
}

.auth-login-brand__logo--svg {
    line-height: 0;
}

.auth-login-brand__logo--svg .auth-login-logo__svg {
    display: block;
    width: 150px;
    max-width: 150px;
    height: auto;
    max-height: 66px;
}

.auth-login-logo__ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: auth-login-logo-ring-pulse 4.2s ease-in-out infinite;
}

.auth-login-logo__lines path {
    animation: auth-login-logo-line-flash 2.6s ease-in-out infinite;
}

.auth-login-logo__lines > g:nth-child(1) path { animation-delay: 0s; }
.auth-login-logo__lines > g:nth-child(2) path { animation-delay: 0.12s; }
.auth-login-logo__lines > g:nth-child(3) path { animation-delay: 0.24s; }
.auth-login-logo__lines > g:nth-child(4) path { animation-delay: 0.36s; }
.auth-login-logo__lines > g:nth-child(5) path { animation-delay: 0.48s; }
.auth-login-logo__lines > g:nth-child(6) path { animation-delay: 0.6s; }
.auth-login-logo__lines > g:nth-child(7) path { animation-delay: 0.72s; }
.auth-login-logo__lines > g:nth-child(8) path { animation-delay: 0.84s; }
.auth-login-logo__lines > g:nth-child(9) path { animation-delay: 0.96s; }
.auth-login-logo__lines > g:nth-child(10) path { animation-delay: 1.08s; }
.auth-login-logo__lines > g:nth-child(11) path { animation-delay: 1.2s; }

.auth-login-logo__fingerprint path {
    animation: auth-login-logo-fingerprint-scan 3.4s ease-in-out infinite;
}

.auth-login-logo__fingerprint path:nth-child(1) { animation-delay: 0s; }
.auth-login-logo__fingerprint path:nth-child(2) { animation-delay: 0.15s; }
.auth-login-logo__fingerprint path:nth-child(3) { animation-delay: 0.3s; }
.auth-login-logo__fingerprint path:nth-child(4) { animation-delay: 0.45s; }
.auth-login-logo__fingerprint path:nth-child(5) { animation-delay: 0.6s; }
.auth-login-logo__fingerprint path:nth-child(6) { animation-delay: 0.75s; }

.auth-login-logo__plug {
    transform-box: fill-box;
    transform-origin: center;
    animation: auth-login-logo-plug-pulse 2.8s ease-in-out infinite;
}

@keyframes auth-login-logo-ring-pulse {
    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 0 rgba(232, 31, 84, 0));
    }

    50% {
        opacity: 0.94;
        filter: drop-shadow(0 0 10px rgba(232, 31, 84, 0.4));
    }
}

@keyframes auth-login-logo-line-flash {
    0%,
    100% {
        opacity: 0.68;
    }

    45%,
    55% {
        opacity: 1;
    }
}

@keyframes auth-login-logo-fingerprint-scan {
    0%,
    100% {
        opacity: 0.78;
    }

    50% {
        opacity: 1;
    }
}

@keyframes auth-login-logo-plug-pulse {
    0%,
    100% {
        opacity: 0.88;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.04);
    }
}

.auth-login-brand:hover .auth-login-brand__logo,
.auth-login-brand:focus-visible .auth-login-brand__logo {
    filter: drop-shadow(0 0 14px rgba(232, 31, 84, 0.28));
    transition: filter 0.25s ease;
}

@keyframes auth-login-logo-enter {
    from {
        opacity: 0;
        transform: translateY(6px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-login-tagline {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.45;
    color: var(--alternative-3, #c7c7c7);
}

.auth-login-tagline__accent {
    color: var(--primary, #e81f54);
    font-weight: 500;
}

/* --- Formulário --- */
.auth-login-form {
    width: 100%;
}

.auth-login-field {
    position: relative;
    margin-bottom: 1rem;
}

.auth-login-field__label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--auth-login-muted);
}

.auth-login-field__icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.125rem;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-login-field__input {
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--auth-login-border);
    border-radius: 14px;
    background: var(--auth-login-input-bg);
    color: var(--auth-login-text);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-login-field__input::placeholder {
    color: rgba(248, 250, 252, 0.38);
}

.auth-login-field__input:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--Link, #1473e6) 55%, transparent);
    box-shadow:
        0 0 0 3px color-mix(in srgb, var(--Link, #1473e6) 18%, transparent),
        0 0 20px color-mix(in srgb, var(--primary, #e81f54) 12%, transparent);
    background: rgba(255, 255, 255, 0.06);
}

.auth-login-field--otp {
    margin-bottom: 1.25rem;
}

.auth-login-field--otp .auth-login-otp {
    margin-top: 0.35rem;
}

.auth-login-link {
    color: var(--Link, #1473e6);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.auth-login-link:hover,
.auth-login-link:focus {
    color: var(--blue, #047bf8);
    text-decoration: underline;
}

.auth-login-link--button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.auth-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.auth-login-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.auth-login-btn--primary {
    margin-bottom: 0.75rem;
    background: var(--primary, #e81f54);
    color: #fff;
    box-shadow: 0 10px 28px var(--primary-soft, rgba(232, 31, 84, 0.28));
}

.auth-login-btn--primary:hover:not(:disabled),
.auth-login-btn--primary:focus:not(:disabled) {
    transform: translateY(-1px);
    background: var(--primary-hover, #c81846);
    box-shadow: 0 14px 32px var(--primary-soft-hover, rgba(232, 31, 84, 0.36));
}

.auth-login-btn--secondary {
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    color: var(--auth-login-text);
    border: 1px solid var(--auth-login-border);
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-login-btn--secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.auth-login-divider {
    position: relative;
    margin: 1.75rem 0 1.25rem;
    text-align: center;
}

.auth-login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: color-mix(in srgb, var(--alternative-3, #c7c7c7) 35%, transparent);
}

.auth-login-divider span {
    position: relative;
    z-index: 1;
    display: inline-block;
    padding: 0 0.75rem;
    background: var(--auth-login-panel);
    color: var(--alternative-3, #c7c7c7);
    font-size: 0.8125rem;
}

.auth-login-specialist-wrap {
    margin: 0;
    text-align: center;
}

.auth-login-step__summary {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--alternative-3, #c7c7c7);
}

.auth-login-step__summary p {
    margin-bottom: 0.25rem;
    color: inherit;
}

.auth-login-step__summary strong {
    color: var(--light, #f8fafc);
    font-weight: 600;
}

.auth-login-options {
    display: grid;
    gap: 0.65rem;
    margin-top: 1rem;
}

.auth-login-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0;
    color: var(--auth-login-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
    cursor: pointer;
}

.auth-login-check input {
    margin-top: 0.15rem;
    accent-color: var(--auth-login-cyan);
}

/* --- OTP (tema escuro) --- */
.auth-login-form .auth-login-step {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-login-form .auth-login-step--username.auth-login-step--hidden {
    display: none;
}

.auth-login-form .auth-login-step--code {
    display: none;
}

.auth-login-form .auth-login-step--code.auth-login-step--visible {
    display: block;
    animation: auth-login-step-in 0.24s ease;
}

@keyframes auth-login-step-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-login-otp {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.45rem;
}

.auth-login-otp__digit {
    min-height: 48px;
    padding: 0.5rem 0.2rem;
    border: 1px solid var(--auth-login-border);
    border-radius: 12px;
    background: var(--auth-login-input-bg);
    color: var(--auth-login-text);
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.auth-login-otp__digit:focus {
    outline: none;
    border-color: rgba(0, 212, 200, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 212, 200, 0.12);
}

.auth-login-otp__digit::-webkit-outer-spin-button,
.auth-login-otp__digit::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.auth-login-countdown {
    height: 4px;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    overflow: hidden;
}

.auth-login-countdown__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--auth-login-cyan) 0%, var(--primary, #e81f54) 100%);
    transition: width 1s linear;
}

/* --- Alertas --- */
.auth-login-alert {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    font-size: 0.875rem;
    line-height: 1.45;
}

.auth-login-alert--danger {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.auth-login-alert--info {
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.28);
    color: #bae6fd;
}

.auth-login-alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.28);
    color: #bbf7d0;
}

.auth-login-alert--warning {
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.28);
    color: #fde68a;
}

.auth-login-modal__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    margin-bottom: 0.25rem;
}

.auth-login-modal__icon {
    position: relative;
    z-index: 2;
    font-size: 3em;
    line-height: 1;
    color: var(--success, #44b556);
    animation: auth-login-modal-icon-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
        auth-login-modal-icon-float 2.8s ease-in-out 0.55s infinite;
}

.auth-login-modal__icon-wrap--email .auth-login-modal__icon {
    filter: drop-shadow(0 0 0 rgba(68, 181, 86, 0));
    animation: auth-login-modal-icon-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both,
        auth-login-modal-email-glow 2.4s ease-in-out 0.55s infinite;
}

.auth-login-modal__icon-ring {
    position: absolute;
    inset: 0;
    border: 2px solid color-mix(in srgb, var(--success, #44b556) 45%, transparent);
    border-radius: 50%;
    opacity: 0;
    animation: auth-login-modal-icon-ring 2.4s ease-out infinite;
}

.auth-login-modal__icon-ring--delayed {
    animation-delay: 1.2s;
}

@keyframes auth-login-modal-icon-enter {
    from {
        opacity: 0;
        transform: scale(0.72) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes auth-login-modal-icon-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes auth-login-modal-email-glow {
    0%,
    100% {
        filter: drop-shadow(0 0 0 rgba(68, 181, 86, 0));
    }

    50% {
        filter: drop-shadow(0 0 12px rgba(68, 181, 86, 0.45));
    }
}

@keyframes auth-login-modal-icon-ring {
    0% {
        opacity: 0.65;
        transform: scale(0.72);
    }

    100% {
        opacity: 0;
        transform: scale(1.35);
    }
}

body.modal-open {
    overflow: hidden;
}

/* --- Responsivo --- */
@media (max-width: 1199px) {
    .auth-login-visual__mascot {
        width: min(58vw, 480px);
        transform: translateX(-50%);
    }

    .auth-login-panel {
        flex-basis: min(400px, 44vw);
        margin-left: -3rem;
        padding: 2rem 2rem 2rem 2.75rem;
    }
}

@media (max-width: 991px) {
    .auth-login-layout {
        flex-direction: column;
    }

    .auth-login-visual {
        display: none;
    }

    .auth-login-panel {
        flex: 1 1 auto;
        width: 100%;
        min-height: 100vh;
        margin-left: 0;
        margin-top: 0;
        padding: 2rem 1.5rem 2.5rem;
        clip-path: none;
        border-radius: 0;
        box-shadow: none;
    }

    .auth-login-panel__inner {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .auth-login-panel {
        padding: 1.75rem 1.25rem 2rem;
    }

    .auth-login-brand__logo {
        max-width: 180px;
        height: 44px;
    }

    .auth-login-otp {
        gap: 0.35rem;
    }

    .auth-login-otp__digit {
        min-height: 44px;
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-login-visual__fx-grid,
    .auth-login-visual__fx-mesh,
    .auth-login-visual__fx-scan,
    .auth-login-panel__fx-grid,
    .auth-login-panel__fx-edge,
    .auth-login-panel__fx-orbit {
        animation: none !important;
    }

    .auth-login-brand__logo,
    .auth-login-logo__ring,
    .auth-login-logo__lines path,
    .auth-login-logo__fingerprint path,
    .auth-login-logo__plug {
        animation: none !important;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
    }

    .auth-login-modal__icon,
    .auth-login-modal__icon-ring {
        animation: none !important;
        filter: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .auth-login-brand__logo {
        animation: none;
    }

    .auth-login-form .auth-login-step--code.auth-login-step--visible {
        animation: none;
    }

    .auth-login-btn {
        transition: none;
    }
}
