:root{
  --primary:#DE2825;     /* Jugmug red */
  --primaryDark:#B71C1C;
  --muted:#666;
  --bg:#f4f6f9;

  --pending:#ff9800;
  --progress:#1976d2;
  --closed:#2e7d32;
}

body{ background:var(--bg); font-family:Arial,sans-serif; margin:0; }

.app-header{
  background:#fff;
  padding:10px 12px;
  position:fixed; top:0; left:0; right:0; z-index:999;
  border-bottom:3px solid var(--primary);
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
}
.header-row{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:34px; width:auto; }
.app-title{ font-size:14px; font-weight:bold; color:var(--muted); }

.app-container{ padding:72px 12px 20px; }

.card{
  background:#fff; border-radius:12px; padding:12px;
  box-shadow:0 2px 8px rgba(0,0,0,0.08);
  margin-bottom:12px;
}

.btn-primary{ background:var(--primary); border-color:var(--primary); }
.btn-primary:hover{ background:var(--primaryDark); border-color:var(--primaryDark); }
.btn-round{ border-radius:10px; padding:12px; }

.sidebar{
  position:fixed; top:0; left:-260px; width:260px; height:100%;
  background:#ffffff; z-index:2000; box-shadow:2px 0 10px rgba(0,0,0,0.2);
  transition:all .25s ease;
}
.sidebar.open{ left:0; }
.sidebar .top{ background:var(--primary); color:#fff; padding:18px; }
.sidebar a{
  display:block; padding:12px 16px; color:#333; text-decoration:none;
  border-bottom:1px solid #eee;
}
.sidebar a:hover{ background:#f2f2f2; }

.overlay{
  display:none; position:fixed; top:0; left:0; right:0; bottom:0;
  background:rgba(0,0,0,0.45); z-index:1500;
}
.overlay.show{ display:block; }

.small-muted{ color:var(--muted); font-size:12px; }

.status-badge{
  display:inline-block; padding:4px 10px; border-radius:999px;
  font-size:12px; color:#fff;
}
.status-pending{ background:var(--pending); }
.status-progress{ background:var(--progress); }
.status-closed{ background:var(--closed); }

img.preview{ width:100%; max-height:220px; object-fit:cover; border-radius:10px; }

.list-actions{ margin-top:10px; display:flex; gap:8px; }
.hide{ display:none; }
