/* =====================================================
   GENERELT
   ===================================================== */

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

body{
    font-family:'Segoe UI', Arial, sans-serif;
    background:#f3f4f6;
    color:#333;
}

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

.login-page{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg,#0f172a,#2563eb);
}

.login{
    width:100%;
    max-width:420px;
    background:#ffffff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 20px 50px rgba(0,0,0,0.25);
}

.login-header{
    background:#2563eb;
    color:#fff;
    text-align:center;
    padding:30px;
}

.login-header h1{
    margin:0;
    font-size:30px;
}

.login-header p{
    margin-top:8px;
    opacity:.9;
    font-size:14px;
}

.login-body{
    padding:30px;
}

.form-label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

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

.form-icon-left{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);
    fill:#888;
}

.form-input{
    width:100%;
    padding:12px 12px 12px 42px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:15px;
}

.form-input:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}

.btn{
    width:100%;
    padding:14px;
    background:#2563eb;
    color:#fff;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
    transition:0.2s;
}

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

.login-footer{
    text-align:center;
    padding:15px;
    color:#999;
    font-size:12px;
    border-top:1px solid #eee;
}

/* =====================================================
   DASHBOARD
   ===================================================== */

.topbar{
    background:#005ea6;
    color:#fff;
    padding:15px 20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:20px;
    font-weight:bold;
}

.logout{
    color:#fff;
    text-decoration:none;
}

.logout:hover{
    text-decoration:underline;
}

.container{
    max-width:1200px;
    margin:auto;
    padding:20px;
}

.welcome{
    font-size:24px;
    font-weight:bold;
    margin-bottom:20px;
}

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

.card{
    border-radius:12px;
    color:#fff;
    text-align:center;
    padding:20px;
}

.blue{
    background:#1976d2;
}

.green{
    background:#2e7d32;
}

.orange{
    background:#ef6c00;
}

.number{
    font-size:30px;
    font-weight:bold;
    margin-bottom:5px;
}

.text{
    font-size:14px;
}

.menu-box{
    margin-bottom:25px;
}

.menu-button{
    display:block;
    background:#fff;
    padding:15px;
    margin-bottom:10px;
    border-radius:10px;
    text-decoration:none;
    color:#333;
    font-weight:600;
    box-shadow:0 2px 5px rgba(0,0,0,.08);
    transition:0.2s;
}

.menu-button:hover{
    background:#f8f9fa;
    transform:translateY(-2px);
}

.activity{
    background:#fff;
    border-radius:12px;
    padding:20px;
    box-shadow:0 2px 5px rgba(0,0,0,.08);
}

.activity h3{
    margin-bottom:15px;
}

.activity-row{
    padding:12px 0;
    border-bottom:1px solid #eee;
}

.activity-row:last-child{
    border-bottom:none;
}

/* =====================================================
   MOBIL
   ===================================================== */

@media(max-width:768px){

    .topbar{
        flex-direction:column;
        gap:10px;
        text-align:center;
    }

    .login{
        margin:15px;
    }

}