/* GLCDI Participant Theme - Generated at runtime */
:root {
  --color-primary: #2E7D32;
  --color-secondary: #1B5E20;
  --color-third: #66BB6A;
  --color-heading: #1B5E20;

  /* Override TEMS design tokens used by tems-*-management views.
     Without these, primary actions ("Create Asset" etc.) render in
     TEMS' brand magenta and destructive actions ("Delete") in a bright
     red — clashes against the GLCDI green sidebar. Token names are
     exactly those tems-button.scss / tems-input.scss / etc. consume,
     so renaming any here breaks the override. */

  /* Primary / solid action — Create / Save / Submit */
  --color-surface-action-solid: #2E7D32;
  --color-surface-action-solid-hover: #1B5E20;
  --color-surface-action-solid-hover-light: #66BB6A;
  --color-text-action-on: #ffffff;
  --color-icon-action-on: #ffffff;
  --color-text-action: #2E7D32;
  --color-text-action-hover: #1B5E20;
  --color-icon-action: #2E7D32;
  --color-icon-action-hover: #1B5E20;
  --color-border-action: #2E7D32;
  --color-border-action-hover: #1B5E20;
  --color-border-focus: #66BB6A;

  /* Destructive — Delete. Kept red for affordance, but a muted Material
     red-700 instead of TEMS' bright #f00-ish so it doesn't fight the
     green palette. */
  --color-surface-danger: #c62828;
  --color-surface-danger-hover: #8e0000;
  --color-text-danger-on: #ffffff;
  --color-text-danger: #c62828;
  --color-border-danger: #c62828;
}

/* Sidebar branding */
.sidebar-header, tems-sidebar-oidc .header {
  background-color: #2E7D32 !important;
}

/* Button accents */
button[type="submit"], .btn-primary, solid-form button {
  background-color: #2E7D32 !important;
  border-color: #2E7D32 !important;
}

button[type="submit"]:hover, .btn-primary:hover {
  background-color: #1B5E20 !important;
  border-color: #1B5E20 !important;
}
