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

body{
background:#0b0f14;
color:#e6edf3;
font-family:system-ui, sans-serif;
padding:16px;
}

.container{
max-width:700px;
margin:auto;
}

header{
margin-bottom:20px;
}

header h1{
font-size:24px;
color:#7cff7c;
margin-bottom:4px;
}

header p{
color:#9aa4ad;
font-size:14px;
}

/* CARD */

.card{
background:#11161d;
border:1px solid #1f2732;
border-radius:12px;
padding:16px;
margin-bottom:16px;
box-shadow:0 6px 14px rgba(0,0,0,.4);
}

.card-title{
font-weight:600;
margin-bottom:12px;
border-bottom:1px solid #1f2732;
padding-bottom:8px;
}

/* STAT GRID */

.stat-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:10px;
}

.stat{
background:#0c1117;
border:1px solid #1f2732;
border-radius:8px;
padding:10px;
text-align:center;
}

.stat-number{
font-size:20px;
font-weight:bold;
color:#7cff7c;
}

/* LOGS */

.logs{
max-height:400px;
overflow:auto;
}

.log{
padding:8px;
border-bottom:1px solid #1f2732;
font-size:14px;
}

.log:last-child{
border-bottom:none;
}

.log:hover{
background:#0f141a;
}

/* SCROLLBAR */

.logs::-webkit-scrollbar{
width:6px;
}

.logs::-webkit-scrollbar-thumb{
background:#1f2732;
border-radius:4px;
}

.log{
animation:fadein .3s ease;
}

@keyframes fadein{
from{opacity:0}
to{opacity:1}
}

/* LOGIN */

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

.login-card{
width:100%;
max-width:380px;
background:#11161d;
border:1px solid #1f2732;
border-radius:14px;
padding:24px;
box-shadow:0 10px 30px rgba(0,0,0,.5);
}

.login-title{
font-size:22px;
color:#7cff7c;
margin-bottom:6px;
}

.login-sub{
font-size:14px;
color:#9aa4ad;
margin-bottom:20px;
}

.input{
width:100%;
padding:10px 12px;
border-radius:8px;
border:1px solid #1f2732;
background:#0f131a;
color:#fff;
margin-bottom:12px;
}

.input:focus{
outline:none;
border-color:#7cff7c;
}

.btn{
width:100%;
padding:10px;
border-radius:8px;
border:none;
background:#7cff7c;
color:#000;
font-weight:600;
cursor:pointer;
}

.btn:hover{
background:#66e766;
}

.error{
color:#ff6b6b;
margin-bottom:10px;
font-size:14px;
}

.header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:20px;
}

.logout-btn{
background:#ff5c5c;
color:white;
padding:6px 12px;
border-radius:6px;
text-decoration:none;
font-size:14px;
}

.logout-btn:hover{
background:#ff3b3b;
}