/* Contenedor principal del select2 */
.select2-container--bootstrap-5 .select2-selection {
  background-color: #ffffff;
  border: 1px solid #62a6e9;
  border-radius: 10px;
  min-height: 90px; /* Altura más grande */
  padding: 14px 16px;
  font-size: 16px;
  box-shadow: none;
  display: flex;
  align-items: center;
}

/* Texto seleccionado */
.select2-container--bootstrap-5 .select2-selection__rendered {
  color: #d1a486;
  font-weight: 500;
  line-height: 36px;
  padding-left: 5px;
}

/* Placeholder */
.select2-container--bootstrap-5 .select2-selection__placeholder {
  color: #6c757d;
  font-size: 20px;
  font-style: italic;
  line-height: 36px;
}

/* Opciones seleccionadas */
.select2-container--bootstrap-5 .select2-selection__choice {
  background-color: #d1a27c;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  margin-top: 6px;
  font-size: 14px;
}

/* Al pasar el mouse por las opciones del dropdown */
.select2-container--bootstrap-5 .select2-results__option--highlighted {
  background-color: #0d6efd;
  color: white;
}

/* Ícono de flecha del select */
.select2-container--bootstrap-5 .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 10px;
  width: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #0d6efd;
}

/* Ancho total */
.select2-container {
  width: 100% !important;
}

/* Asegurar que el multiselect "Consultas" use el mismo estilo */
.select2-container--bootstrap-5 .select2-selection[aria-labelledby="select2-consultas-container"] {
  border-color: #62a6e9; /* Coincide con el borde de Tipos de Lactancia Materna */
  border-radius: 10px; /* Bordes redondeados */
  min-height: 90px; /* Misma altura */
  padding: 14px 16px; /* Misma padding */
}

/* Placeholder específico para "Consultas" */
.select2-container--bootstrap-5 .select2-selection__placeholder[for="consultas"] {
  color: #6c757d; /* Mismo color de placeholder */
  font-size: 20px;
  font-style: italic;
}