*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;
}

/* ================= BODY ================= */

body{

    min-height:100vh;

    background:
    linear-gradient(
        rgba(5,18,45,.45),
        rgba(5,18,45,.50)
    ),
    url("images/cloud-bg.png");

    background-size:contain;
    background-position:center;
    background-repeat:no-repeat;
    background-color:#05122d;

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

    color:#fff;

}


/* ================= OVERLAY ================= */

.overlay{

    width:100%;
    min-height:100vh;

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

    padding:40px;

}


/* ================= LOGIN CARD ================= */

.login-card{

    width:430px;

    background:rgba(20,29,52,.68);

    backdrop-filter:blur(12px);

    border:1px solid rgba(255,255,255,.12);

    border-radius:20px;

    padding:45px 35px;

    box-shadow:
    0 20px 50px rgba(0,0,0,.45);

}


/* ================= LOGO ================= */

.logo{

    width:90px;
    height:90px;

    margin:auto;
    margin-bottom:20px;

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

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #00b7ff,
        #0066ff
    );

    box-shadow:
    0 0 25px rgba(0,183,255,.45);

}


.logo i{

    font-size:42px;

    color:#fff;

}


/* ================= HEADING ================= */

.login-card h1{

    text-align:center;

    font-size:34px;

    margin-bottom:10px;

    font-weight:700;

}


.subtitle{

    text-align:center;

    color:#cfd8dc;

    font-size:15px;

    margin-bottom:35px;

    line-height:24px;

}


/* ================= INPUT GROUP ================= */

.input-group{

    margin-bottom:22px;

}


.input-group label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

}


/* ================= INPUT BOX ================= */

.input-box{

    display:flex;

    align-items:center;

    background:#ffffff;

    border-radius:12px;

    border:1px solid #d9d9d9;

    overflow:hidden;

    transition:.3s;

}


.input-box:focus-within{

    border-color:#00b7ff;

    box-shadow:
    0 0 12px rgba(0,183,255,.35);

}


.input-box i{

    width:50px;

    text-align:center;

    color:#0066ff;

    font-size:18px;

}


.input-box input{

    flex:1;

    border:none;

    outline:none;

    padding:16px 15px;

    font-size:16px;

    color:#333;

    background:transparent;

}


.toggle-password{

    cursor:pointer;

    transition:.3s;

}

.toggle-password:hover{

    color:#00b7ff;

}
/* ================= OPTIONS ================= */

.options{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

    font-size:14px;

}


.options label{

    display:flex;

    align-items:center;

    gap:8px;

    cursor:pointer;

    color:#ffffff;

}


.options input[type="checkbox"]{

    width:16px;

    height:16px;

    accent-color:#00b7ff;

}


.options a{

    color:#00d4ff;

    text-decoration:none;

    transition:.3s;

}


.options a:hover{

    color:#ffffff;

    text-decoration:underline;

}



/* ================= LOGIN BUTTON ================= */

#loginBtn{

    width:100%;

    border:none;

    outline:none;

    padding:16px;

    border-radius:12px;

    cursor:pointer;

    font-size:17px;

    font-weight:700;

    color:#ffffff;

    background:
    linear-gradient(
        90deg,
        #0066ff,
        #00b7ff
    );

    transition:.3s;

    box-shadow:
    0 10px 25px rgba(0,183,255,.30);

}


#loginBtn i{

    margin-right:8px;

}


#loginBtn:hover{

    transform:translateY(-2px);

    box-shadow:
    0 15px 30px rgba(0,183,255,.45);

}



/* ================= BACK HOME ================= */

.back-home{

    display:block;

    margin-top:28px;

    text-align:center;

    text-decoration:none;

    color:#ffffff;

    font-size:15px;

    transition:.3s;

}


.back-home i{

    margin-right:8px;

}


.back-home:hover{

    color:#00d4ff;

}



/* ================= CARD ANIMATION ================= */

.login-card{

    animation:fadeUp .6s ease;

}


@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(35px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



/* ================= MOBILE ================= */

@media(max-width:768px){

    .overlay{

        padding:20px;

    }

    .login-card{

        width:100%;

        padding:35px 25px;

    }

    .logo{

        width:75px;

        height:75px;

    }

    .logo i{

        font-size:34px;

    }

    .login-card h1{

        font-size:28px;

    }

    .subtitle{

        font-size:14px;

    }

    .options{

        flex-direction:column;

        align-items:flex-start;

        gap:12px;

    }

}
