/* HEADER */

.list-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:20px;
  flex-wrap:wrap;
}

.list-header h2{
  margin:0;
  font-weight:800;
}

.list-sub{
  font-size:13px;
  color:#64748b;
}

/* KPIs */

.list-kpis{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:15px;
  margin-bottom:20px;
}

.mini-kpi{
  background:#ffffff;
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
}

.mini-kpi span{
  font-size:12px;
  color:#64748b;
}

.mini-kpi strong{
  font-size:22px;
  font-weight:800;
  display:block;
  margin-top:6px;
}

/* FILTERS */

.list-filters{
  display:flex;
  gap:15px;
  margin-bottom:20px;
  flex-wrap:wrap;
}

.list-filters input,
.list-filters select{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  min-width:200px;
}

/* TABLE */

.table-wrapper{
  background:#ffffff;
  border-radius:20px;
  overflow:auto;
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.item-table{
  width:100%;
  min-width:1280px;
  border-collapse:collapse;
}

.item-table thead{
  background:#f8fafc;
}

.item-table th{
  padding:14px;
  text-align:right;
  font-size:13px;
  color:#64748b;
  white-space:nowrap;
  cursor:grab;
}

.item-table td{
  padding:14px;
  border-top:1px solid #f1f5f9;
  vertical-align:middle;
}

.item-table tbody tr:hover{
  background:#f9fafb;
}

.item-thumb,
.item-image-thumb{
  width:45px;
  height:45px;
  border-radius:12px;
  object-fit:cover;
  background:#f3f4f6;
}

.item-thumb.empty{
  display:grid;
  place-items:center;
  color:#94a3b8;
}

.image-toggle{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border:1px solid #e5e7eb;
  border-radius:12px;
  background:#fff;
  color:#475569;
  font-size:13px;
}

.status-badge{
  padding:4px 10px;
  border-radius:20px;
  font-size:12px;
  font-weight:600;
}

.status-active{
  background:#dcfce7;
  color:#166534;
}

.status-inactive{
  background:#fee2e2;
  color:#991b1b;
}

.action-btns{
  display:flex;
  gap:8px;
}
.pagination-container{
  margin-top:20px;
  display:flex;
  gap:8px;
  justify-content:center;
}

.page-btn{
  border:1px solid #e5e7eb;
  background:#fff;
  padding:6px 12px;
  border-radius:8px;
  cursor:pointer;
}

.page-btn.active{
  background:#2563eb;
  color:#fff;
  border-color:#2563eb;
}
