/* Boop Organize theme (matches mock vibe) */
:root{
  --bg:#f5f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e5e7eb;

  --blue:#1f6feb;   /* primary */
  --blue2:#0b5bd3;
  --green:#22c55e;  /* action */
  --green2:#16a34a;

  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow2: 0 6px 18px rgba(15, 23, 42, .08);
  --radius: 16px;
}

html,body{height:100%;}
body{
  background: var(--bg);
  color: var(--text);
}

/* page wrapper */
.bo-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 36px;
}

/* Top nav */
.bo-nav{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.bo-brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color:inherit;
}
.bo-brand img{
  height: 34px; width:auto; display:block;
}
.bo-brand .name{
  font-weight: 900; letter-spacing:.2px;
  font-size: 18px;
}
.bo-brand .name span{ color: var(--green2); font-weight:800; }

.bo-navlinks{
  display:flex; align-items:center; gap:8px; flex-wrap:wrap;
}
.bo-chip{
  border:1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 999px;
  text-decoration:none;
  font-weight:700;
}
.bo-chip.active{
  color: var(--blue);
  background: rgba(31,111,235,.10);
  border-color: rgba(31,111,235,.18);
}

.bo-actions{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.bo-btn{
  border: 0;
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  text-decoration:none;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.bo-btn-primary{ background: var(--blue); color:#fff; }
.bo-btn-primary:hover{ background: var(--blue2); }
.bo-btn-green{ background: var(--green); color:#053015; }
.bo-btn-green:hover{ background: var(--green2); color:#fff; }
.bo-btn-ghost{
  background: transparent;
  box-shadow:none;
  color: var(--muted);
  border:1px solid var(--line);
}
.bo-btn-ghost:hover{ background: #f8fafc; }

.bo-page{
  margin-top: 16px;
}

.bo-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}

.bo-title{
  font-size: 22px;
  font-weight: 900;
  margin: 0 0 4px;
}
.bo-sub{
  margin: 0 0 16px;
  color: var(--muted);
}

.bo-grid4{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 980px){
  .bo-grid4{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .bo-grid4{ grid-template-columns: 1fr; }
  .bo-actions{ width:100%; }
}

.bo-stat{
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, #fff, #fbfdff);
}
.bo-stat .k{ color: var(--muted); font-weight:800; font-size: 13px; }
.bo-stat .v{ font-size: 30px; font-weight: 900; margin-top: 6px; }

.bo-row{
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
}

.bo-form{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.bo-input{
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  font-weight: 700;
  background:#fff;
}

.bo-table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.bo-table th{
  text-align:left;
  font-size: 12px;
  color: var(--muted);
  padding: 12px;
  background: #f8fafc;
  border-bottom: 1px solid var(--line);
  letter-spacing:.06em;
  text-transform: uppercase;
}
.bo-table td{
  padding: 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.bo-table tr:last-child td{ border-bottom: 0; }

.bo-pill{
  display:inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  background: rgba(31,111,235,.10);
  color: var(--blue);
  border: 1px solid rgba(31,111,235,.18);
}
/* Status pills */
.bo-pill.status-new{            background: rgba(148,163,184,.18); border-color: rgba(148,163,184,.35); color:#334155; }
.bo-pill.status-provisioned{    background: rgba(31,111,235,.12);  border-color: rgba(31,111,235,.22);  color: var(--blue); }
.bo-pill.status-encoded{        background: rgba(59,130,246,.12);  border-color: rgba(59,130,246,.22);  color:#1d4ed8; }
.bo-pill.status-engraved{       background: rgba(245,158,11,.14);  border-color: rgba(245,158,11,.28);  color:#92400e; }
.bo-pill.status-shipped{        background: rgba(34,197,94,.16);   border-color: rgba(34,197,94,.30);   color:#0b5a2a; }
.bo-pill.status-delivered{      background: rgba(16,185,129,.16);  border-color: rgba(16,185,129,.30);  color:#065f46; }
.bo-pill.status-hold{           background: rgba(239,68,68,.12);   border-color: rgba(239,68,68,.26);   color:#991b1b; }
.bo-pill.status-cancelled{      background: rgba(239,68,68,.12);   border-color: rgba(239,68,68,.26);   color:#991b1b; }
