﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    overflow: hidden;
}

/* =====================================
           MAIN PAGE
        ===================================== */

.login-page {
    width: 100%;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient( circle at 15% 85%, rgba(0, 170, 255, .35), transparent 35% ), radial-gradient( circle at 85% 15%, rgba(100, 0, 255, .40), transparent 35% ), linear-gradient( 135deg, #11145d, #073b7d, #27005f );
}


/* =====================================
           BACKGROUND ANIMATED LIGHTS
        ===================================== */

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
    pointer-events: none;
    animation: floatOrb 8s ease-in-out infinite;
}

.orb1 {
    width: 350px;
    height: 350px;
    background: #00d9ff;
    left: -120px;
    bottom: -130px;
}

.orb2 {
    width: 400px;
    height: 400px;
    background: #6400ff;
    right: -160px;
    top: -140px;
    animation-delay: 2s;
}

.orb3 {
    width: 220px;
    height: 220px;
    background: #0066ff;
    left: 45%;
    top: 15%;
    animation-delay: 4s;
}

@keyframes floatOrb {

    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -35px) scale(1.12);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}


/* =====================================
           LOGIN CARD
        ===================================== */

.login-card {
    width: 390px;
    min-height: 530px;
    padding: 2px;
    position: relative;
    z-index: 10;
    border-radius: 22px;
    background: linear-gradient( 120deg, #00ffff, #ffffff, #009dff, #6300ff, #00ffff );
    background-size: 300% 300%;
    animation: neonBorder 5s ease infinite;
    box-shadow: 0 0 15px #00eaff, 0 0 40px rgba(0, 140, 255, .5), 0 0 90px rgba(70, 0, 255, .35);
}

@keyframes neonBorder {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* =====================================
           CARD CONTENT
        ===================================== */

.login-content {
    width: 100%;
    min-height: 526px;
    padding: 40px 35px 30px;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    color: white;
    background: linear-gradient( 145deg, rgba(22, 96, 178, .96), rgba(28, 59, 140, .96), rgba(38, 20, 105, .97) );
    backdrop-filter: blur(20px);
}


  


/* =====================================
           USER ICON
        ===================================== */

.user-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid #5fffff;
    background: rgba(35, 0, 150, .45);
    box-shadow: 0 0 12px #00ffff, inset 0 0 20px #3900ff;
    animation: iconGlow 2.5s infinite;
}

    .user-icon svg {
        width: 36px;
        height: 36px;
        fill: none;
        stroke: white;
        stroke-width: 1.5;
    }

@keyframes iconGlow {

    0%,100% {
        box-shadow: 0 0 10px #00ffff, inset 0 0 15px #3200ff;
    }

    50% {
        box-shadow: 0 0 30px #00ffff, 0 0 50px #004cff, inset 0 0 25px #3200ff;
    }
}


/* =====================================
           TITLE
        ===================================== */

.login-title {
    text-align: center;
    font-size: 27px;
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.login-subtitle {
    text-align: center;
    font-size: 13px;
    color: #c7d9fa;
    margin-bottom: 35px;
}


/* =====================================
           INPUT
        ===================================== */

.input-box {
    position: relative;
    width: 100%;
    margin-bottom: 28px;
}

    .input-box input {
        width: 100%;
        height: 43px;
        padding: 0 42px 0 48px;
        color: white;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255,255,255,.65);
        outline: none;
        font-size: 14px;
        transition: .3s;
    }

        .input-box input::placeholder {
            color: #c6d8f5;
        }

        .input-box input:focus {
            border-bottom-color: #00ffff;
            box-shadow: 0 4px 10px -7px #00ffff;
        }


/* =====================================
           INPUT ICON
        ===================================== */

.input-icon {
    position: absolute;
    left: 4px;
    top: 10px;
    width: 22px;
    height: 22px;
    color: white;
}

    .input-icon svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: white;
        stroke-width: 1.3;
    }


/* =====================================
           PASSWORD EYE
        ===================================== */

.password-eye {
    position: absolute;
    right: 4px;
    top: 10px;
    cursor: pointer;
    width: 22px;
    height: 22px;
    opacity: .8;
}

    .password-eye svg {
        width: 100%;
        height: 100%;
        fill: none;
        stroke: white;
        stroke-width: 1.4;
    }


/* =====================================
           OPTIONS
        ===================================== */

.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 29px;
    font-size: 11px;
}

.remember {
    color: #d4e0f6;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

    .remember input {
        accent-color: #4d6dff;
    }

.forgot {
    color: #d0ddf7;
    text-decoration: none;
    transition: .3s;
}

    .forgot:hover {
        color: #00ffff;
        text-shadow: 0 0 8px #00ffff;
    }


/* =====================================
           LOGIN BUTTON
        ===================================== */

.login-button {
    width: 100%;
    height: 44px;
    border-radius: 25px;
    border: 1px solid #70ffff;
    color: white;
    font-size: 15px;
    letter-spacing: 1px;
    cursor: pointer;
    background: linear-gradient( 90deg, #087fbd, #3327a5, #6327cf );
    box-shadow: 0 0 10px rgba(0,255,255,.15);
    transition: .3s;
    position: relative;
    overflow: hidden;
}

    .login-button:before {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: -100%;
        background: linear-gradient( 90deg, transparent, rgba(255,255,255,.35), transparent );
        transition: .5s;
    }

    .login-button:hover:before {
        left: 100%;
    }

    .login-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 15px #00ffff, 0 0 35px #006eff;
    }


/* =====================================
           SIGNUP
        ===================================== */

.signup {
    text-align: center;
    margin-top: 16px;
    font-size: 11px;
    color: #c8d9f4;
}

    .signup a {
        color: white;
        font-weight: bold;
        text-decoration: none;
    }

        .signup a:hover {
            color: #00ffff;
            text-shadow: 0 0 8px #00ffff;
        }


/* =====================================
           ERROR MESSAGE
        ===================================== */

.error-message {
    color: #ffb9c3;
    background: rgba(255,40,70,.15);
    border: 1px solid rgba(255,100,120,.6);
    padding: 7px;
    margin-bottom: 15px;
    border-radius: 5px;
    text-align: center;
    font-size: 12px;
}


/* =====================================
           MOBILE
        ===================================== */

@media (max-width: 500px) {

    .login-card {
        width: calc(100% - 30px);
    }

    .login-content {
        padding: 35px 25px;
    }
}


..login-card {
    width: 390px;
    min-height: 530px;
    padding: 2px;
    border-radius: 22px;
    background: linear-gradient( 135deg, #00ffff, #4169ff, #8a2be2 );
    animation: softGlow 3s ease-in-out infinite;
}

@keyframes softGlow {

    0%, 100% {
        box-shadow: 0 0 5px rgba(0,255,255,.25);
    }

    50% {
        box-shadow: 0 0 15px #00ffff, 0 0 35px rgba(0,170,255,.7), 0 0 65px rgba(100,0,255,.5);
    }
}



