/**
 * Global Color Override
 * This file overrides all colors across the entire system to match our color palette:
 * Primary: #1a1a1a (dark), #ffffff (white)
 * Secondary: #d11313 (red)
 * Background: #ffffff (white)
 * Grey: #cccccc, #999999, etc.
 */

:root {
  /* Primary Colors */
  --primary: #1a1a1a !important;
  --secondary: #d11313 !important;
  --success: #28a745 !important;
  --danger: #d11313 !important;
  --warning: #ffc107 !important;
  --info: #17a2b8 !important;
  --light: #f8f9fa !important;
  --dark: #1a1a1a !important;
  
  /* Bootstrap Override */
  --bs-primary: #1a1a1a !important;
  --bs-secondary: #d11313 !important;
  --bs-success: #28a745 !important;
  --bs-danger: #d11313 !important;
  --bs-warning: #ffc107 !important;
  --bs-info: #17a2b8 !important;
  --bs-light: #f8f9fa !important;
  --bs-dark: #1a1a1a !important;
  
  /* Legacy variables */
  --base: #1a1a1a !important;
  --base-rgb: 26, 26, 26 !important;
}

/* Text Colors */
.text-primary {
  color: #1a1a1a !important;
}

.text-secondary {
  color: #d11313 !important;
}

/* Background Colors */
.bg-primary {
  background-color: #1a1a1a !important;
}

.bg-secondary {
  background-color: #d11313 !important;
}

/* Button Colors */
.btn-primary {
  background-color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background-color: #333333 !important;
  border-color: #333333 !important;
}

.btn-secondary {
  background-color: #d11313 !important;
  border-color: #d11313 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active {
  background-color: #b01010 !important;
  border-color: #b01010 !important;
}

/* Border Colors */
.border-primary {
  border-color: #1a1a1a !important;
}

.border-secondary {
  border-color: #d11313 !important;
}

/* Form Elements */
.form-control:focus {
  border-color: #1a1a1a !important;
  box-shadow: 0 0 0 0.2rem rgba(26, 26, 26, 0.25) !important;
}

/* Select2 Elements */
.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #1a1a1a !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
  border-color: #1a1a1a !important;
}

/* Links */
a {
  color: #d11313 !important;
}

a:hover {
  color: #b01010 !important;
}

/* Override any blue colors in inline styles */
[style*="color: #007bff"],
[style*="color:#007bff"],
[style*="color: #0056b3"],
[style*="color:#0056b3"],
[style*="color: #17a2b8"],
[style*="color:#17a2b8"] {
  color: #d11313 !important;
}

[style*="background-color: #007bff"],
[style*="background-color:#007bff"],
[style*="background-color: #0056b3"],
[style*="background-color:#0056b3"],
[style*="background-color: #17a2b8"],
[style*="background-color:#17a2b8"] {
  background-color: #1a1a1a !important;
}

[style*="border-color: #007bff"],
[style*="border-color:#007bff"],
[style*="border-color: #0056b3"],
[style*="border-color:#0056b3"],
[style*="border-color: #17a2b8"],
[style*="border-color:#17a2b8"] {
  border-color: #1a1a1a !important;
} 