.accordion-button:focus {
  box-shadow: none;
  border-color: inherit; /* Opcional: asegura que el color del borde no cambie */
}
/* 3.2 Validación de Formularios */
.form-control.error,
.form-select.error,
.form-control.error:hover,
.form-select.error:hover,
select.error + .select2-container .select2-selection {
  border-color: #e74c3c !important; /* Rojo */
}

.error-message {
  color: #e74c3c; /* Rojo */
  font-size: 0.9em;
  margin-top: 5px;
  min-height: 1em;
}



div.bootstrap-table.bootstrap5
  > div.fixed-table-container
  > div.fixed-table-body
  > div
  > span
  > span.loading-text {
  font-size: 1rem !important;
}

/* ==========================================================================
     6. SOBRESCRITURA DE PLUGINS (THIRD-PARTY)
     ========================================================================== */

/* 6.1 Select2 */
.select2-container .select2-selection--single {
  height: auto !important;
}
.select2-container .select2-selection__rendered {
  line-height: normal;
  padding-left: 8px;
  padding-right: 20px !important;
}
.select2-container .select2-selection--multiple .select2-selection__choice {
  color: inherit;
}
.select2-results__options {
  max-height: 250px;
  overflow-y: auto;
}

.select2-results__option {
  font-size: 1rem;
  
}

/* Estilos personalizados para opciones de zona horaria en Select2 */
.timezone-option {
  display: flex;
  align-items: center;
  padding: 0px;
  box-sizing: border-box;
}

/* Estilos personalizados para opciones de país en Select2 */
.country-option-container {
  display: flex;
  align-items: center;
  padding: 0px;
  box-sizing: border-box;
}
.country-sufijo {
  font-size: 1.2em;
  margin-right: 10px;
  padding: 3px 6px;
  min-width: 40px;
  text-align: center;
}
.country-details {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.country-prefijo,
.country-name {
  font-size: 0.7rem;
  color: var(--color-gray-dark);
}


/* ==========================================================================
     7. COMPONENTES ESPECIALES (LOADER)
     ========================================================================== */
#custom-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#custom-loader-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

