/* Agregador UI — ManyChat-inspired styling on top of Tailwind CDN */
:root {
  --brand: #00b884;
  --brand-dark: #009a6e;
  --brand-light: #e6faf4;
  --ink: #0f1b2d;
}

body { font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }

.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, 0.04);
}

.nav-item {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .15s, color .15s;
}
.nav-item:hover { background: #f1f5f9; color: var(--ink); }
.nav-item.active { background: var(--brand-light); color: var(--brand-dark); }

.btn-ghost {
  height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 14px;
  color: #334155;
  cursor: pointer;
}
.btn-ghost:hover { background: #f8fafc; }
.btn-ghost:disabled { opacity: .5; cursor: not-allowed; }

pre.code {
  background: #0f1b2d;
  color: #d7e3f4;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12.5px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}

table { border-collapse: collapse; }
thead th { font-weight: 600; border-bottom: 1px solid #eef2f7; padding-bottom: 8px; }
tbody td { padding: 10px 0; border-bottom: 1px solid #f5f7fa; }
tbody tr:last-child td { border-bottom: none; }

.badge { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.badge-green { background: var(--brand-light); color: var(--brand-dark); }
.badge-gray { background: #f1f5f9; color: #64748b; }
.badge-red { background: #fef2f2; color: #dc2626; }
.badge-amber { background: #fffbeb; color: #b45309; }
