/* =========================================================
   YasCash Login Professional
   Unified Light / Dark theme
   ========================================================= */







/* ---------------------------------------------------------
   Page
   --------------------------------------------------------- */

.yc-login-v16-body {
    min-height: 100vh;

    color:
        var(--login16-text);

    background:
        linear-gradient(
            145deg,
            var(--login16-bg),
            var(--login16-bg-2)
        ) !important;
}


.yc-login-v16-body
.yc-public-v14-background {
    display: none !important;
}


.yc-public-v14-content.login-mode {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding:
        78px 24px 30px;
}


.yc-login16-page {
    position: relative;

    width: 100%;
    max-width: 1180px;

    margin:
        0 auto;
}


.yc-login16-ambient {
    position: fixed;

    inset: 0;

    z-index: 0;

    overflow: hidden;

    pointer-events: none;
}


.yc-login16-grid {
    position: absolute;

    inset: 0;

    opacity: .28;

    background-image:
        linear-gradient(
            color-mix(
                in srgb,
                var(--login16-accent) 5%,
                transparent
            )
            1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            color-mix(
                in srgb,
                var(--login16-accent) 5%,
                transparent
            )
            1px,
            transparent 1px
        );

    background-size:
        58px 58px;

    mask-image:
        radial-gradient(
            circle at center,
            #000 0%,
            transparent 78%
        );

    animation:
        login16GridMove
        30s
        linear
        infinite;
}


@keyframes login16GridMove {
    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(58px, 58px, 0);
    }
}


.yc-login16-orb {
    position: absolute;

    border-radius: 999px;

    filter: blur(88px);

    will-change: transform;
}


.yc-login16-orb.orb-a {
    width: 410px;
    height: 410px;

    top: -210px;
    right: 8%;

    opacity: .15;

    background:
        var(--login16-accent);

    animation:
        login16OrbA
        16s
        ease-in-out
        infinite alternate;
}


.yc-login16-orb.orb-b {
    width: 350px;
    height: 350px;

    left: 8%;
    bottom: -190px;

    opacity: .12;

    background:
        var(--login16-accent-2);

    animation:
        login16OrbB
        21s
        ease-in-out
        infinite alternate;
}


.yc-login16-orb.orb-c {
    width: 260px;
    height: 260px;

    left: 45%;
    top: 28%;

    opacity: .09;

    background:
        var(--login16-cyan);

    animation:
        login16OrbC
        23s
        ease-in-out
        infinite alternate;
}


@keyframes login16OrbA {
    from {
        transform:
            translate3d(0, 0, 0)
            scale(.96);
    }

    to {
        transform:
            translate3d(-120px, 95px, 0)
            scale(1.13);
    }
}


@keyframes login16OrbB {
    from {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    to {
        transform:
            translate3d(120px, -95px, 0)
            scale(1.08);
    }
}


@keyframes login16OrbC {
    from {
        transform:
            translate3d(-70px, 20px, 0);
    }

    to {
        transform:
            translate3d(100px, -80px, 0);
    }
}


.yc-login16-ring {
    position: absolute;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 10%,
            transparent
        );

    border-radius: 50%;
}


.yc-login16-ring.ring-a {
    width: 520px;
    height: 520px;

    top: 9%;
    left: -260px;

    animation:
        login16Ring
        35s
        linear
        infinite;
}


.yc-login16-ring.ring-b {
    width: 320px;
    height: 320px;

    right: -160px;
    bottom: 12%;

    animation:
        login16Ring
        26s
        linear
        infinite reverse;
}


@keyframes login16Ring {
    from {
        transform:
            rotate(0deg)
            scale(1);
    }

    50% {
        transform:
            rotate(180deg)
            scale(1.05);
    }

    to {
        transform:
            rotate(360deg)
            scale(1);
    }
}


.yc-login16-streak {
    position: absolute;

    width: 700px;
    height: 80px;

    border-radius: 999px;

    opacity: .06;

    filter: blur(24px);

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--login16-accent),
            transparent
        );
}


.yc-login16-streak.streak-a {
    top: 20%;
    left: -60%;

    animation:
        login16StreakA
        18s
        linear
        infinite;
}


.yc-login16-streak.streak-b {
    bottom: 18%;
    right: -65%;

    animation:
        login16StreakB
        23s
        linear
        infinite;
}


@keyframes login16StreakA {
    from {
        transform:
            translateX(-10vw)
            rotate(-18deg);
    }

    to {
        transform:
            translateX(160vw)
            rotate(-18deg);
    }
}


@keyframes login16StreakB {
    from {
        transform:
            translateX(10vw)
            rotate(21deg);
    }

    to {
        transform:
            translateX(-160vw)
            rotate(21deg);
    }
}


/* ---------------------------------------------------------
   Main card
   --------------------------------------------------------- */

.yc-login16-card {
    --spot-x: 50%;
    --spot-y: 50%;

    position: relative;

    z-index: 2;

    min-height: 650px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(390px, .95fr);

    overflow: hidden;

    border:
        1px solid
        var(--login16-border);

    border-radius: 28px;

    background:
        var(--login16-card);

    box-shadow:
        var(--login16-shadow);

    backdrop-filter:
        blur(24px);

    animation:
        login16CardEnter
        520ms
        cubic-bezier(.2, .8, .2, 1)
        both;
}


.yc-login16-card::before {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 0;

    opacity: .48;

    pointer-events: none;

    background:
        radial-gradient(
            270px circle
            at
            var(--spot-x)
            var(--spot-y),
            color-mix(
                in srgb,
                var(--login16-accent) 8%,
                transparent
            ),
            transparent 70%
        );
}


.yc-login16-card::after {
    content: "";

    position: absolute;

    inset: 1px;

    z-index: 0;

    border-radius: 27px;

    pointer-events: none;

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .35);
}


html[data-theme="dark"]
.yc-login16-card::after {
    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .04);
}


@keyframes login16CardEnter {
    from {
        opacity: 0;

        transform:
            translateY(14px)
            scale(.985);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


.yc-login16-brand-zone,
.yc-login16-form-zone {
    position: relative;

    z-index: 2;

    min-width: 0;
}


/* ---------------------------------------------------------
   Brand zone - same theme, not half dark
   --------------------------------------------------------- */

.yc-login16-brand-zone {
    display: flex;
    flex-direction: column;

    padding:
        34px 36px 30px;

    border-left:
        1px solid
        var(--login16-border);

    background:
        linear-gradient(
            145deg,
            color-mix(
                in srgb,
                var(--login16-accent) 4%,
                var(--login16-card-solid)
            ),
            color-mix(
                in srgb,
                var(--login16-cyan) 2.5%,
                var(--login16-card-solid)
            )
        );
}


html[data-theme="dark"]
.yc-login16-brand-zone {
    background:
        linear-gradient(
            145deg,
            color-mix(
                in srgb,
                var(--login16-accent) 7%,
                var(--login16-card-solid)
            ),
            color-mix(
                in srgb,
                var(--login16-cyan) 3%,
                var(--login16-card-solid)
            )
        );
}


.yc-login16-brand-top {
    display: flex;
    align-items: center;

    gap: 14px;
}


.yc-login16-logo-wrap {
    position: relative;

    width: 78px;
    height: 78px;

    display: grid;
    place-items: center;

    flex:
        0 0 78px;
}


.yc-login16-logo-glow {
    position: absolute;

    inset: 5px;

    border-radius: 22px;

    background:
        color-mix(
            in srgb,
            var(--login16-accent) 22%,
            transparent
        );

    filter:
        blur(14px);

    animation:
        login16LogoPulse
        4.6s
        ease-in-out
        infinite;
}


@keyframes login16LogoPulse {
    0%,
    100% {
        opacity: .35;

        transform:
            scale(.92);
    }

    50% {
        opacity: .88;

        transform:
            scale(1.12);
    }
}


.yc-login16-logo {
    position: relative;

    z-index: 2;

    width: 70px;
    height: 70px;

    object-fit: contain;

    padding: 4px;

    border:
        1px solid
        var(--login16-border);

    border-radius: 20px;

    background:
        var(--login16-card-solid);

    box-shadow:
        var(--login16-shadow-soft);
}


.yc-login16-brand-copy strong,
.yc-login16-brand-copy span {
    display: block;
}


.yc-login16-brand-copy strong {
    color:
        var(--login16-text);

    font-size: 1.65rem;
    font-weight: 800;

    letter-spacing: -.04em;
}


.yc-login16-brand-copy span {
    margin-top: 2px;

    color:
        var(--login16-muted);

    font-size: .68rem;
    font-weight: 600;
}


.yc-login16-brand-center {
    margin-top:
        clamp(
            92px,
            13vh,
            135px
        );
}


.yc-login16-kicker {
    display: inline-block;

    color:
        var(--login16-accent);

    font-size: .67rem;
    font-weight: 800;

    letter-spacing: .10em;
}


.yc-login16-brand-center h1 {
    margin:
        10px 0 0;

    color:
        var(--login16-text);

    font-size:
        clamp(
            2.7rem,
            5vw,
            4.6rem
        );

    line-height: 1.12;

    letter-spacing: -.035em;
}


.yc-login16-line {
    width:
        clamp(
            150px,
            42%,
            235px
        );

    height: 7px;

    margin-top: 18px;

    overflow: hidden;

    border-radius: 999px;

    background:
        color-mix(
            in srgb,
            var(--login16-accent) 14%,
            var(--login16-border)
        );
}


.yc-login16-line::after {
    content: "";

    display: block;

    width: 46%;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--login16-accent),
            var(--login16-cyan)
        );

    animation:
        login16LinePulse
        2.7s
        ease-in-out
        infinite alternate;
}


@keyframes login16LinePulse {
    from {
        transform:
            translateX(0);
    }

    to {
        transform:
            translateX(-100%);
    }
}


/* ---------------------------------------------------------
   Brand motion - subtle financial pulse
   --------------------------------------------------------- */

.yc-login16-finance-motion {
    position: relative;

    width: 100%;
    height: 184px;

    margin-top: 26px;

    overflow: hidden;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 11%,
            var(--login16-border)
        );

    border-radius: 24px;

    background:
        radial-gradient(
            circle at 73% 48%,
            color-mix(
                in srgb,
                var(--login16-accent) 10%,
                transparent
            ),
            transparent 30%
        ),
        radial-gradient(
            circle at 19% 72%,
            color-mix(
                in srgb,
                var(--login16-cyan) 8%,
                transparent
            ),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            color-mix(
                in srgb,
                var(--login16-accent) 3%,
                transparent
            ),
            transparent 65%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .22),
        0 18px 42px
        color-mix(
            in srgb,
            var(--login16-accent) 6%,
            transparent
        );
}


html[data-theme="dark"]
.yc-login16-finance-motion {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035),
        0 18px 42px rgba(0, 0, 0, .08);
}


.yc-login16-finance-motion::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: .28;

    background-image:
        linear-gradient(
            color-mix(
                in srgb,
                var(--login16-accent) 8%,
                transparent
            )
            1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            color-mix(
                in srgb,
                var(--login16-accent) 8%,
                transparent
            )
            1px,
            transparent 1px
        );

    background-size:
        24px 24px;

    mask-image:
        linear-gradient(
            90deg,
            transparent,
            #000 12%,
            #000 88%,
            transparent
        );
}


.yc-login16-finance-motion::after {
    content: "";

    position: absolute;

    top: 16%;
    bottom: 16%;
    left: -18%;

    width: 28%;

    opacity: .22;

    background:
        linear-gradient(
            90deg,
            transparent,
            color-mix(
                in srgb,
                var(--login16-cyan) 56%,
                transparent
            ),
            transparent
        );

    filter: blur(10px);

    transform:
        skewX(-12deg);

    animation:
        login16FinanceScan
        6.5s
        linear
        infinite;
}


@keyframes login16FinanceScan {
    from {
        transform:
            translate3d(0, 0, 0)
            skewX(-12deg);
    }

    to {
        transform:
            translate3d(470%, 0, 0)
            skewX(-12deg);
    }
}


.yc-login16-flow-orbit {
    position: absolute;

    top: 50%;
    right: 27%;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 28%,
            transparent
        );

    border-radius: 50%;

    transform:
        translate(50%, -50%);
}


.yc-login16-flow-orbit::after {
    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    top: 50%;
    left: -4px;

    border-radius: 50%;

    background:
        var(--login16-cyan);

    box-shadow:
        0 0 0 5px
        color-mix(
            in srgb,
            var(--login16-cyan) 9%,
            transparent
        ),
        0 0 18px
        color-mix(
            in srgb,
            var(--login16-cyan) 40%,
            transparent
        );
}


.yc-login16-flow-orbit.flow-orbit-one {
    width: 116px;
    height: 116px;

    animation:
        login16OrbitOne
        10s
        linear
        infinite;
}


.yc-login16-flow-orbit.flow-orbit-two {
    width: 170px;
    height: 170px;

    opacity: .58;

    border-style: dashed;

    animation:
        login16OrbitTwo
        16s
        linear
        infinite reverse;
}


@keyframes login16OrbitOne {
    from {
        transform:
            translate(50%, -50%)
            rotate(0deg);
    }

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


@keyframes login16OrbitTwo {
    from {
        transform:
            translate(50%, -50%)
            rotate(0deg);
    }

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


.yc-login16-flow-core {
    position: absolute;

    top: 50%;
    right: 27%;

    width: 50px;
    height: 50px;

    display: grid;
    place-items: center;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 38%,
            var(--login16-border)
        );

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 36% 30%,
            rgba(255, 255, 255, .56),
            color-mix(
                in srgb,
                var(--login16-accent) 18%,
                var(--login16-card-solid)
            )
            46%,
            color-mix(
                in srgb,
                var(--login16-accent-2) 13%,
                var(--login16-card-solid)
            )
        );

    box-shadow:
        0 0 0 10px
        color-mix(
            in srgb,
            var(--login16-accent) 5%,
            transparent
        ),
        0 12px 28px
        color-mix(
            in srgb,
            var(--login16-accent) 18%,
            transparent
        );

    transform:
        translate(50%, -50%);

    animation:
        login16CorePulse
        3.4s
        ease-in-out
        infinite;
}


.yc-login16-flow-core span {
    width: 13px;
    height: 13px;

    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            var(--login16-accent),
            var(--login16-cyan)
        );

    box-shadow:
        0 0 18px
        color-mix(
            in srgb,
            var(--login16-accent) 55%,
            transparent
        );
}


@keyframes login16CorePulse {
    0%,
    100% {
        box-shadow:
            0 0 0 8px
            color-mix(
                in srgb,
                var(--login16-accent) 5%,
                transparent
            ),
            0 12px 28px
            color-mix(
                in srgb,
                var(--login16-accent) 13%,
                transparent
            );
    }

    50% {
        box-shadow:
            0 0 0 15px
            color-mix(
                in srgb,
                var(--login16-accent) 2%,
                transparent
            ),
            0 16px 34px
            color-mix(
                in srgb,
                var(--login16-accent) 21%,
                transparent
            );
    }
}


.yc-login16-flow-dot {
    position: absolute;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        var(--login16-accent);

    box-shadow:
        0 0 14px
        color-mix(
            in srgb,
            var(--login16-accent) 40%,
            transparent
        );

    animation:
        login16FlowDot
        4.8s
        ease-in-out
        infinite alternate;
}


.yc-login16-flow-dot.dot-one {
    top: 26%;
    left: 14%;
}


.yc-login16-flow-dot.dot-two {
    top: 63%;
    left: 27%;

    width: 5px;
    height: 5px;

    animation-delay: -1.1s;
}


.yc-login16-flow-dot.dot-three {
    top: 24%;
    left: 48%;

    width: 6px;
    height: 6px;

    background:
        var(--login16-cyan);

    animation-delay: -2.2s;
}


.yc-login16-flow-dot.dot-four {
    right: 8%;
    bottom: 18%;

    width: 5px;
    height: 5px;

    background:
        var(--login16-accent-2);

    animation-delay: -3.1s;
}


@keyframes login16FlowDot {
    from {
        opacity: .35;

        transform:
            translate3d(-5px, 5px, 0)
            scale(.82);
    }

    to {
        opacity: 1;

        transform:
            translate3d(8px, -8px, 0)
            scale(1.16);
    }
}


.yc-login16-flow-wave {
    position: absolute;

    left: 7%;

    width: 52%;
    height: 66px;

    border-top:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 32%,
            transparent
        );

    border-radius: 50%;

    transform-origin: center;
}


.yc-login16-flow-wave.wave-one {
    top: 51%;

    transform:
        rotate(-8deg);

    animation:
        login16WaveOne
        5.8s
        ease-in-out
        infinite alternate;
}


.yc-login16-flow-wave.wave-two {
    top: 61%;

    opacity: .55;

    border-color:
        color-mix(
            in srgb,
            var(--login16-cyan) 36%,
            transparent
        );

    transform:
        rotate(7deg);

    animation:
        login16WaveTwo
        7.2s
        ease-in-out
        infinite alternate;
}


@keyframes login16WaveOne {
    from {
        transform:
            translate3d(-4px, 4px, 0)
            rotate(-8deg)
            scaleX(.96);
    }

    to {
        transform:
            translate3d(7px, -4px, 0)
            rotate(-4deg)
            scaleX(1.04);
    }
}


@keyframes login16WaveTwo {
    from {
        transform:
            translate3d(5px, -2px, 0)
            rotate(7deg)
            scaleX(1.04);
    }

    to {
        transform:
            translate3d(-7px, 5px, 0)
            rotate(3deg)
            scaleX(.95);
    }
}


.yc-login16-flow-bars {
    position: absolute;

    left: 10%;
    bottom: 24px;

    height: 54px;

    display: flex;
    align-items: flex-end;

    gap: 6px;
}


.yc-login16-flow-bars i {
    width: 7px;

    display: block;

    border-radius: 999px;

    background:
        linear-gradient(
            180deg,
            var(--login16-accent),
            color-mix(
                in srgb,
                var(--login16-cyan) 76%,
                var(--login16-accent)
            )
        );

    box-shadow:
        0 7px 16px
        color-mix(
            in srgb,
            var(--login16-accent) 15%,
            transparent
        );

    transform-origin: bottom;

    animation:
        login16BarPulse
        2.8s
        ease-in-out
        infinite alternate;
}


.yc-login16-flow-bars .bar-one {
    height: 19px;
}


.yc-login16-flow-bars .bar-two {
    height: 34px;

    animation-delay: -.5s;
}


.yc-login16-flow-bars .bar-three {
    height: 26px;

    animation-delay: -1.1s;
}


.yc-login16-flow-bars .bar-four {
    height: 46px;

    animation-delay: -1.7s;
}


.yc-login16-flow-bars .bar-five {
    height: 37px;

    animation-delay: -2.1s;
}


@keyframes login16BarPulse {
    from {
        opacity: .46;

        transform:
            scaleY(.78);
    }

    to {
        opacity: .95;

        transform:
            scaleY(1.06);
    }
}


.yc-login16-brand-signature {
    display: flex;
    align-items: center;

    gap: 8px;

    margin-top: auto;

    color:
        var(--login16-muted);

    font-size: .62rem;
    font-weight: 700;
}


.yc-login16-signature-dot {
    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        var(--login16-green);

    box-shadow:
        0 0 0 5px
        color-mix(
            in srgb,
            var(--login16-green) 9%,
            transparent
        );

    animation:
        login16DotPulse
        2.2s
        ease-in-out
        infinite;
}


@keyframes login16DotPulse {
    0%,
    100% {
        box-shadow:
            0 0 0 5px
            color-mix(
                in srgb,
                var(--login16-green) 9%,
                transparent
            );
    }

    50% {
        box-shadow:
            0 0 0 9px
            color-mix(
                in srgb,
                var(--login16-green) 2%,
                transparent
            );
    }
}


/* ---------------------------------------------------------
   Form zone
   --------------------------------------------------------- */

.yc-login16-form-zone {
    display: flex;
    flex-direction: column;

    padding:
        42px 38px 28px;

    background:
        var(--login16-card-solid);
}


.yc-login16-form-head {
    margin-bottom: 28px;
}


.yc-login16-small-title {
    display: block;

    color:
        var(--login16-accent);

    font-size: .72rem;
    font-weight: 800;
}


.yc-login16-form-head h2 {
    margin:
        6px 0 0;

    color:
        var(--login16-text);

    font-size: 2rem;

    line-height: 1.25;
}


.yc-login16-form-head p {
    margin:
        6px 0 0;

    color:
        var(--login16-muted);

    font-size: .78rem;
}


.yc-login16-form {
    display: grid;

    gap: 16px;
}


.yc-login16-summary {
    padding: 0;

    color:
        var(--login16-red);

    font-size: .70rem;
}


.yc-login16-summary:empty {
    display: none;
}


.yc-login16-field {
    display: grid;

    gap: 7px;
}


.yc-login16-field label {
    color:
        var(--login16-text);

    font-size: .74rem;
    font-weight: 800;
}


.yc-login16-input {
    position: relative;
}


.yc-login16-input input {
    width: 100%;
    min-height: 52px;

    padding:
        11px 46px 11px 12px;

    border:
        1px solid
        var(--login16-border);

    border-radius: 13px;

    outline: none;

    color:
        var(--login16-text);

    background:
        var(--login16-card-soft);

    font:
        inherit;

    font-size: .84rem;

    transition:
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease,
        transform 160ms ease;
}


.yc-login16-input input::placeholder {
    color:
        color-mix(
            in srgb,
            var(--login16-muted) 74%,
            transparent
        );
}


.yc-login16-input input:focus {
    border-color:
        var(--login16-accent);

    background:
        var(--login16-card-solid);

    box-shadow:
        0 0 0 4px
        color-mix(
            in srgb,
            var(--login16-accent) 9%,
            transparent
        );

    transform:
        translateY(-1px);
}


.yc-login16-input-icon {
    position: absolute;

    top: 50%;
    right: 14px;

    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    color:
        var(--login16-muted);

    transform:
        translateY(-50%);

    pointer-events: none;
}


.yc-login16-input-icon svg {
    width: 17px;
    height: 17px;
}


.yc-login16-error {
    color:
        var(--login16-red);

    font-size: .65rem;
}


.yc-login16-remember {
    width: fit-content;

    display: inline-flex;
    align-items: center;

    gap: 8px;

    color:
        var(--login16-muted);

    font-size: .70rem;

    cursor: pointer;
}


.yc-login16-remember input {
    width: 17px;
    height: 17px;

    accent-color:
        var(--login16-accent);
}


.yc-login16-submit {
    position: relative;

    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    overflow: hidden;

    border: 0;

    border-radius: 13px;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            #4377eb,
            #325ed1
        );

    box-shadow:
        0 14px 30px
        rgba(52, 94, 211, .24);

    font:
        inherit;

    font-size: .80rem;
    font-weight: 800;

    cursor: pointer;

    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        filter 160ms ease;
}


.yc-login16-submit::before {
    content: "";

    position: absolute;

    top: -70%;
    left: -24%;

    width: 42%;
    height: 240%;

    opacity: .30;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, .16) 24%,
            rgba(255, 255, 255, .82) 50%,
            rgba(255, 255, 255, .16) 76%,
            transparent
        );

    transform:
        translate3d(-230%, 0, 0)
        rotate(18deg);

    will-change: transform;

    animation:
        login16ButtonSweep
        3.25s
        linear
        infinite;
}


@keyframes login16ButtonSweep {
    from {
        transform:
            translate3d(-230%, 0, 0)
            rotate(18deg);
    }

    to {
        transform:
            translate3d(520%, 0, 0)
            rotate(18deg);
    }
}


.yc-login16-submit:hover {
    transform:
        translateY(-2px);

    filter:
        brightness(1.03);

    box-shadow:
        0 18px 38px
        rgba(52, 94, 211, .30);
}


.yc-login16-submit span,
.yc-login16-submit svg {
    position: relative;

    z-index: 2;
}


.yc-login16-submit svg {
    width: 16px;
    height: 16px;
}


/* ---------------------------------------------------------
   Y.A.S Program / WhatsApp
   --------------------------------------------------------- */

.yc-login16-support {
    margin-top: auto;

    padding-top: 28px;
}


.yc-login16-support-label {
    margin-bottom: 8px;

    color:
        var(--login16-muted);

    font-size: .62rem;
    font-weight: 700;
}


.yc-login16-support-actions {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 9px;
}


.yc-login16-company-link,
.yc-login16-whatsapp {
    min-height: 62px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding:
        9px 10px;

    overflow: hidden;

    border:
        1px solid
        var(--login16-border);

    border-radius: 13px;

    color:
        var(--login16-text);

    background:
        var(--login16-card-soft);

    box-shadow:
        inset 0 1px 0
        rgba(255, 255, 255, .02);

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease,
        background-color 160ms ease;
}


.yc-login16-company-link:hover {
    transform:
        translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--login16-accent) 30%,
            var(--login16-border)
        );

    background:
        color-mix(
            in srgb,
            var(--login16-accent) 4%,
            var(--login16-card-soft)
        );

    box-shadow:
        var(--login16-shadow-soft);
}


.yc-login16-company-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex:
        0 0 36px;

    border-radius: 10px;

    color:
        var(--login16-accent);

    background:
        color-mix(
            in srgb,
            var(--login16-accent) 9%,
            var(--login16-card)
        );
}


.yc-login16-company-icon svg {
    width: 17px;
    height: 17px;
}


.yc-login16-company-copy {
    min-width: 0;

    flex: 1;
}


.yc-login16-company-copy small,
.yc-login16-company-copy strong {
    display: block;
}


.yc-login16-company-copy small {
    color:
        var(--login16-muted);

    font-size: .51rem;
}


.yc-login16-company-copy strong {
    margin-top: 2px;

    color:
        var(--login16-text);

    font-size: .68rem;
}


.yc-login16-link-arrow {
    width: 15px;
    height: 15px;

    flex:
        0 0 15px;

    color:
        var(--login16-muted);
}


.yc-login16-whatsapp {
    border-color:
        color-mix(
            in srgb,
            var(--login16-green) 22%,
            var(--login16-border)
        );

    color:
        var(--login16-green);

    background:
        color-mix(
            in srgb,
            var(--login16-green) 5%,
            var(--login16-card-soft)
        );
}


.yc-login16-whatsapp:hover {
    transform:
        translateY(-2px);

    border-color:
        color-mix(
            in srgb,
            var(--login16-green) 36%,
            var(--login16-border)
        );

    box-shadow:
        0 12px 28px
        color-mix(
            in srgb,
            var(--login16-green) 12%,
            transparent
        );
}


.yc-login16-whatsapp-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    flex:
        0 0 36px;

    border-radius: 10px;

    color:
        var(--login16-green);

    background:
        color-mix(
            in srgb,
            var(--login16-green) 10%,
            var(--login16-card)
        );
}


.yc-login16-whatsapp-icon svg {
    width: 18px;
    height: 18px;
}


.yc-login16-whatsapp small,
.yc-login16-whatsapp strong {
    display: block;
}


.yc-login16-whatsapp small {
    color:
        var(--login16-muted);

    font-size: .51rem;
}


.yc-login16-whatsapp strong {
    margin-top: 2px;

    color:
        var(--login16-green);

    font-size: .66rem;
}


.yc-login16-rights {
    margin-top: 12px;

    color:
        var(--login16-muted);

    font-size: .55rem;

    text-align: center;
}


/* ---------------------------------------------------------
   Theme button
   --------------------------------------------------------- */

.yc-login-v16-body
.yc-public-v14-login-tools {
    position: fixed;

    top: 18px;
    left: 18px;

    z-index: 50;
}


.yc-login-v16-body
.yc-public-v14-theme-button {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    border:
        1px solid
        var(--login16-border);

    border-radius: 13px;

    color:
        var(--login16-text);

    background:
        var(--login16-card);

    box-shadow:
        var(--login16-shadow-soft);

    backdrop-filter:
        blur(16px);

    transition:
        transform 150ms ease,
        border-color 150ms ease,
        box-shadow 150ms ease;
}


.yc-login-v16-body
.yc-public-v14-theme-button:hover {
    transform:
        rotate(6deg)
        scale(1.04);

    border-color:
        color-mix(
            in srgb,
            var(--login16-accent) 30%,
            var(--login16-border)
        );
}


/* ---------------------------------------------------------
   Tablet
   --------------------------------------------------------- */

@media (max-width: 980px) {
    .yc-login16-card {
        grid-template-columns:
            minmax(0, .92fr)
            minmax(360px, 1.08fr);

        min-height: 620px;
    }


    .yc-login16-brand-zone {
        padding:
            28px 24px 26px;
    }


    .yc-login16-brand-center {
        margin-top:
            86px;
    }


    .yc-login16-brand-center h1 {
        font-size:
            clamp(
                2.3rem,
                5vw,
                3.7rem
            );
    }


    .yc-login16-form-zone {
        padding:
            34px 28px 24px;
    }


    .yc-login16-support-actions {
        grid-template-columns:
            1fr;
    }
}


/* ---------------------------------------------------------
   Mobile
   --------------------------------------------------------- */

@media (max-width: 760px) {
    .yc-public-v14-content.login-mode {
        min-height: 100svh;

        align-items: flex-start;

        padding:
            54px 8px 10px;
    }


    .yc-login16-page {
        max-width: 560px;
    }


    .yc-login16-card {
        min-height: 0;

        grid-template-columns:
            1fr;

        border-radius: 18px;
    }


    .yc-login16-card::after {
        border-radius: 17px;
    }


    .yc-login16-brand-zone {
        min-height: 0;

        padding:
            15px 16px 13px;

        border-left: 0;

        border-bottom:
            1px solid
            var(--login16-border);
    }


    .yc-login16-brand-top {
        gap: 10px;
    }


    .yc-login16-logo-wrap {
        width: 54px;
        height: 54px;

        flex-basis: 54px;
    }


    .yc-login16-logo {
        width: 50px;
        height: 50px;

        border-radius: 14px;
    }


    .yc-login16-brand-copy strong {
        font-size: 1.22rem;
    }


    .yc-login16-brand-copy span {
        font-size: .56rem;
    }


    .yc-login16-brand-center {
        margin-top: 11px;
    }


    .yc-login16-brand-center h1 {
        margin-top: 0;

        font-size: 1.55rem;
        line-height: 1.16;
    }


    .yc-login16-line {
        width:
            min(
                155px,
                52%
            );

        height: 5px;

        margin-top: 9px;
    }


    .yc-login16-finance-motion {
        height: 58px;

        margin-top: 11px;

        border-radius: 15px;
    }


    .yc-login16-finance-motion::before {
        background-size:
            18px 18px;
    }


    .yc-login16-flow-orbit {
        right: 22%;
    }


    .yc-login16-flow-orbit.flow-orbit-one {
        width: 46px;
        height: 46px;
    }


    .yc-login16-flow-orbit.flow-orbit-two {
        width: 70px;
        height: 70px;
    }


    .yc-login16-flow-core {
        right: 22%;

        width: 26px;
        height: 26px;
    }


    .yc-login16-flow-core span {
        width: 7px;
        height: 7px;
    }


    .yc-login16-flow-wave {
        left: 9%;

        width: 52%;
        height: 26px;
    }


    .yc-login16-flow-wave.wave-one {
        top: 45%;
    }


    .yc-login16-flow-wave.wave-two {
        top: 58%;
    }


    .yc-login16-flow-bars {
        left: 10%;
        bottom: 9px;

        height: 32px;

        gap: 4px;
    }


    .yc-login16-flow-bars i {
        width: 4px;
    }


    .yc-login16-flow-bars .bar-one {
        height: 10px;
    }


    .yc-login16-flow-bars .bar-two {
        height: 20px;
    }


    .yc-login16-flow-bars .bar-three {
        height: 14px;
    }


    .yc-login16-flow-bars .bar-four {
        height: 27px;
    }


    .yc-login16-flow-bars .bar-five {
        height: 22px;
    }


    .yc-login16-brand-signature {
        display: none;
    }


    .yc-login16-form-zone {
        padding:
            17px 16px 13px;
    }


    .yc-login16-form-head {
        margin-bottom: 13px;
    }


    .yc-login16-small-title {
        font-size: .64rem;
    }


    .yc-login16-form-head h2 {
        margin-top: 3px;

        font-size: 1.38rem;
    }


    .yc-login16-form-head p {
        margin-top: 3px;

        font-size: .69rem;
    }


    .yc-login16-form {
        gap: 11px;
    }


    .yc-login16-field {
        gap: 5px;
    }


    .yc-login16-field label {
        font-size: .69rem;
    }


    .yc-login16-input input {
        min-height: 47px;

        padding:
            9px 43px 9px 11px;

        border-radius: 12px;

        font-size: .80rem;
    }


    .yc-login16-input-icon {
        right: 13px;
    }


    .yc-login16-remember {
        font-size: .66rem;
    }


    .yc-login16-remember input {
        width: 16px;
        height: 16px;
    }


    .yc-login16-submit {
        min-height: 47px;

        border-radius: 12px;
    }


    .yc-login16-support {
        margin-top: 0;

        padding-top: 14px;
    }


    .yc-login16-support-label {
        display: none;
    }


    .yc-login16-support-actions {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        gap: 7px;
    }


    .yc-login16-company-link,
    .yc-login16-whatsapp {
        min-height: 52px;

        gap: 7px;

        padding:
            7px 8px;

        border-radius: 11px;
    }


    .yc-login16-company-icon,
    .yc-login16-whatsapp-icon {
        width: 31px;
        height: 31px;

        flex-basis: 31px;

        border-radius: 9px;
    }


    .yc-login16-company-copy small,
    .yc-login16-whatsapp-copy small {
        font-size: .47rem;
    }


    .yc-login16-company-copy strong,
    .yc-login16-whatsapp-copy strong {
        font-size: .60rem;
    }


    .yc-login16-company-copy > span,
    .yc-login16-external {
        display: none;
    }


    .yc-login16-rights {
        margin-top: 7px;

        font-size: .46rem;
    }


    .yc-login-v16-body
    .yc-public-v14-login-tools {
        top: 9px;
        left: 9px;
    }


    .yc-login-v16-body
    .yc-public-v14-theme-button {
        width: 37px;
        height: 37px;

        border-radius: 10px;
    }
}


@media (max-width: 760px) and (max-height: 720px) {
    .yc-public-v14-content.login-mode {
        padding-top: 49px;
    }


    .yc-login16-brand-zone {
        padding-top: 11px;
        padding-bottom: 10px;
    }


    .yc-login16-logo-wrap {
        width: 46px;
        height: 46px;

        flex-basis: 46px;
    }


    .yc-login16-logo {
        width: 43px;
        height: 43px;
    }


    .yc-login16-brand-copy span,
    .yc-login16-form-head p {
        display: none;
    }


    .yc-login16-brand-center {
        margin-top: 7px;
    }


    .yc-login16-brand-center h1 {
        font-size: 1.32rem;
    }


    .yc-login16-finance-motion {
        height: 38px;

        margin-top: 8px;
    }


    .yc-login16-flow-orbit.flow-orbit-two,
    .yc-login16-flow-dot.dot-three,
    .yc-login16-flow-dot.dot-four {
        display: none;
    }


    .yc-login16-form-zone {
        padding-top: 13px;
        padding-bottom: 10px;
    }


    .yc-login16-form-head {
        margin-bottom: 9px;
    }


    .yc-login16-form {
        gap: 8px;
    }


    .yc-login16-input input,
    .yc-login16-submit {
        min-height: 44px;
    }


    .yc-login16-support {
        padding-top: 10px;
    }


    .yc-login16-company-link,
    .yc-login16-whatsapp {
        min-height: 47px;
    }


    .yc-login16-rights {
        display: none;
    }
}


/* ---------------------------------------------------------
   Reduced motion
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .yc-login16-grid,
    .yc-login16-orb,
    .yc-login16-ring,
    .yc-login16-streak,
    .yc-login16-card,
    .yc-login16-logo-glow,
    .yc-login16-line::after,
    .yc-login16-signature-dot,
    .yc-login16-submit::before,
    .yc-login16-finance-motion::after,
    .yc-login16-flow-orbit,
    .yc-login16-flow-core,
    .yc-login16-flow-dot,
    .yc-login16-flow-wave,
    .yc-login16-flow-bars i,
    .yc-login16-sphere {
        animation: none !important;
    }


    .yc-login16-submit,
    .yc-login16-company-link,
    .yc-login16-whatsapp,
    .yc-login16-input input {
        transition: none !important;
    }
}


/* ---------------------------------------------------------
   Visible moving spheres inside login card
   --------------------------------------------------------- */

.yc-login16-card-spheres {
    position: absolute;

    inset: 0;

    z-index: 1;

    overflow: hidden;

    border-radius: inherit;

    pointer-events: none;
}


.yc-login16-sphere {
    position: absolute;

    display: block;

    border:
        1px solid
        color-mix(
            in srgb,
            var(--login16-accent) 18%,
            var(--login16-border)
        );

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 32% 28%,
            color-mix(
                in srgb,
                #ffffff 52%,
                transparent
            ),
            color-mix(
                in srgb,
                var(--login16-accent) 18%,
                transparent
            )
            42%,
            color-mix(
                in srgb,
                var(--login16-accent-2) 8%,
                transparent
            )
            72%,
            transparent
        );

    box-shadow:
        inset -10px -12px 26px
        color-mix(
            in srgb,
            var(--login16-accent-2) 10%,
            transparent
        ),
        0 14px 38px
        color-mix(
            in srgb,
            var(--login16-accent) 13%,
            transparent
        );

    backdrop-filter:
        blur(3px);
}


html[data-theme="dark"]
.yc-login16-sphere {
    border-color:
        color-mix(
            in srgb,
            var(--login16-accent) 28%,
            var(--login16-border)
        );

    background:
        radial-gradient(
            circle at 32% 28%,
            rgba(255, 255, 255, .15),
            color-mix(
                in srgb,
                var(--login16-accent) 18%,
                transparent
            )
            38%,
            color-mix(
                in srgb,
                var(--login16-accent-2) 11%,
                transparent
            )
            70%,
            transparent
        );
}


.yc-login16-sphere.sphere-one {
    width: 102px;
    height: 102px;

    top: 12%;
    left: 43%;

    opacity: .62;

    animation:
        login16SphereOne
        9s
        ease-in-out
        infinite alternate;
}


.yc-login16-sphere.sphere-two {
    width: 64px;
    height: 64px;

    right: 8%;
    top: 43%;

    opacity: .52;

    animation:
        login16SphereTwo
        11s
        ease-in-out
        infinite alternate;
}


.yc-login16-sphere.sphere-three {
    width: 82px;
    height: 82px;

    left: 9%;
    bottom: 11%;

    opacity: .50;

    animation:
        login16SphereThree
        13s
        ease-in-out
        infinite alternate;
}


.yc-login16-sphere.sphere-four {
    width: 42px;
    height: 42px;

    left: 52%;
    bottom: 16%;

    opacity: .58;

    animation:
        login16SphereFour
        8s
        ease-in-out
        infinite alternate;
}


@keyframes login16SphereOne {
    from {
        transform:
            translate3d(0, 0, 0)
            rotate(0deg);
    }

    to {
        transform:
            translate3d(-62px, 54px, 0)
            rotate(22deg);
    }
}


@keyframes login16SphereTwo {
    from {
        transform:
            translate3d(0, 0, 0)
            scale(.92);
    }

    to {
        transform:
            translate3d(-74px, -46px, 0)
            scale(1.12);
    }
}


@keyframes login16SphereThree {
    from {
        transform:
            translate3d(0, 0, 0)
            scale(1);
    }

    to {
        transform:
            translate3d(86px, -54px, 0)
            scale(.90);
    }
}


@keyframes login16SphereFour {
    from {
        transform:
            translate3d(0, 0, 0);
    }

    to {
        transform:
            translate3d(68px, -82px, 0);
    }
}


/* Stronger underline below "تحكم أوضح في أموالك" */

.yc-login16-line {
    position: relative;

    box-shadow:
        0 5px 18px
        color-mix(
            in srgb,
            var(--login16-accent) 12%,
            transparent
        );
}


.yc-login16-line::before {
    content: "";

    position: absolute;

    inset: -7px 12%;

    z-index: -1;

    border-radius: 999px;

    opacity: .32;

    background:
        linear-gradient(
            90deg,
            var(--login16-accent),
            var(--login16-cyan)
        );

    filter:
        blur(12px);
}


/* Professional Y.A.S Program / WhatsApp cards */

.yc-login16-support-label {
    margin-bottom: 10px;

    font-size: .66rem;
}


.yc-login16-company-link,
.yc-login16-whatsapp {
    min-height: 72px;

    padding:
        10px 12px;

    border-radius: 14px;
}


.yc-login16-company-icon,
.yc-login16-whatsapp-icon {
    width: 40px;
    height: 40px;

    flex-basis: 40px;

    border-radius: 11px;
}


.yc-login16-company-copy small,
.yc-login16-whatsapp-copy small {
    display: block;

    color:
        var(--login16-muted);

    font-size: .55rem;
}


.yc-login16-company-copy strong,
.yc-login16-whatsapp-copy strong {
    display: block;

    margin-top: 2px;

    font-size: .72rem;
    font-weight: 800;
}


.yc-login16-company-copy > span {
    display: block;

    margin-top: 2px;

    color:
        var(--login16-muted);

    direction: ltr;

    font-size: .52rem;
}


.yc-login16-external {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    flex: 0 0 28px;

    border:
        1px solid
        var(--login16-border);

    border-radius: 8px;

    color:
        var(--login16-muted);

    background:
        var(--login16-card-solid);
}


.yc-login16-external svg {
    width: 13px;
    height: 13px;
}


.yc-login16-whatsapp-copy {
    min-width: 0;

    flex: 1;
}


.yc-login16-whatsapp-copy strong {
    color:
        var(--login16-green);

    letter-spacing: .01em;
}


@media (max-width: 760px) {
    .yc-login16-sphere.sphere-one {
        width: 58px;
        height: 58px;

        left: 76%;
        top: 6%;

        opacity: .36;
    }


    .yc-login16-sphere.sphere-two {
        width: 38px;
        height: 38px;

        right: 7%;
        top: 31%;

        opacity: .30;
    }


    .yc-login16-sphere.sphere-three,
    .yc-login16-sphere.sphere-four {
        display: none;
    }
}
