/**
 * LiveBroker - header / Ma sélection.
 * N’altère pas la logique du module de devis.
 */

.lb-header-selection {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  min-height: 40px;
  padding: 0.48rem 0.72rem !important;
  border: 1px solid #bdbdbd;
  border-radius: 4px;
  background: #fff;
  color: #111 !important;
  font-weight: 700 !important;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
}

.lb-header-selection:hover,
.lb-header-selection:focus {
  border-color: #111;
  background: #111;
  color: #fff !important;
  outline: 2px solid #111;
  outline-offset: 2px;
}

.lb-header-selection-count {
  display: inline-flex;
  min-width: 1.45rem;
  height: 1.45rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.lb-header-selection:hover .lb-header-selection-count,
.lb-header-selection:focus .lb-header-selection-count {
  background: #fff;
  color: #111;
}

.lb-header-phone {
  font-weight: 700;
  text-decoration: none !important;
}

.lb-header-phone:hover,
.lb-header-phone:focus {
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

@media (max-width: 767px) {
  .lb-header-selection {
    min-height: 44px;
    padding: 0.55rem 0.72rem !important;
    font-size: 0.88rem !important;
  }

  .lb-header-selection-count {
    min-width: 1.35rem;
    height: 1.35rem;
    font-size: 0.72rem;
  }

  .lb-header-selection-parent {
    display: flex !important;
    align-items: center;
  }
}