/*
 * Magi Channel Hub — Tabler dark-theme overrides & app-specific styles.
 * Tabler CSS is loaded via CDN in the layout; this file adds customizations only.
 */

/* Brand dot in sidebar */
.brand-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #22d3ee, #3b82f6);
  box-shadow: 0 0 18px rgba(34, 211, 238, 0.6);
}

/* Status badges */
.badge-active   { background-color: #22c55e; color: #fff; }
.badge-inactive { background-color: #64748b; color: #fff; }

/* Log context details */
.log-context-pre {
  max-width: 600px;
  max-height: 300px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.8rem;
  padding: 0.5rem;
}

/* Credential / JSON blocks */
pre.json-block {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--tblr-border-color);
  border-radius: 6px;
  padding: 0.75rem;
  overflow: auto;
  font-size: 0.85rem;
}

/* Inline button_to forms (prevent block display) */
.btn-inline-form {
  display: inline;
}
.btn-inline-form form {
  display: inline;
}

/* Provider-specific info boxes */
.provider-info-box {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.provider-info-box.shopify {
  background: rgba(251, 192, 45, 0.1);
  border: 1px solid rgba(251, 192, 45, 0.4);
}
.provider-info-box.amazon {
  background: rgba(76, 175, 80, 0.1);
  border: 1px solid rgba(76, 175, 80, 0.4);
}
.provider-info-box.walmart {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.4);
}
.provider-info-box.shipstation {
  background: rgba(249, 168, 37, 0.1);
  border: 1px solid rgba(249, 168, 37, 0.4);
}
.provider-info-box.ebay {
  background: rgba(33, 150, 243, 0.1);
  border: 1px solid rgba(33, 150, 243, 0.4);
}
