/* Light Advisor Center variant of the CMS login transition. */
.advisor-transition[hidden] { display: none; }
.advisor-transition {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 28px;
    color: #282e33;
    background: radial-gradient(ellipse at 50% 45%, #f7f5f1 0, #e0e3e6 60%, #c8cfd5 100%);
    animation: transition-reveal .2s ease-out both;
}
.advisor-transition { overflow: hidden; isolation: isolate; }
.transition-atmosphere { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.transition-atmosphere::before {
    content: "";
    position: absolute;
    inset: -30%;
    background: radial-gradient(ellipse at center, #ef982f30, transparent 55%);
    animation: transition-glow 5s ease-in-out both;
}
.transition-atmosphere span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: min(70vw, 620px);
    aspect-ratio: 1;
    border: 1px solid #d9822440;
    border-radius: 50%;
    box-shadow: 0 0 40px #ef982f08, inset 0 0 40px #ef982f08;
    animation: transition-ripple 4s ease-out infinite;
}
.transition-atmosphere span:nth-child(2) { animation-delay: -1.33s; }
.transition-atmosphere span:nth-child(3) { animation-delay: -2.66s; }
.login-plexus {
    position: absolute;
    inset: -8%;
    pointer-events: none;
    z-index: -1;
    opacity: .55;
    -webkit-mask-image: radial-gradient(ellipse at center, #0002 15%, #000 70%);
    mask-image: radial-gradient(ellipse at center, #0002 15%, #000 70%);
}
.login-plexus svg { display: block; width: 100%; height: 100%; overflow: visible; animation: login-plexus-depth 7s ease-in-out infinite alternate; }
.login-plexus path { fill: none; stroke: #74838f; stroke-width: .8; vector-effect: non-scaling-stroke; }
.login-plexus-front path { stroke: #c78236; }
.login-plexus circle { fill: #d98224; animation: login-plexus-pulse 3s ease-in-out infinite alternate; }
.login-plexus circle:nth-of-type(even) { animation-delay: -1.5s; }
.login-plexus-layer { transform-box: view-box; transform-origin: 65% 50%; }
.login-plexus-front { animation: login-plexus-front 5s ease-in-out infinite alternate; }
.login-plexus-back { opacity: .4; animation: login-plexus-back 6s ease-in-out infinite alternate; }
@keyframes login-plexus-depth {
    from { transform: perspective(1000px) rotateY(-12deg) rotateX(6deg) scale(1.05); }
    to { transform: perspective(1000px) rotateY(14deg) rotateX(-8deg) scale(1.12); }
}
@keyframes login-plexus-front {
    from { transform: translate(-22px, -14px) rotate(-4deg); }
    to { transform: translate(28px, 16px) rotate(5deg); }
}
@keyframes login-plexus-back {
    from { transform: translate(24px, 16px) rotate(4deg); }
    to { transform: translate(-30px, -18px) rotate(-5deg); }
}
@keyframes login-plexus-pulse { from { opacity: .35; } to { opacity: 1; } }
.advisor-transition-content { position: relative; width: 100%; max-width: 400px; text-align: center; animation: transition-arrive .7s ease-out both; }
.transition-logo { display: block; width: 280px; max-width: 100%; height: auto; margin: 0 auto 48px; animation: transition-logo-glow 5s ease-in-out both; }
.transition-lock {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    border: 1px solid #ef982f33;
    border-radius: 50%;
    color: #cb781c;
    background: #ffffffb3;
    box-shadow: 0 0 35px #ef982f12;
    animation: transition-lock-glow 5s ease-in-out both;
}
.transition-lock::after {
    content: "";
    position: absolute;
    inset: -9px;
    border: 1px solid transparent;
    border-top-color: #ef982f;
    border-right-color: #ef982f44;
    border-radius: 50%;
    animation: transition-orbit 1.4s linear infinite;
}
.lock-shackle { animation: transition-close 1.2s .3s ease-out both; }
.transition-title { font-size: 22px; font-weight: 500; letter-spacing: -.4px; margin: 0 0 8px; }
.transition-caption { font-size: 12px; color: #626d75; margin: 0; }
.transition-progress { width: 180px; height: 2px; margin: 28px auto 0; background: #dbe0e4; overflow: hidden; border-radius: 2px; }
.transition-progress span { display: block; width: 100%; height: 100%; transform-origin: left; background: linear-gradient(90deg, #db8420, #ef982f); animation: transition-progress 5s cubic-bezier(.2,.6,.35,1) both; }
@keyframes transition-reveal { from { opacity: 0; } to { opacity: 1; } }
@keyframes transition-orbit { to { transform: rotate(360deg); } }
@keyframes transition-close { 0%, 25% { transform: translateY(-5px); } 65%, 100% { transform: translateY(0); } }
@keyframes transition-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes transition-arrive { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes transition-ripple { from { opacity: 0; transform: translate(-50%, -50%) scale(.65); } 20% { opacity: .7; } to { opacity: 0; transform: translate(-50%, -50%) scale(1.9); } }
@keyframes transition-glow { 0%, 100% { opacity: .4; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.1); } }
@keyframes transition-logo-glow { 0%, 100% { filter: drop-shadow(0 0 0 #ef982f00); } 45% { filter: drop-shadow(0 0 18px #ef982f50); } }
@keyframes transition-lock-glow { 0%, 100% { box-shadow: 0 0 35px #ef982f12; } 35%, 70% { box-shadow: 0 0 55px #ef982f30; } }
