:root {
    --primary: #0d6efd;
    --primary-dark: #084298;
    --bg: #07111f;
    --card: rgba(255,255,255,.08);
    --border: rgba(255,255,255,.15);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Inter, system-ui, sans-serif;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(13,110,253,.35),
            transparent 30%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(0,180,255,.25),
            transparent 30%
        ),
        var(--bg);
    color: #fff;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .35;
    z-index: -1;
    animation: float 8s ease-in-out infinite alternate;
}

body::before {
    background: #0d6efd;
    top: 5%;
    left: 5%;
}

body::after {
    background: #00b4ff;
    right: 5%;
    bottom: 5%;
    animation-delay: 2s;
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    padding: 38px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 30px 80px rgba(0,0,0,.4);
    animation: cardIn .7s ease;
}

.auth-logo {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        #0d6efd,
        #00b4ff
    );
    font-size: 24px;
    font-weight: 800;
    box-shadow:
        0 10px 40px rgba(13,110,253,.45);
    animation: logoFloat 3s ease-in-out infinite;
}

.form-control {
    min-height: 50px;
    color: #fff;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
}

.form-control:focus {
    color: #fff;
    background: rgba(255,255,255,.12);
    border-color: #0d6efd;
    box-shadow:
        0 0 0 .2rem rgba(13,110,253,.15);
}

.form-label {
    font-weight: 600;
}

.btn-primary {
    min-height: 50px;
    border: 0;
    border-radius: 12px;
    background:
        linear-gradient(
            135deg,
            #0d6efd,
            #00a8ff
        );
    font-weight: 700;
    transition: .3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 30px rgba(13,110,253,.35);
}

a {
    color: #62b0ff;
    text-decoration: none;
}

a:hover {
    color: #9ed1ff;
}

@keyframes float {

    from {
        transform: translate(
            0,
            0
        );
    }

    to {
        transform: translate(
            40px,
            -40px
        );
    }
}

@keyframes cardIn {

    from {
        opacity: 0;
        transform:
            translateY(30px)
            scale(.97);
    }

    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes logoFloat {

    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }
}

@media (max-width: 480px) {

    .auth-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

}