﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #07142d;
    --green: #61ec76;
    --purple: #e774ff;
    --blue: #70cfff;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    overflow: hidden;
}

.login-page {
    min-height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 30% 35%, rgba(21, 54, 91, .55), transparent 30%), radial-gradient(circle at 76% 42%, rgba(9, 44, 76, .65), transparent 35%), linear-gradient(110deg, #081731, #061329 55%, #02091b);
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.glow-1 {
    width: 300px;
    height: 300px;
    left: 12%;
    top: 10%;
    background: rgba(38, 83, 127, .16);
}

.glow-2 {
    width: 240px;
    height: 240px;
    right: 17%;
    top: 20%;
    background: rgba(38, 117, 149, .13);
}

.glow-3 {
    width: 300px;
    height: 200px;
    left: 40%;
    bottom: -100px;
    background: rgba(29, 109, 129, .15);
}

.login-content {
    width: 45%;
    min-width: 500px;
    margin-left: 18%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 5;
}

.brand {
    text-align: center;
    margin-bottom: 28px;
}

.logo {
    width: 86px;
    height: 86px;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 22px rgba(91, 236, 107, .65));
}

    .logo::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(94, 231, 105, .35), transparent 65%);
    }

    .logo span {
        position: absolute;
        width: 42px;
        height: 17px;
        background: linear-gradient(135deg, #86ee72, #35b95e);
        transform: skew(-28deg) rotate(-4deg);
        clip-path: polygon(18% 0, 100% 0, 75% 100%, 0 100%);
    }

        .logo span:first-child {
            transform: translateY(-11px) skew(-28deg) rotate(-4deg);
        }

        .logo span:last-child {
            transform: translateY(11px) skew(-28deg) rotate(-4deg);
        }

.brand h1 {
    margin-top: 5px;
    color: #91a9ca;
    font-size: 22px;
    font-weight: 700;
}

.brand p {
    margin-top: 4px;
    color: #e0e5ed;
    font-size: 14px;
    line-height: 1.45;
}

.login-form {
    width: 320px;
}

.input-group {
    height: 40px;
    margin-bottom: 12px;
    border: 1px solid rgba(130, 170, 210, .75);
    border-radius: 25px;
    background: linear-gradient(90deg, rgba(17, 43, 77, .8), rgba(7, 24, 50, .5));
    box-shadow: inset 0 0 12px rgba(71, 126, 171, .18);
}

    .input-group input {
        width: 100%;
        height: 100%;
        padding: 0 20px;
        border: none;
        outline: none;
        color: white;
        background: transparent;
    }

        .input-group input::placeholder {
            color: #a8b5c8;
        }

button {
    width: 100%;
    height: 42px;
    margin-top: 3px;
    border: 1px solid #75ef7d;
    border-radius: 24px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(90deg, #55bb63, #6ee978, #54bd63);
    box-shadow: 0 0 15px rgba(93, 233, 106, .65);
}

.loader {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.form-options {
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
    color: #c0cad9;
    font-size: 10px;
}

    .form-options label {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .form-options a {
        color: #c0cad9;
        text-decoration: none;
    }

.illustration-area {
    position: absolute;
    right: 8%;
    top: 50%;
    width: 540px;
    height: 540px;
    transform: translateY(-50%);
}

/* =========================
   ORBITS & 14 NEON DOTS
========================= */

.orbit {
    position: absolute;
    left: 50%;
    top: 50%;
    border: 1px solid rgba(124, 171, 208, .35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.orbit-1 {
    width: 420px;
    height: 420px;
    animation: rotateOrbit 18s linear infinite;
}

.orbit-2 {
    width: 520px;
    height: 520px;
    border-style: dashed;
    border-color: rgba(112, 176, 214, .25);
    animation: rotateOrbitReverse 28s linear infinite;
}

.orbit-3 {
    width: 475px;
    height: 475px;
    border-color: rgba(113, 155, 194, .25);
    animation: rotateOrbit 24s linear infinite;
}

/* Each track rotates independently around the exact center */
.dot-track {
    position: absolute;
    inset: 0;
    display: block;
    transform-origin: center;
    animation: orbitDot 12s linear infinite;
}

/* Dot sits at the exact radius of its orbit */
.moving-dot {
    position: absolute;
    display: block;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -4px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 6px currentColor, 0 0 14px currentColor, 0 0 26px currentColor;
    transform-origin: center;
    animation: dotPulse 2s ease-in-out infinite;
}

/* Orbit 1 radius = 195px */
.orbit-1 .moving-dot {
    transform: translateY(-210px);
}

/* Orbit 2 radius = 235px */
.orbit-2 .moving-dot {
    transform: translateY(-260px);
}

/* Orbit 3 radius = 210px */
.orbit-3 .moving-dot {
    transform: translateY(-240px);
}

/* 6 dots evenly spaced around orbit 1 */
.track-1 {
    transform: rotate(0deg);
    animation-duration: 18s;
}

.track-2 {
    transform: rotate(60deg);
    animation-duration: 18s;
    animation-delay: -3s;
}

.track-3 {
    transform: rotate(120deg);
    animation-duration: 18s;
    animation-delay: -6s;
}

.track-4 {
    transform: rotate(180deg);
    animation-duration: 18s;
    animation-delay: -9s;
}

.track-5 {
    transform: rotate(240deg);
    animation-duration: 18s;
    animation-delay: -12s;
}

.track-6 {
    transform: rotate(300deg);
    animation-duration: 18s;
    animation-delay: -15s;
}

/* 4 dots evenly spaced around orbit 2 */
.track-7 {
    transform: rotate(0deg);
    animation-duration: 28s;
}

.track-8 {
    transform: rotate(90deg);
    animation-duration: 28s;
    animation-delay: -7s;
}

.track-9 {
    transform: rotate(180deg);
    animation-duration: 28s;
    animation-delay: -14s;
}

.track-10 {
    transform: rotate(270deg);
    animation-duration: 28s;
    animation-delay: -21s;
}

/* 4 dots evenly spaced around orbit 3 */
.track-11 {
    transform: rotate(45deg);
    animation-duration: 28s;
}

.track-12 {
    transform: rotate(135deg);
    animation-duration: 28s;
    animation-delay: -6s;
}

.track-13 {
    transform: rotate(225deg);
    animation-duration: 28s;
    animation-delay: -12s;
}

.track-14 {
    transform: rotate(315deg);
    animation-duration: 28s;
    animation-delay: -18s;
}

.dot-green {
    color: #61ec76;
}

.dot-blue {
    color: #70cfff;
}

.dot-purple {
    color: #e774ff;
}
/*
@keyframes orbitDot {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}*/

@keyframes rotateOrbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateOrbitReverse {
    from {
        transform: translate(-50%, -50%) rotate(360deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@keyframes dotPulse {
    0%, 100% {
        opacity: .45;
        filter: brightness(.8);
    }

    50% {
        opacity: 1;
        filter: brightness(1.8);
    }
}

.illustration {
    position: absolute;
    width: 390px;
    height: 300px;
    top: 115px;
    left: 75px;
}

.monitor {
    position: absolute;
    width: 270px;
    height: 180px;
    top: 50px;
    left: 60px;
    padding: 13px;
    transform: skewY(-12deg) rotate(-1deg);
    background: linear-gradient(135deg, #dce8f5, #8299c3);
    border-radius: 8px;
    box-shadow: 0 20px 30px rgba(0,0,0,.4);
}

.screen {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #122c50;
    border: 3px solid #c7d7ed;
}

.screen-header {
    height: 22px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding-left: 8px;
    background: #1b4d7b;
}

    .screen-header span {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: #8cd8ff;
    }

.dashboard {
    display: flex;
    height: calc(100% - 22px);
}

.sidebar {
    width: 32px;
    background: #153b65;
}

.dashboard-content {
    flex: 1;
    padding: 12px;
    position: relative;
}

.chart {
    position: absolute;
    bottom: 28px;
    width: 12px;
    background: linear-gradient(to top, #43c7e6, #73e5f0);
}

.chart-1 {
    left: 25px;
    height: 42px;
}

.chart-2 {
    left: 45px;
    height: 65px;
}

.chart-3 {
    left: 65px;
    height: 30px;
}

.line {
    position: absolute;
    right: 12px;
    width: 65px;
    height: 3px;
    border-radius: 5px;
    background: #4dadd6;
}

.line-1 {
    top: 35px;
}

.line-2 {
    top: 52px;
    width: 48px;
}

.line-3 {
    top: 69px;
    width: 58px;
}

.person {
    position: absolute;
}

.person-left {
    left: 190px;
    top: 135px;
    transform: rotate(-20deg);
}

.person-right {
    left: 285px;
    top: 90px;
    transform: rotate(8deg);
}

.head {
    width: 22px;
    height: 22px;
    margin: auto;
    border-radius: 50%;
    background: #ffca82;
}

.body {
    width: 28px;
    height: 52px;
    margin: 3px auto;
    border-radius: 15px 15px 5px 5px;
    background: linear-gradient(180deg, #ed3c4f, #752b68);
}

.person-right .body {
    background: #e7eaf0;
}

.leg {
    position: absolute;
    width: 10px;
    height: 45px;
    bottom: -35px;
    border-radius: 10px;
    background: #17294d;
}

.leg-left {
    left: 3px;
    transform: rotate(20deg);
}

.leg-right {
    right: 3px;
    transform: rotate(-20deg);
}

.floating-card {
    position: absolute;
    width: 27px;
    height: 20px;
    border-radius: 2px;
    background: linear-gradient(135deg, #e8a354, #ee7548);
}

.card-1 {
    top: 30px;
    left: 170px;
    transform: rotate(-20deg);
}

.card-2 {
    top: 90px;
    left: 25px;
    transform: rotate(-12deg);
}

.card-3 {
    top: 15px;
    right: 50px;
    transform: rotate(8deg);
}

.star {
    position: absolute;
    right: 9%;
    bottom: 14%;
    color: #8c92a3;
    font-size: 50px;
    opacity: .8;
}

@media (max-width: 850px) {
    .login-page {
        justify-content: center;
    }

    .login-content {
        width: 100%;
        min-width: auto;
        margin-left: 0;
    }

    .illustration-area {
        display: none;
    }
}
