:root {
  --bs-primary: #1976D2 !important;
  --bs-primary-rgb: 25, 118, 210 !important;

  --bs-link-color: #1976D2 !important;
  --bs-link-hover-color: #0D47A1 !important;

  --si-primary: #1976D2 !important;
  --si-primary-rgb: 25, 118, 210 !important;

  --si-heading-link-hover-color: #1976D2;
}

/* ===================== */
/* NAVBAR */
/* ===================== */

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #1976D2 !important;
}

.navbar .nav-link.active {
  color: #1976D2 !important;
}

.dark-mode .nav {
  --si-nav-link-hover-color: #1976D2;
  --si-nav-link-active-color: #1976D2;
}

/* Glow sutil em navbar sticky */
.navbar-sticky {
  box-shadow: 0 0.35rem 1rem rgba(25, 118, 210, 0.08);
}

/* ===================== */
/* BOTÕES */
/* ===================== */

.btn-primary {
  background-color: #1976D2 !important;
  border-color: #1976D2 !important;
  box-shadow: 0 0.5rem 1.125rem rgba(25, 118, 210, 0.35) !important;
}

.btn-primary:hover {
  background-color: #1565C0 !important;
  border-color: #1565C0 !important;
  box-shadow: 0 0.6rem 1.25rem rgba(25, 118, 210, 0.45) !important;
}

.btn-primary:active,
.btn-primary:focus {
  background-color: #0D47A1 !important;
  border-color: #0D47A1 !important;
  box-shadow: 0 0.4rem 0.9rem rgba(25, 118, 210, 0.25) !important;
}

/* Outline */
.btn-outline-primary {
  color: #1976D2 !important;
  border-color: #1976D2 !important;
}

.btn-outline-primary:hover {
  background-color: #1976D2 !important;
  border-color: #1976D2 !important;
  color: #fff !important;
  box-shadow: 0 0.5rem 1.125rem rgba(25, 118, 210, 0.35);
}

.btn-prev,
.btn-next {
  --si-carousel-nav-btn-hover-bg: #1976D2;
  --si-carousel-nav-btn-hover-color: #fff;
  --si-carousel-nav-btn-hover-box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(25,118,210,0.9);
}

/* ===================== */
/* TEXTOS / LINKS */
/* ===================== */

.text-primary {
  color: #1976D2 !important;
}

a {
  color: #1976D2;
}

a:hover {
  color: #0D47A1;
}

/* ===================== */
/* CARDS */
/* ===================== */

.card {
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

/* ===================== */
/* INPUTS / FORM */
/* ===================== */

.form-control:focus,
.form-select:focus {
  border-color: #1976D2 !important;
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25) !important;
}

/* Checkbox / radio */
.form-check-input:checked {
  background-color: #1976D2 !important;
  border-color: #1976D2 !important;
}

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(25, 118, 210, 0.25);
}

/* ===================== */
/* SWITCH (CORREÇÃO SILICON) */
/* ===================== */

/* Remove o roxo fixo do Silicon */
.form-switch.mode-switch .form-check-input,
.form-switch.price-switch .form-check-input {
  background-color: #1976D2 !important;
  box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(25, 118, 210, 0.35) !important;
}

/* Estado ativo */
.form-switch .form-check-input:checked {
  background-color: #1976D2 !important;
}

/* ===================== */
/* BACKGROUNDS */
/* ===================== */

.bg-primary {
  background-color: #1976D2 !important;
}

.badge.bg-primary {
  background-color: #1976D2 !important;
}

.alert-primary {
  background-color: rgba(25, 118, 210, 0.1) !important;
  border-color: rgba(25, 118, 210, 0.2) !important;
  color: #1976D2 !important;
}

/* ===================== */
/* DROPDOWN MENU FIX */
/* ===================== */

.dropdown-item:hover,
.dropdown-item:focus {
  color: #1976D2 !important;
  background-color: rgba(25, 118, 210, 0.08) !important;
}

.dropdown-item.active,
.dropdown-item:active {
  color: #1976D2 !important;
  background-color: rgba(25, 118, 210, 0.12) !important;
}

/* Link do dropdown quando hover */
.navbar .dropdown-menu .dropdown-item:hover {
  color: #1976D2 !important;
}

/* Remove roxo herdado */
.dropdown-menu {
  --bs-dropdown-link-hover-color: #1976D2;
  --bs-dropdown-link-active-color: #1976D2;
}

/* ===================== */
/* FIX NAVBAR DROPDOWN HOVER */
/* ===================== */

/* Link principal do dropdown */
.navbar .dropdown:hover>.nav-link,
.navbar .dropdown:focus-within>.nav-link {
  color: #1976D2 !important;
}

/* Caso o tema aplique active */
.navbar .dropdown>.nav-link.active {
  color: #1976D2 !important;
}

html:not(.dark-mode) .swiper-pagination-bullet-active {
  background-color: #1976D2 !important;
}

.steps {
  --si-steps-number-bg: rgba(25,118,210,.2) !important;
  --si-steps-number-inner-bg: #1976D2 !important;
}
