/* Override Bootstrap 5 colors */
:root {
  --bs-primary: #b11016;
  --bs-primary-rgb: 177, 16, 22;
  --bs-dark: #0a0a0a;
  --bs-dark-rgb: 10, 10, 10;
  --bs-link-color: #b11016;
  --bs-link-hover-color: #8f0e1b;
  --bs-btn-hover-bg: #8f0e1b;
  --bs-btn-hover-border-color: #8f0e1b;
  --bs-btn-active-bg: #7a0c17;
  --bs-btn-active-border-color: #7a0c17;
  --bs-btn-disabled-bg: #b11016;
  --bs-btn-disabled-border-color: #b11016;
  --bs-nav-pills-link-active-bg: #b11016;
  --bs-list-group-active-bg: #b11016;
  --bs-list-group-active-border-color: #b11016;
  --bs-outline-color: #b11016;
  --plyr-color-main: #b11016;
  --bs-warning-rgb: 177, 16, 22;
}

/* Buttons */
.btn-primary {
  background-color: #b11016 !important;
  border-color: #b11016 !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #8f0e1b !important;
  border-color: #8f0e1b !important;
  color: #fff !important;
}
.btn-primary:active {
  background-color: #7a0c17 !important;
  border-color: #7a0c17 !important;
  color: #fff !important;
}
.btn-primary:disabled,
.btn-primary.disabled {
  background-color: #b11016 !important;
  border-color: #b11016 !important;
  color: #fff !important;
  opacity: 0.65;
}

/* Outline Primary Button */
.btn-outline-primary {
  color: #b11016 !important;
  border-color: #b11016 !important;
  background-color: transparent !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  color: #fff !important;
  background-color: #b11016 !important;
  border-color: #b11016 !important;
}
.btn-outline-primary:active {
  color: #fff !important;
  background-color: #8f0e1b !important;
  border-color: #8f0e1b !important;
}
.btn-outline-primary:disabled,
.btn-outline-primary.disabled {
  color: #b11016 !important;
  background-color: transparent !important;
  border-color: #b11016 !important;
  opacity: 0.65;
}

/* Text and backgrounds */
.text-primary {
  color: #b11016 !important;
}
.bg-primary {
  background-color: #b11016 !important;
  color: #fff !important;
}
.bg-dark {
  background-color: #0a0a0a !important;
}
.text-dark {
  color: #0a0a0a !important;
}

/* Links */
a,
.link-primary {
  color: #b11016;
}
a:hover,
a:focus,
a.text-dark:hover,
a.text-dark:focus,
.link-primary:hover,
.link-primary:focus {
  color: #b11016 !important;
}

/* Nav pills and tabs */
.nav-link:hover,
.nav-link:focus {
  color: #b11016 !important;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  background-color: #b11016 !important;
  color: #fff !important;
}
.nav-tabs .nav-link.active {
  border-color: #b11016 #b11016 #fff !important;
  color: #b11016 !important;
}

/* List group */
.list-group-item.active {
  background-color: #b11016 !important;
  border-color: #b11016 !important;
  color: #fff !important;
}

/* Progress bar */
.progress-bar.bg-primary {
  background-color: #b11016 !important;
}

/* Alerts */
.alert-primary {
  background-color: #f8e6e6 !important;
  border-color: #b11016 !important;
  color: #b11016 !important;
}


/* Badges */
.badge-primary,
.bg-primary {
  background-color: #b11016 !important;
  color: #fff !important;
}

/* Form controls focus */
.form-control:focus,
.form-select:focus {
  border-color: #b11016 !important;
  box-shadow: 0 0 0 0.2rem rgba(177, 16, 22, 0.25) !important;
}

/* Outline color for accessibility */
:focus {
  outline-color: #b11016 !important;
}

/* Custom player color */
.plyr--full-ui input[type="range"]::-webkit-slider-thumb {
  background: #b11016 !important;
}
