/* Primary theme override
 * Forces a consistent primary color across the app regardless of the "Styles" dropdown.
 */
:root {
  --sma-primary: #00c896;
  --sma-primary-darker: #00a474;
  --sma-primary-lighter: #22d6a3;
}

/* Links */
a { color: var(--sma-primary); }
a:hover, a:focus { color: var(--sma-primary-darker); }

/* Buttons */
.btn-primary,
.btn.btn-primary {
  background-color: var(--sma-primary) !important;
  border-color: var(--sma-primary) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--sma-primary-darker) !important;
  border-color: var(--sma-primary-darker) !important;
}

/* Labels / badges */
.label-primary,
.badge-primary {
  background-color: var(--sma-primary) !important;
}

/* NOTE:
 * Header + sidebar styling is handled by `modern-ui.css`.
 * Keeping this file focused on "primary accents" avoids conflicts with the legacy Styles dropdown.
 */

/* Headings accent used throughout admin (the "blue" class) */
.blue,
.box-header h2.blue,
.box-header h2.blue i {
  color: var(--sma-primary) !important;
}

/* Table headers */
.table > thead > tr > th {
  background: rgba(0, 200, 150, 0.14) !important;
  color: #0b1f1a !important;
  border-color: rgba(0, 200, 150, 0.22) !important;
}
.table > thead > tr > th a { color: #0b1f1a !important; text-decoration: underline; }

/* Pagination */
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  background-color: var(--sma-primary) !important;
  border-color: var(--sma-primary) !important;
}



