
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Inter,sans-serif;
}

body{
background:#f4f7fb;
color:#0f172a;
}

.login-body{
background:linear-gradient(135deg,#08111f,#10254e);
height:100vh;
display:flex;
align-items:center;
justify-content:center;
}

.login-box{
width:420px;
background:#ffffff10;
backdrop-filter:blur(14px);
padding:40px;
border-radius:22px;
color:#fff;
border:1px solid #ffffff15;
}

.admin-logo{
font-size:30px;
font-weight:800;
margin-bottom:18px;
}

.admin-logo span{
font-size:22px;
font-weight:700;
}

.login-box h2{
margin-bottom:20px;
}

.login-box input{
width:100%;
padding:14px;
margin-bottom:14px;
border:none;
border-radius:12px;
}

.login-box button{
width:100%;
padding:14px;
border:none;
background:#10b981;
color:#fff;
font-weight:700;
border-radius:12px;
cursor:pointer;
}

.hint,.error{
margin-top:14px;
font-size:14px;
}

.sidebar{
position:fixed;
left:0;
top:0;
width:250px;
height:100vh;
background:#08111f;
padding:30px 20px;
}

.brand{
font-size:28px;
font-weight:800;
color:#fff;
margin-bottom:35px;
}

.brand span{
font-size:20px;
}

.sidebar a{
display:block;
padding:14px 16px;
color:#cbd5e1;
text-decoration:none;
border-radius:12px;
margin-bottom:8px;
}

.sidebar a:hover{
background:#ffffff10;
color:#fff;
}

.logout{
margin-top:30px;
background:#ef444420;
}

.main{
margin-left:250px;
padding:35px;
}

.main h1{
font-size:34px;
margin-bottom:24px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-bottom:30px;
}

.stat-card{
background:#fff;
padding:24px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.stat-card h3{
font-size:34px;
color:#10b981;
}

.panel,
.form-box,
.table{
background:#fff;
padding:24px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.btn{
display:inline-block;
padding:12px 18px;
background:#10b981;
color:#fff;
text-decoration:none;
border-radius:10px;
margin-right:10px;
}

.btn.light{
background:#e2e8f0;
color:#111;
}

.table{
width:100%;
border-collapse:collapse;
}

.table th,.table td{
padding:14px;
border-bottom:1px solid #e5e7eb;
text-align:left;
}

.form-box input,
.form-box textarea,
.form-box select{
width:100%;
padding:14px;
margin-bottom:14px;
border:1px solid #dbe1ea;
border-radius:12px;
}

.form-box button{
padding:14px 20px;
border:none;
background:#10b981;
color:#fff;
border-radius:12px;
font-weight:700;
cursor:pointer;
}

.success{
background:#dcfce7;
padding:12px;
border-radius:10px;
margin-bottom:16px;
}

.cat-list li{
padding:12px 0;
border-bottom:1px solid #eee;
}

@media(max-width:900px){
.stats-grid{
grid-template-columns:1fr 1fr;
}
}

@media(max-width:700px){
.sidebar{
position:relative;
width:100%;
height:auto;
}
.main{
margin-left:0;
padding:20px;
}
.stats-grid{
grid-template-columns:1fr;
}
}


/* ===== ADMIN V2 ===== */

.page-head{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:22px;
}

.filter-bar{
display:flex;
gap:12px;
margin-bottom:20px;
background:#fff;
padding:18px;
border-radius:18px;
box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.filter-bar input,
.filter-bar select{
padding:12px;
border:1px solid #dbe1ea;
border-radius:10px;
min-width:220px;
}

.filter-bar button{
padding:12px 18px;
background:#10b981;
color:#fff;
border:none;
border-radius:10px;
font-weight:700;
cursor:pointer;
}

.actions a{
margin-right:10px;
font-size:14px;
font-weight:600;
}

.status{
padding:6px 10px;
border-radius:20px;
font-size:12px;
font-weight:700;
}

.status.published{
background:#dcfce7;
color:#166534;
}

.status.draft{
background:#fee2e2;
color:#991b1b;
}

.editor-grid{
display:grid;
grid-template-columns:2fr 1fr;
gap:24px;
}

.editor-left label,
.side-box label{
display:block;
font-weight:700;
margin:12px 0 8px;
}

.editor-left input,
.editor-left textarea,
.side-box input,
.side-box textarea,
.side-box select{
width:100%;
padding:13px;
border:1px solid #dbe1ea;
border-radius:12px;
}

.slug-line{
margin-top:8px;
font-size:14px;
color:#64748b;
}

.side-box{
margin-bottom:20px;
}

.side-box h3{
margin-bottom:12px;
}

.side-box button{
width:100%;
padding:14px;
border:none;
background:#10b981;
color:#fff;
font-weight:800;
border-radius:12px;
margin-top:12px;
cursor:pointer;
}

@media(max-width:900px){

.filter-bar{
flex-direction:column;
}

.editor-grid{
grid-template-columns:1fr;
}

.filter-bar input,
.filter-bar select{
min-width:100%;
}

}
```

