/* Override Bootstrap primary color with custom yellow */
.text-primary,
.text-primary-hover:hover,
.hover\:text-primary:hover,
.text-primary-focus:focus,
.focus\:text-primary:focus {
  color: #ffc000 !important;
}

.bg-primary,
.bg-primary-hover:hover,
.hover\:bg-primary:hover {
  background-color: #ffc000 !important;
}

/* Override Bootstrap CSS variables */
:root {
  --bs-primary-rgb: 255, 192, 0 !important;
  --bs-primary: #ffc000 !important;
  --bs-secondary-rgb: 255, 253, 227 !important;
  --bs-btn-bg: #ffc000 !important;
  --bs-btn-border-color: #ffc000 !important;
  --bs-btn-hover-bg: #e6ac00 !important;
  --bs-btn-hover-border-color: #e6ac00 !important;
  --bs-btn-active-bg: #cc9900 !important;
  --bs-btn-active-border-color: #cc9900 !important;
}

.btn-primary {
  background-color: #ffc000 !important;
  border-color: #ffc000 !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #e6ac00 !important;
  border-color: #e6ac00 !important;
  color: #fff !important;
}

.btn-primary:active,
.btn-primary.active {
  background-color: #cc9900 !important;
  border-color: #cc9900 !important;
  color: #fff !important;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 192, 0, 0.5) !important;
}

/* Specific overrides for navbar buttons */
.uc-navbar .btn-primary,
.uc-navbar-right .btn-primary,
header .btn-primary {
  --bs-btn-color: #fff !important;
  --bs-btn-bg: #ffc000 !important;
  --bs-btn-border-color: #ffc000 !important;
  --bs-btn-hover-color: #fff !important;
  --bs-btn-hover-bg: #e6ac00 !important;
  --bs-btn-hover-border-color: #e6ac00 !important;
  --bs-btn-focus-shadow-rgb: 255, 192, 0 !important;
  --bs-btn-active-color: #fff !important;
  --bs-btn-active-bg: #cc9900 !important;
  --bs-btn-active-border-color: #cc9900 !important;
  background-color: #ffc000 !important;
  border-color: #ffc000 !important;
  color: #fff !important;
}

.uc-navbar .btn-primary:hover,
.uc-navbar .btn-primary:focus,
.uc-navbar-right .btn-primary:hover,
.uc-navbar-right .btn-primary:focus,
header .btn-primary:hover,
header .btn-primary:focus {
  background-color: #e6ac00 !important;
  border-color: #e6ac00 !important;
  color: #fff !important;
}

.uc-navbar .btn-primary:active,
.uc-navbar-right .btn-primary:active,
header .btn-primary:active {
  background-color: #cc9900 !important;
  border-color: #cc9900 !important;
  color: #fff !important;
}

/* Override uc-link colors */
.uc-link {
  color: #ffc000 !important;
}

.uc-link:hover,
.uc-link:focus {
  color: #e6ac00 !important;
}

.uc-link:active {
  color: #cc9900 !important;
}

/* Prevent color change on hover for all highlighted spans */
.d-inline-flex.px-1.bg-secondary.text-primary.-rotate-1:hover,
.d-inline-flex.px-1.bg-secondary.text-primary.-rotate-1.lg\:-rotate-2:hover,
span.d-inline-flex.px-1.bg-secondary.text-primary.-rotate-1:hover,
span.d-inline-flex.px-1.bg-secondary.text-primary.-rotate-1.lg\:-rotate-2:hover {
  color: #ffc000 !important;
}

/* Override any blue text colors */
.text-blue,
.text-info,
.text-link {
  color: #ffc000 !important;
}

/* Navbar active state styling */
.uc-navbar-nav li.uc-active > a,
.uc-navbar-nav a[aria-current="page"],
.uc-navbar-nav a.uc-active,
header .uc-navbar-nav li.uc-active > a,
header .uc-navbar-nav a[aria-current="page"],
header .uc-navbar-nav a.uc-active {
  color: #ffc000 !important;
  font-weight: 600 !important;
}

.uc-navbar-nav li.uc-active > a:hover,
.uc-navbar-nav a[aria-current="page"]:hover,
header .uc-navbar-nav li.uc-active > a:hover,
header .uc-navbar-nav a[aria-current="page"]:hover {
  color: #e6ac00 !important;
}

/* Ensure navbar links have proper default styling */
.uc-navbar-nav a {
  color: inherit !important;
  transition: color 0.3s ease !important;
}

.uc-navbar-nav a:hover {
  color: #ffc000 !important;
}


