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

body{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;

    background:
    linear-gradient(
        135deg,
        #0f172a,
        #1e3a8a,
        #2563eb
    );
}

.login-container{
    width:100%;
    max-width:400px;
}

.login-card{
    background:#fff;
    border-radius:20px;
    padding:40px;
    box-shadow:
        0 15px 35px rgba(0,0,0,.2);
}

@media (max-width:480px){
    .login-card{
        padding:28px 22px;
        border-radius:14px;
    }

    .logo h1{
        font-size:24px;
    }
}

.logo{
    text-align:center;
    margin-bottom:30px;
}

.logo h1{
    color:#1e3a8a;
    font-size:30px;
    font-weight:700;
}

.logo p{
    color:#666;
    font-size:14px;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#333;
}

.form-control{
    width:100%;
    height:45px;
    padding:10px 15px;
    border:1px solid #ddd;
    border-radius:10px;
    outline:none;
    transition:.3s;
}

.form-control:focus{
    border-color:#2563eb;
    box-shadow:
        0 0 10px rgba(37,99,235,.2);
}

.password-field{
    position:relative;
}

.password-field .form-control{
    padding-right:44px;
}

.password-toggle{
    position:absolute;
    top:50%;
    right:6px;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    padding:0;
    background:none;
    border:none;
    border-radius:8px;
    color:#888;
    cursor:pointer;
    transition:color .2s, background .2s;
}

.password-toggle:hover{
    color:#2563eb;
    background:#f1f5f9;
}

.password-toggle .icon-eye-off{
    display:none;
}

.password-toggle.is-visible .icon-eye{
    display:none;
}

.password-toggle.is-visible .icon-eye-off{
    display:block;
}

.btn-login{
    width:100%;
    height:45px;
    border:none;
    border-radius:10px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.btn-login:hover{
    background:#1d4ed8;
}

.alert{
    background:#fee2e2;
    color:#dc2626;
    padding:10px;
    border-radius:10px;
    margin-bottom:20px;
    text-align:center;
}

.footer{
    margin-top:20px;
    text-align:center;
    color:#888;
    font-size:12px;
}