*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:linear-gradient(135deg,#081426,#0d2445,#133463);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.login-container{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-card{
    width:100%;
    max-width:470px;
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
    border:1px solid rgba(255,255,255,.15);
    border-radius:22px;
    padding:40px;
    box-shadow:0 20px 45px rgba(0,0,0,.45);
    transition:.35s;
}

.login-card:hover{
    transform:translateY(-5px);
}

.login-header{
    text-align:center;
    margin-bottom:28px;
}

.login-logo{
    width:110px;
    height:110px;
    object-fit:contain;
    display:block;
    margin:0 auto 18px;
    border-radius:50%;
    filter:drop-shadow(0 0 15px rgba(255,215,0,.45));
}

.login-header h2{
    color:#FFD700;
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
}

.login-header p{
    color:#ffffff;
    opacity:.9;
    font-size:15px;
}

.input-group{
    display:flex;
    align-items:center;
    background:#ffffff;
    border:2px solid transparent;
    border-radius:12px;
    overflow:hidden;
    margin-bottom:18px;
    transition:.3s;
}

.input-group:hover,
.input-group:focus-within{
    border-color:#FFD700;
    box-shadow:0 0 12px rgba(255,215,0,.35);
}

.input-group i{
    width:55px;
    height:55px;
    background:#17375E;
    color:#FFD700;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:18px;
}

.input-group input{
    flex:1;
    height:55px;
    border:none;
    outline:none;
    padding:0 15px;
    font-size:15px;
    color:#222;
    background:#ffffff;
}

.input-group input::placeholder{
    color:#888;
}

/* Password Eye */

#togglePassword{
    width:55px;
    height:55px;
    display:flex;
    justify-content:center;
    align-items:center;
    cursor:pointer;
    color:#666;
    transition:.3s;
}

#togglePassword:hover{
    color:#FFD700;
}

/* Login Button */

.register-btn{
    width:100%;
    height:55px;
    border:none;
    border-radius:12px;
    background:#FFD700;
    color:#111;
    font-size:17px;
    font-weight:bold;
    cursor:pointer;
    transition:.3s;
}

.register-btn:hover{
    background:#FFC107;
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(255,215,0,.25);
}

.register-btn:active{
    transform:scale(.98);
}

.login-options{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin:18px 0 22px;
    font-size:14px;
    flex-wrap:wrap;
    gap:10px;
}

.login-options label{
    display:flex;
    align-items:center;
    color:#ffffff;
    cursor:pointer;
    user-select:none;
}

.login-options input[type="checkbox"]{
    width:16px;
    height:16px;
    margin-right:8px;
    accent-color:#FFD700;
}

.login-options a{
    color:#FFD700;
    text-decoration:none;
    font-weight:600;
    transition:.3s;
}

.login-options a:hover{
    color:#ffffff;
    text-decoration:underline;
}

/* Error Message */

.error{
    background:#dc3545;
    color:#ffffff;
    padding:14px;
    border-radius:10px;
    text-align:center;
    margin-bottom:20px;
    font-weight:600;
}

/* Success Message */

.success{
    background:#28a745;
    color:#ffffff;
    padding:14px;
    border-radius:10px;
    text-align:center;
    margin-bottom:20px;
    font-weight:600;
}

/* Register Link */

.login-link{
    margin-top:25px;
    text-align:center;
    color:#ffffff;
    font-size:15px;
}

.login-link a{
    color:#FFD700;
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

.login-link a:hover{
    color:#ffffff;
    text-decoration:underline;
}

/* Smooth Animation */

.login-card,
.input-group,
.register-btn{
    transition:all .3s ease;
}

.input-group input:focus{
    background:#fff;
}

.input-group:focus-within{
    transform:translateY(-2px);
}

/* Logo Hover */

.login-logo{
    transition:.35s ease;
}

.login-logo:hover{
    transform:scale(1.06) rotate(2deg);
    filter:drop-shadow(0 0 20px rgba(255,215,0,.7));
}

/* Login Card Hover */

.login-card:hover{
    box-shadow:0 20px 60px rgba(255,215,0,.18);
}

/* Button Loading Effect */

.register-btn{
    letter-spacing:.5px;
}

.register-btn:hover{
    letter-spacing:1px;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:8px;
}

::-webkit-scrollbar-thumb{
    background:#FFD700;
    border-radius:20px;
}

::-webkit-scrollbar-track{
    background:#081426;
}

/* ==========================
   Tablet Responsive
========================== */

@media (max-width:992px){

    body{
        padding:25px;
    }

    .login-card{
        max-width:450px;
        padding:35px;
    }

}

/* ==========================
   Mobile Responsive
========================== */

@media (max-width:768px){

    body{
        padding:20px;
    }

    .login-card{
        width:100%;
        padding:30px 22px;
        border-radius:18px;
    }

    .login-logo{
        width:95px;
        height:95px;
    }

    .login-header h2{
        font-size:28px;
    }

    .login-header p{
        font-size:14px;
    }

    .input-group i{
        width:50px;
        height:50px;
        font-size:17px;
    }

    .input-group input{
        height:50px;
        font-size:14px;
    }

    #togglePassword{
        width:50px;
        height:50px;
    }

    .register-btn{
        height:50px;
        font-size:16px;
    }

    .login-options{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }

}

/* ==========================
   Small Mobile
========================== */

@media (max-width:480px){

    .login-card{
        padding:25px 18px;
    }

    .login-header h2{
        font-size:24px;
    }

    .login-logo{
        width:85px;
        height:85px;
    }

    .input-group input{
        font-size:13px;
    }

    .register-btn{
        font-size:15px;
    }

}