/* ===============================
   POWER ERP SYSTEM
   Login Page
================================ */

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

body{

    background:#eef2f7;

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:100vh;
}

.login-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;
}

.login-card{

    width:430px;

    background:#ffffff;

    padding:40px;

    border-radius:18px;

    box-shadow:0 15px 35px rgba(0,0,0,.15);

    animation:fadeIn .5s ease;
}

.logo{

    text-align:center;

    margin-bottom:20px;
}

.logo img{

    width:200px;

    height:auto;
}

.login-card h2{

    text-align:center;

    color:#1d3557;

    font-weight:bold;

    margin-bottom:5px;
}

.login-card p{

    text-align:center;

    color:#6c757d;

    margin-bottom:30px;
}

.form-label{

    color:#1d3557;

    font-weight:600;
}

.form-control{

    height:48px;

    border-radius:10px;
}

.form-control:focus{

    border-color:#1d3557;

    box-shadow:none;
}

.password-box{

    position:relative;
}

.password-box span{

    position:absolute;

    top:50%;

    right:15px;

    transform:translateY(-50%);

    cursor:pointer;

    color:#666;
}

.btn-primary{

    height:48px;

    border:none;

    border-radius:10px;

    background:#1d3557;

    font-weight:bold;

    transition:.3s;
}

.btn-primary:hover{

    background:#16324d;
}

.btn-primary:disabled{

    background:#6c757d;

    cursor:not-allowed;
}

#changePassword{

    text-decoration:none;

    color:#1d3557;

    font-weight:600;
}

#changePassword:hover{

    text-decoration:underline;
}

.alert{

    border-radius:10px;

    text-align:center;
}

@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(-20px);

    }

    to{

        opacity:1;

        transform:translateY(0);
    }
}