:root{
  --yc-primary: #015E9B;
  --yc-primary-hover: #014f82;
  --yc-primary-active: #013f69;
}

/* ===============================
   YourCard – Override btn-primary
   =============================== */

.btn-primary{
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--yc-primary);
  --bs-btn-border-color: var(--yc-primary);

  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--yc-primary-hover);
  --bs-btn-hover-border-color: var(--yc-primary-hover);

  --bs-btn-focus-shadow-rgb: 1, 94, 155;

  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--yc-primary-active);
  --bs-btn-active-border-color: var(--yc-primary-active);

  --bs-btn-disabled-bg: var(--yc-primary);
  --bs-btn-disabled-border-color: var(--yc-primary);
}

/* ===============================
   YourCard – Bootstrap primary overrides
   =============================== */

/* Utilitaires Bootstrap */
.bg-primary { background-color: var(--yc-primary) !important; }
.text-primary { color: var(--yc-primary) !important; }
.border-primary { border-color: var(--yc-primary) !important; }
.link-primary { color: var(--yc-primary) !important; }
.link-primary:hover { color: var(--yc-primary-hover) !important; }
.text-bg-primary{
  background-color: var(--yc-primary) !important;
}

/* États "active" Bootstrap (menus, dropdowns, pills) */
.dropdown-item.active,
.dropdown-item:active{
  background-color: var(--yc-primary) !important;
  color: #fff !important;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link{
  background-color: var(--yc-primary) !important;
}

/* Focus rings (inputs/boutons) */
.form-control:focus,
.form-select:focus{
  border-color: rgba(1, 94, 155, .35);
  box-shadow: 0 0 0 .25rem rgba(1, 94, 155, .18);
}
