/**
 * LIVFRESH Internal Tools Platform - shared brand stylesheet.
 *
 * Design tokens extracted from the creator LIVE status pages (the brand
 * source of truth): light navy/teal with the real logo and DM Sans.
 * Dark theme is applied via html[data-theme="dark"]; the "system" setting
 * is resolved to light/dark by /js/platform.js using prefers-color-scheme.
 */

:root {
  /* Primary - Navy blue */
  --primary: #1a3a5c;
  --primary-dark: #0f2840;
  --primary-light: #2d5a87;

  /* Accent - Teal */
  --accent: #4ecdc4;
  --accent-dark: #3db5ad;
  --accent-light: #7ee8e1;

  /* Gold for highlights */
  --gold: #e8a838;
  --gold-light: #f5c563;

  /* Highlight - for emphasized text, focus borders, stat numbers, active
     states. Navy in light mode; teal in dark mode (navy text is illegible
     on dark backgrounds). */
  --highlight: #1a3a5c;

  /* Neutrals - Light theme */
  --bg-page: #f5f7fa;
  --bg-card: #ffffff;
  --bg-input: #f0f4f8;
  --bg-sidebar: #e8eef4;
  --text-primary: #1a3a5c;
  --text-secondary: #4a6785;
  --text-muted: #8099b3;
  --text-on-primary: #ffffff;
  --border: #d0dce8;
  --border-light: #e5ecf2;

  /* Status colors */
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;

  /* Sizing */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(26, 58, 92, 0.08);
  --shadow-md: 0 4px 20px rgba(26, 58, 92, 0.12);
  --shadow-lg: 0 8px 40px rgba(26, 58, 92, 0.15);

  /* Logo variants - swapped in dark mode via a CSS filter class below */
  --header-height: 64px;

  color-scheme: light;
}

html[data-theme="dark"] {
  color-scheme: dark;

  --primary: #2d5a87;
  --primary-dark: #1a3a5c;
  --primary-light: #4a7cad;

  --highlight: #4ecdc4;

  --bg-page: #0e1a26;
  --bg-card: #16283a;
  --bg-input: #1e3247;
  --bg-sidebar: #132435;
  --text-primary: #e8eef4;
  --text-secondary: #a8bdd1;
  --text-muted: #6d87a3;
  --border: #2a4258;
  --border-light: #223a4f;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
}

/* ============================================
   BASE
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

.hidden {
  display: none !important;
}

a {
  color: var(--accent-dark);
}

/* The wide transparent-bg logo is dark navy artwork; invert it in dark mode */
html[data-theme="dark"] .brand-logo-invertible {
  filter: brightness(0) invert(1);
}

/* ============================================
   SHARED PLATFORM HEADER
   ============================================ */

.platform-header {
  height: var(--header-height);
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.platform-header .header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.platform-header .header-logo img {
  height: 32px;
  display: block;
}

.platform-header .header-page-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  border-left: 1px solid var(--border);
  padding-left: 20px;
}

.platform-header .header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.platform-header .header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Hamburger: hidden on desktop, replaces the inline controls on mobile */
.platform-header .header-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 7px;
  cursor: pointer;
}

.platform-header .header-menu-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

@media (max-width: 720px) {
  .platform-header {
    padding: 0 14px;
  }

  .platform-header .header-page-title {
    padding-left: 12px;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 40vw;
  }

  .platform-header .header-menu-btn {
    display: inline-flex;
  }

  .platform-header .header-controls {
    display: none;
    position: absolute;
    top: calc(var(--header-height) - 8px);
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 12px;
    z-index: 200;
  }

  .platform-header .header-controls.open {
    display: flex;
  }

  /* The signed-in name leads the menu like an account header */
  .platform-header .header-controls .header-user {
    order: -1;
    font-weight: 600;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
  }

  .platform-header .header-controls .theme-switcher button {
    flex: 1;
    justify-content: center;
    padding: 8px 9px;
  }

  .platform-header .header-controls .header-link {
    padding: 8px 10px;
  }
}

.platform-header .header-user {
  font-size: 14px;
  color: var(--text-secondary);
}

.platform-header .header-link {
  font-size: 14px;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.platform-header .header-link:hover {
  background: var(--bg-input);
  color: var(--text-primary);
}

/* Theme switcher - segmented control */
.theme-switcher {
  display: flex;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.theme-switcher button {
  border: none;
  background: var(--bg-card);
  color: var(--text-muted);
  padding: 5px 9px;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  display: flex;
  align-items: center;
}

.theme-switcher button + button {
  border-left: 1px solid var(--border);
}

.theme-switcher button.active {
  background: var(--primary);
  color: var(--text-on-primary);
}

.theme-switcher button svg {
  width: 15px;
  height: 15px;
}

/* ============================================
   SHARED COMPONENTS
   ============================================ */

.brand-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  padding: 28px;
}

.brand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none; /* anchor-tag buttons must not underline */
  transition: background 0.15s ease;
}

.brand-btn-primary {
  background: var(--primary);
  color: var(--text-on-primary);
}

.brand-btn-primary:hover {
  background: var(--primary-dark);
}

.brand-btn-accent {
  background: var(--accent);
  color: #0f2840;
}

.brand-btn-accent:hover {
  background: var(--accent-dark);
}

.brand-btn-secondary {
  background: var(--bg-input);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.brand-btn-secondary:hover {
  border-color: var(--text-muted);
}

.brand-btn-danger {
  background: var(--error);
  color: #ffffff;
}

.brand-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.brand-input,
.brand-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 14px;
}

.brand-input:focus,
.brand-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.brand-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.brand-field {
  margin-bottom: 16px;
}

.brand-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.brand-table th {
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border);
}

.brand-table td {
  padding: 12px;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

.brand-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
}

.brand-badge-admin {
  background: rgba(232, 168, 56, 0.15);
  color: var(--gold);
}

.brand-badge-member {
  background: rgba(78, 205, 196, 0.15);
  color: var(--accent-dark);
}

.brand-badge-inactive {
  background: rgba(239, 68, 68, 0.12);
  color: var(--error);
}

.brand-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
}

.brand-alert-error {
  background: rgba(239, 68, 68, 0.1);
  color: var(--error);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.brand-alert-success {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Universal toast (window.livfreshToast in platform.js): fixed at the
   bottom of the window, auto-dismisses with a timer bar, optional action
   button (e.g. Undo). Use this instead of page-top alerts. */
.brand-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  font-size: 14px;
  color: var(--text-primary);
  max-width: min(92vw, 560px);
  overflow: hidden;
  animation: brandToastUp 0.25s ease-out;
}

@keyframes brandToastUp {
  from { transform: translateX(-50%) translateY(20px); opacity: 0; }
  to { transform: translateX(-50%) translateY(0); opacity: 1; }
}

.brand-toast-action {
  background: var(--primary);
  color: var(--text-on-primary);
  border: none;
  border-radius: 4px;
  padding: 6px 16px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.brand-toast-action:hover {
  background: var(--primary-light, var(--primary));
}

.brand-toast-timer {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--highlight);
  animation: brandToastTimer linear forwards;
}

.brand-toast-error .brand-toast-timer {
  background: var(--error);
}

@keyframes brandToastTimer {
  from { width: 100%; }
  to { width: 0%; }
}

/* Universal paginated list (window.livfreshList in platform.js): the
   shared toolbar (search + filters + sort + per-page) and the numbered
   pager (First / windowed pages / ellipsis / last two / Last). */
.brand-list-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.brand-list-toolbar .brand-list-search {
  flex: 1;
  min-width: 180px;
  max-width: 340px;
  padding: 8px 12px;
  font-size: 13px;
}

.brand-list-toolbar .brand-list-control {
  width: auto;
  padding: 8px 30px 8px 12px;
  font-size: 13px;
}

.brand-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.brand-pager:empty {
  margin-top: 0;
}

.brand-pager-info {
  font-size: 12px;
  color: var(--text-muted);
}

.brand-pager-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.brand-pager-btn {
  border: 1px solid var(--border);
  background: var(--bg-input);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  min-width: 32px;
}

.brand-pager-btn:hover {
  border-color: var(--text-muted);
}

.brand-pager-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-on-primary);
  cursor: default;
}

.brand-pager-gap {
  color: var(--text-muted);
  font-size: 12px;
  padding: 0 2px;
}

.brand-pager .brand-list-pagesize {
  width: auto;
  padding: 5px 28px 5px 10px;
  font-size: 12px;
  margin-left: 6px;
}

/* ============================================
   UNIVERSAL FILTERS BUTTON + MODAL (livfreshList)
   ============================================ */
.brand-filters-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.brand-filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--highlight);
  color: var(--text-on-primary);
  font-size: 11px;
  font-weight: 700;
}
html[data-theme="dark"] .brand-filter-badge { color: #0f2840; }
.brand-filter-badge.hidden { display: none; }

.brand-filter-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(2px);
}
.brand-filter-modal.hidden { display: none; }

.brand-filter-modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  width: 560px;
  max-width: 92vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}

.brand-filter-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
}
.brand-filter-modal-header h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.brand-filter-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-filter-clear {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 5px 10px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}
.brand-filter-clear:hover { color: var(--text-primary); border-color: var(--text-muted); }
.brand-filter-close {
  display: inline-flex;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
}
.brand-filter-close:hover { color: var(--text-primary); background: var(--bg-input); }

.brand-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--border-light);
}
.brand-filter-chips.hidden { display: none; }
.brand-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 6px 4px 10px;
  font-size: 12px;
  color: var(--text-primary);
}
.brand-filter-chip-group {
  color: var(--text-muted);
  text-transform: capitalize;
}
.brand-filter-chip-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 3px;
  border-radius: 50%;
}
.brand-filter-chip-remove:hover { color: var(--text-primary); background: var(--bg-card); }

.brand-filter-modal-body { padding: 16px 18px; }
.brand-filter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.brand-filter-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: capitalize;
}
.brand-filter-field .brand-select { width: 100%; }
@media (max-width: 640px) {
  .brand-filter-grid { grid-template-columns: 1fr; }
}

/* ============================================
   ROW OVERFLOW MENU (kebab) for admin tables
   ============================================ */
.row-menu-wrap {
  position: relative;
  display: inline-flex;
}
.row-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 6px;
  cursor: pointer;
  color: var(--text-secondary);
}
.row-menu-btn:hover { color: var(--text-primary); border-color: var(--text-muted); }
.row-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 4px);
  min-width: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 4px;
  z-index: 200;
}
.row-menu.hidden { display: none; }
.row-menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  color: var(--text-primary);
  cursor: pointer;
}
.row-menu-item:hover { background: var(--bg-input); }
.row-menu-item.danger { color: var(--error); }
.row-menu-item.danger:hover { background: rgba(239, 68, 68, 0.1); }

/* Connection status light: a big obvious dot + label for integration
   health (e.g. Triple Whale on the Data Layer page). */
.brand-conn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.brand-conn-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  background: var(--text-muted);
}

.brand-conn-dot.ok {
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2), 0 0 12px rgba(34, 197, 94, 0.6);
}

.brand-conn-dot.error {
  background: var(--error);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2), 0 0 12px rgba(239, 68, 68, 0.6);
}

.brand-conn-name {
  font-weight: 700;
  font-size: 14px;
}

.brand-conn-detail {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
  word-break: break-word;
}

.brand-conn-detail.error {
  color: var(--error);
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Universal autosave chip (window.livfreshAutosave in platform.js): a
   quiet "Saving... / Saved" indicator pinned to the bottom-right corner
   so configuration menus can save themselves without a Save button. */
.brand-autosave-chip {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9500;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: opacity 0.25s ease;
}

.brand-autosave-chip.hidden {
  opacity: 0;
  pointer-events: none;
}

.brand-autosave-chip.is-saved { color: var(--success, #10b981); border-color: var(--success, #10b981); }
.brand-autosave-chip.is-error { color: var(--error); border-color: var(--error); }

.brand-autosave-spinner {
  width: 12px;
  height: 12px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  display: inline-block;
  animation: brandAutosaveSpin 0.8s linear infinite;
}

@keyframes brandAutosaveSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Universal refresh overlay (window.livfreshRefresh in platform.js):
   the full-screen "data is refreshing" experience with a progress bar
   and per-database rows, blocking interaction until the refresh ends. */
.brand-refresh-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: brandRefreshIn 0.2s ease;
}

.brand-refresh-overlay.hidden { display: none; }

@keyframes brandRefreshIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.brand-refresh-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 44px;
  max-width: 480px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.brand-refresh-icon {
  margin-bottom: 14px;
  color: var(--primary);
  display: inline-block;
  animation: brandRefreshSpin 1.5s linear infinite;
}

@keyframes brandRefreshSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.brand-refresh-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px;
}

.brand-refresh-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 22px;
}

.brand-refresh-track {
  width: 100%;
  height: 8px;
  background: var(--bg-main);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}

.brand-refresh-fill {
  height: 100%;
  width: 0%;
  background: var(--primary);
  border-radius: 4px;
  transition: width 0.5s ease;
}

.brand-refresh-label {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  min-height: 15px;
}

.brand-refresh-sources {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.brand-refresh-source {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm, 6px);
  background: var(--bg-main);
  border: 1px solid var(--border);
  font-size: 13px;
}

.brand-refresh-source.done {
  border-color: var(--success, #10b981);
}

.brand-refresh-source-icon {
  display: inline-flex;
  align-items: center;
  width: 16px;
  justify-content: center;
}

.brand-refresh-source-name {
  flex: 1;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-refresh-source-state {
  font-size: 11.5px;
  color: var(--text-muted, var(--text-secondary));
  white-space: nowrap;
}

.brand-refresh-source.done .brand-refresh-source-state {
  color: var(--success, #10b981);
}

.brand-refresh-card.is-complete .brand-refresh-icon {
  animation: none;
  color: var(--success, #10b981);
}

.brand-refresh-card.is-complete .brand-refresh-title {
  color: var(--success, #10b981);
}

.brand-refresh-card.is-error .brand-refresh-icon {
  animation: none;
  color: var(--error);
}

.brand-refresh-card.is-error .brand-refresh-title {
  color: var(--error);
}
