*{margin:0;padding:0;box-sizing:border-box}

body{
    font-family:Arial,sans-serif;
    background:#0f172a;
}

.login-wrapper{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.login-card{
    width:420px;
    background:#fff;
    padding:40px;
    border-radius:18px;
    box-shadow:0 20px 40px rgba(0,0,0,.25);
}

.logo{
    font-size:32px;
    font-weight:700;
    margin-bottom:10px;
}

.subtitle{
    color:#64748b;
    margin-bottom:30px;
}

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

.form-group label{
    display:block;
    margin-bottom:8px;
}

.form-control{
    width:100%;
    height:50px;
    border:1px solid #cbd5e1;
    border-radius:10px;
    padding:0 14px;
}

.password-wrapper{
    position:relative;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:15px;
    cursor:pointer;
}

.row{
    display:flex;
    justify-content:space-between;
    margin-bottom:20px;
}

.btn{
    width:100%;
    height:50px;
    background:#0f172a;
    color:white;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-weight:700;
}

.error{
    background:#fee2e2;
    color:#991b1b;
    padding:12px;
    border-radius:10px;
    margin-bottom:20px;
}

.erp-layout{
    display:flex;
    min-height:100vh;
    background:#f1f5f9;
}

.sidebar{
    width:260px;
    background:#0f172a;
    color:white;
    padding:25px;
}

.menu-item{
    padding:14px;
    border-radius:10px;
    margin-bottom:10px;
    background:rgba(255,255,255,.05);
}

.main{
    flex:1;
}

.topbar{
    height:70px;
    background:white;
    border-bottom:1px solid #e2e8f0;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 25px;
}

.content{
    padding:25px;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
}

.card{
    background:white;
    padding:25px;
    border-radius:16px;
}

a{
    text-decoration:none;
}
