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

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

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

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

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

.product-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. */
.login-panel-body {
    padding-top: 3.75rem;
}

.login-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;
    }
}

.login-visual-panel {
    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;
}

.auth-page-background {
    background: #f7f4ef;
}

.license-standalone-shell {
    max-width: 1160px;
    border-radius: 1.25rem;
}

.license-details summary {
    cursor: pointer;
    list-style: none;
}

.license-details summary::-webkit-details-marker {
    display: none;
}

.license-details-chevron {
    transition: transform 0.2s ease;
}

.license-details[open] .license-details-chevron {
    transform: rotate(180deg);
}

@media (max-width: 991.98px) {
    .login-shell-grid {
        max-width: 560px;
        min-height: auto;
    }

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

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

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

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

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

}

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

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

    .auth-page-shell {
        border-radius: 1rem;
    }

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

}
