/* core21 Vault — whitelabel CSS overrides
   Brand source: https://staging.www-ep21-cz.pages.dev/ team page palette + ep21-mark.svg gold
   Primary action: #2f6c99 (mid blue) — overrides Bitwarden default #175DDC
   Accent gold: #B7905A (logo gradient mid-tone)
   Light bg: #edf4fb / Dark bg parity unchanged
*/

:root {
  --bw-primary: #2f6c99;
  --bw-primary-hover: #214f8a;
  --bw-primary-active: #1f3f63;
  --bw-accent-gold: #B7905A;
}

/* Bootstrap-flavored primary buttons + links */
.btn-primary,
.bg-primary,
button.btn.btn-primary {
  background-color: #2f6c99 !important;
  border-color: #2f6c99 !important;
}
.btn-primary:hover,
.btn-primary:focus,
button.btn.btn-primary:hover {
  background-color: #214f8a !important;
  border-color: #214f8a !important;
}
.btn-primary:active,
.btn-primary.active,
button.btn.btn-primary:active {
  background-color: #1f3f63 !important;
  border-color: #1f3f63 !important;
}

a, a:not(.btn) {
  color: #2f6c99;
}
a:hover {
  color: #214f8a;
}

/* Outline / link buttons */
.btn-outline-primary {
  border-color: #2f6c99 !important;
  color: #2f6c99 !important;
}
.btn-outline-primary:hover {
  background-color: #2f6c99 !important;
  color: #fff !important;
}

/* Top nav active state */
.nav-tabs .nav-link.active {
  border-bottom-color: #2f6c99 !important;
  color: #2f6c99 !important;
}

/* Form focus ring */
.form-control:focus,
.form-select:focus {
  border-color: #2f6c99 !important;
  box-shadow: 0 0 0 0.25rem rgba(47, 108, 153, 0.25) !important;
}

/* Spinner accent */
.bwi-spin {
  color: #B7905A !important;
}

/* Header/sidebar accent (Tailwind v3 utilities used by newer BW components) */
.bg-primary-500,
.tw-bg-primary-500 {
  background-color: #2f6c99 !important;
}
.text-primary-500,
.tw-text-primary-500 {
  color: #2f6c99 !important;
}
.border-primary-500,
.tw-border-primary-500 {
  border-color: #2f6c99 !important;
}
.hover\:bg-primary-700:hover,
.tw-hover\:tw-bg-primary-700:hover {
  background-color: #214f8a !important;
}

/* Subtle ep21 footer mark — bottom-right corner gold dot
   (cosmetic; identifies as EP21 fork without being intrusive) */
body::after {
  content: "core21 Vault — EP21";
  position: fixed;
  bottom: 6px;
  right: 10px;
  font-size: 10px;
  color: rgba(183, 144, 90, 0.55);
  pointer-events: none;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}
