/* Production login layout. */
.redesign-stage {
    min-height: calc(100vh - 2.5rem);
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.redesign-split {
    max-width: 980px;
    min-height: 560px;
    grid-template-columns: minmax(420px, 46%) 1fr;
    border-radius: 1.25rem;
}

.redesign-form-panel {
    padding: 3rem clamp(2rem, 4vw, 3.5rem);
}

.redesign-brand {
    gap: 0.625rem;
    width: fit-content;
    color: var(--bs-heading-color, #0b0f19);
    font-size: 1.125rem;
}

.redesign-brand-mark {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.35rem;
}

.redesign-brand-mark-dark {
    background: #111827;
}

/* The body fills the height below the top-pinned brand and centers its
   content; the padding keeps the designed brand gap when space runs out. */
.redesign-panel-body {
    padding-top: 3.75rem;
}

.redesign-auth-controls {
    max-width: 360px;
}

.auth-method-panel:not(.d-none) {
    animation: auth-method-in 160ms ease-out;
}

@keyframes auth-method-in {
    from {
        opacity: 0;
        transform: translateX(0.4rem);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-method-panel:not(.d-none) {
        animation: none;
    }
}

.redesign-visual-calm {
    background: linear-gradient(145deg, #3157d5 0%, #6b56d9 55%, #34a6c8 100%);
}

.visual-orbit {
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.visual-orbit-one {
    width: 26rem;
    height: 26rem;
    top: -8rem;
    right: -9rem;
}

.visual-orbit-two {
    width: 17rem;
    height: 17rem;
    top: 3rem;
    right: 1rem;
}

.visual-caption {
    max-width: 24rem;
}

.redesign-two {
    background: #f7f4ef;
}

@media (max-width: 991.98px) {
    .redesign-split {
        max-width: 560px;
        min-height: auto;
    }

    .redesign-form-panel {
        min-height: 0;
        padding: 2.5rem;
    }

    .redesign-brand {
        align-self: center;
    }

    .redesign-panel-body {
        align-items: center;
        padding-top: 2.75rem;
        width: 100%;
    }

    .redesign-copy {
        text-align: center;
        width: 100%;
    }

    .redesign-auth-controls {
        margin-left: auto;
        margin-right: auto;
    }

}

@media (max-width: 575.98px) {
    .redesign-stage {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .redesign-form-panel {
        padding: 1.5rem;
    }

    .redesign-shell {
        border-radius: 1rem;
    }

    .redesign-panel-body {
        padding-top: 2rem;
    }

}
