/* ==========================
   LIFFY ADMIN DASHBOARD
========================== */

body{
    background:#eef3ff;
    margin:0;
    font-family:Arial,sans-serif;
}

.admin-dashboard{
    max-width:1200px;
    margin:30px auto;
    padding:20px;
}

.dashboard-title{
    font-size:34px;
    color:#1c2d5a;
    margin-bottom:10px;
}

#adminStatus{
    color:#666;
    margin-bottom:25px;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:20px;
    margin-bottom:40px;
}

.stat-card{

color:white;

border-radius:22px;

padding:30px;

text-align:center;

transition:.3s;

}

.stat-card:nth-child(1){

background:linear-gradient(135deg,#2563eb,#60a5fa);

}

.stat-card:nth-child(2){

background:linear-gradient(135deg,#9333ea,#c084fc);

}

.stat-card:nth-child(3){

background:linear-gradient(135deg,#16a34a,#4ade80);

}

.stat-card:nth-child(4){

background:linear-gradient(135deg,#ea580c,#fb923c);

}

.stat-card h2{

font-size:42px;

margin-bottom:10px;

color:white;

}

.stat-card p{

color:white;

opacity:.9;

}

.recent-title{
    margin-bottom:20px;
    color:#1c2d5a;
}

#adminHacks{
    display:grid;
    gap:20px;
}

#adminHacks .card{
    background:white;
    border-radius:20px;
    padding:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
}

#adminHacks h3{
    color:#2563eb;
}

#adminHacks p{
    color:#555;
    line-height:1.6;
}

#adminHacks button{
    margin-top:15px;
    border:none;
    background:#ef4444;
    color:white;
    padding:12px 20px;
    border-radius:12px;
    cursor:pointer;
    font-weight:bold;
}

#adminHacks button:hover{
    background:#dc2626;
}

header{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    color:white;
    padding:18px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    box-shadow:0 8px 25px rgba(37,99,235,.3);
}

header a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-weight:bold;
}

.logo{
    font-size:28px;
    font-weight:bold;
}

@media(max-width:700px){

.dashboard-title{
    font-size:28px;
}

.stat-card h2{
    font-size:34px;
}

}

/* ===========================
   ADMIN QUICK ACTIONS
=========================== */

.admin-actions{

display:flex;
flex-wrap:wrap;
gap:15px;
margin-bottom:30px;

}

.admin-actions button{

background:linear-gradient(135deg,#2563eb,#4f46e5);

color:white;

border:none;

padding:14px 24px;

border-radius:14px;

font-size:15px;

font-weight:bold;

cursor:pointer;

transition:.3s;

box-shadow:0 8px 20px rgba(37,99,235,.25);

}

.admin-actions button:hover{

transform:translateY(-3px);

box-shadow:0 12px 25px rgba(37,99,235,.35);

}

.stat-icon{

font-size:42px;

display:block;

margin-bottom:12px;

}

.users-card{
background:linear-gradient(135deg,#2563eb,#3b82f6);
}

.posts-card{
background:linear-gradient(135deg,#9333ea,#a855f7);
}

.online-card{
background:linear-gradient(135deg,#16a34a,#22c55e);
}

.visit-card{
background:linear-gradient(135deg,#ea580c,#fb923c);
}

.dashboard-title{

display:flex;

align-items:center;

gap:10px;

font-weight:800;

}

.admin-dashboard{

animation:fadeIn .6s ease;

}

@keyframes fadeIn{

from{

opacity:0;

transform:translateY(20px);

}

to{

opacity:1;

transform:translateY(0);

}

}