﻿.auth-visual-side {
    padding: 1.5rem;
    background-color: #f8f8f8;
}

.auth-visual-panel {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 3rem);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    /* The visual is always a dark brand panel, so the container is dark too — otherwise the white
       backing shows at the rounded corners and around the padding, which reads as bright white
       margins in dark mode. */
    background: #0b0c10;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}

/* In dark mode the light-grey frame around the panel stays light and looks like white margins.
   Match the frame to the panel so the whole right side is one continuous dark surface. */
[data-bs-theme="dark"] .auth-visual-side {
    background-color: #0b0c10;
}

[data-bs-theme="dark"] .auth-visual-panel {
    box-shadow: none;
}

    .auth-visual-panel::after {
        display: none;
    }

.auth-visual-inner {
    position: relative;
    z-index: 1;
    width: min(100%, 620px);
    padding: 3rem 2rem;
}

.sphere-stage {
    position: relative;
    width: min(100%, 540px);
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.animation-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.sphere-animation {
    position: absolute;
    inset: 0;
    transform-origin: center center;
    will-change: transform;
}

.sphere {
    width: 100%;
    height: 100%;
}

    .sphere path {
        fill: url(#sphereGradient);
        stroke: rgba(80, 80, 80, .35);
        stroke-width: 1px;
        backface-visibility: hidden;
    }

.auth-brand {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.auth-brand-logo {
    width: min(50%, 230px);
    height: auto;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.18));
}

.auth-copy {
    max-width: 430px;
    margin: 1.5rem auto 0;
    text-align: center;
}

.auth-copy-title {
    margin-bottom: 0.75rem;
    color: #111111;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-copy-text {
    margin-bottom: 0;
    color: #6b7280;
    font-size: 0.96rem;
    line-height: 1.85;
}

@media (min-width: 500px) {
    .sphere path {
        stroke-width: .4px;
    }
}

@media (max-width: 991.98px) {
    .auth-form-side {
        padding: 2.5rem 1.5rem !important;
    }
}
