/*
 * Bootstrap 5 brand overrides.
 *
 * Loaded AFTER static/vendor/bootstrap/css/bootstrap.min.css and BEFORE
 * static/css/main.css. Re-points Bootstrap's own CSS custom properties
 * (--bs-primary etc) at this project's existing "abit bluish" brand
 * palette (see the --brand-* variables in main.css) instead of shipping
 * default Bootstrap blue (#0d6efd), so real Bootstrap components (navbar,
 * buttons, modals, alerts, forms) visually match the hand-rolled classes
 * that main.css still provides for pages not yet migrated to Bootstrap
 * markup. Keeping this as a small, separate file (rather than editing the
 * vendored bootstrap.min.css directly) means re-vendoring a newer
 * Bootstrap release later is a straight file replace with no lost edits.
 */
:root {
  --bs-primary: #4f46e5;
  --bs-primary-rgb: 79, 70, 229;
  --bs-secondary: #64748b;
  --bs-secondary-rgb: 100, 116, 139;
  --bs-success: #16a34a;
  --bs-success-rgb: 22, 163, 74;
  --bs-danger: #dc2626;
  --bs-danger-rgb: 220, 38, 38;
  --bs-info: #0284c7;
  --bs-info-rgb: 2, 132, 199;
  --bs-warning: #d97706;
  --bs-warning-rgb: 217, 119, 6;
  --bs-light: #f8fafc;
  --bs-dark: #0f172a;
  --bs-body-color: #0f172a;
  --bs-body-bg: #f8fafc;
  --bs-link-color: #4f46e5;
  --bs-link-color-rgb: 79, 70, 229;
  --bs-link-hover-color: #4338ca;
  --bs-border-radius: .875rem;
  --bs-border-radius-sm: .5rem;
  --bs-border-radius-lg: 1.25rem;
  --bs-font-sans-serif: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

.btn-primary {
  --bs-btn-bg: #4f46e5;
  --bs-btn-border-color: #4f46e5;
  --bs-btn-hover-bg: #4338ca;
  --bs-btn-hover-border-color: #4338ca;
  --bs-btn-active-bg: #4338ca;
  --bs-btn-active-border-color: #4338ca;
  --bs-btn-focus-shadow-rgb: 79, 70, 229;
}
.btn-outline-primary {
  --bs-btn-color: #4f46e5;
  --bs-btn-border-color: #4f46e5;
  --bs-btn-hover-bg: #4f46e5;
  --bs-btn-hover-border-color: #4f46e5;
  --bs-btn-active-bg: #4f46e5;
  --bs-btn-active-border-color: #4f46e5;
}
.navbar-brand, .nav-link.active { color: #4f46e5 !important; }
.bg-primary { background-color: #4f46e5 !important; }
.text-primary { color: #4f46e5 !important; }
