body{
background:#0d1117;
color:white;
padding:20px;
font-family:Poppins,sans-serif;
}

.admin-header{
display:flex;
justify-content:space-between;
align-items:center;
margin-bottom:30px;
gap:20px;
}

.admin-header h1{
color:#FFD700;
margin-bottom:5px;
}

.admin-header p{
color:#999;
}

.back-btn{
width:auto;
padding:12px 25px;
}

.stats-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:20px;
margin-bottom:30px;
}

.stat-box{
background:#161b22;
padding:20px;
border-radius:15px;
border-left:4px solid #FFD700;
text-align:center;
}

.stat-box h3{
margin-bottom:10px;
}

.stat-box p{
font-size:32px;
font-weight:bold;
color:#FFD700;
}

.pending{
border-left-color:#FFD700;
}

.processing{
border-left-color:#00BFFF;
}

.delivered{
border-left-color:#00CC66;
}

#searchOrder{
width:100%;
padding:15px;
background:#161b22;
border:1px solid #333;
color:white;
border-radius:12px;
margin-bottom:25px;
}

#ordersList{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(420px,1fr));
gap:20px;
}

.order-card{
background:#161b22;
padding:20px;
border-radius:15px;
border-left:4px solid #FFD700;
transition:.3s;
}

.order-card:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(255,215,0,.15);
}

.order-card h3{
color:#FFD700;
margin-bottom:15px;
}

.order-card p{
margin:6px 0;
}

.order-card ul{
margin-top:10px;
margin-left:20px;
}

.order-card select{
width:100%;
padding:12px;
margin-top:15px;
background:#0d1117;
color:white;
border:1px solid #333;
border-radius:10px;
}

.status-badge{
display:inline-block;
padding:8px 14px;
border-radius:30px;
font-weight:bold;
margin-top:10px;
}

.status-badge.pending{
background:#FFD700;
color:black;
}

.status-badge.processing{
background:#00BFFF;
color:white;
}

.status-badge.shipped{
background:#9B59B6;
color:white;
}

.status-badge.delivered{
background:#00CC66;
color:white;
}

.status-badge.cancelled{
background:#ff4444;
color:white;
}

.delete-btn{
background:#ff4444;
color:white;
margin-top:10px;
}

@media(max-width:768px){

.admin-header{
flex-direction:column;
align-items:flex-start;
}

#ordersList{
grid-template-columns:1fr;
}

.stats-grid{
grid-template-columns:1fr;
}

}

.filters{
display:flex;
gap:10px;
margin-bottom:25px;
flex-wrap:wrap;
}

.filter-btn{
width:auto;
padding:10px 20px;
border-radius:30px;
background:#161b22;
border:1px solid #FFD700;
color:white;
cursor:pointer;
}

.filter-btn:hover{
background:#FFD700;
color:black;
}