/* =============================================================================
 * LISTADO OPERADORES - ESTILOS
 * =============================================================================
 * Estilos para formulario de búsqueda responsive y skeleton loader
 */

/* Skeleton Loader */
.skeleton-line {
  height: 14px;
  background: linear-gradient(
    90deg,
    #e8eaed 0%,
    #f5f6f7 20%,
    #e8eaed 40%,
    #e8eaed 100%
  );
  background-size: 400% 100%;
  animation: loading 1.8s ease-in-out infinite;
  border-radius: 3px;
  margin: 4px 0;
}

@keyframes loading {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

#loading-skeleton tbody tr {
  opacity: 0.8;
  height: 50px;
}

#loading-skeleton tbody tr td {
  padding: 12px 8px;
}

#loading-skeleton tbody tr:nth-child(odd) {
  background-color: #fafafa;
}

/* =============================================================================
 * FORMULARIO DE BÚSQUEDA RESPONSIVE
 * =============================================================================
 */

/* Contenedor del campo de búsqueda */
.search-input-container {
  position: relative;
  margin-bottom: 10px;
}

/* Input de búsqueda - responsive */
.input_search_operadores {
  width: 100%;
  padding-left: 45px;
  height: 51px;
  border-radius: 27.5px;
  border: 1px solid #ddd;
  font-size: 14px;
  line-height: 51px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Ícono de búsqueda */
#icon_search_operadores {
  position: absolute;
  left: 15px;
  top: 17px;
  pointer-events: none;
  z-index: 10;
}

/* Select responsive */
.select_operadores select {
  width: 100%;
  height: 51px;
  border-radius: 27.5px;
  border: 1px solid #ddd;
  padding: 0 15px;
  font-size: 12px;
  background-color: #f5f5f5;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Botón buscar responsive */
.buscar_normal {
  width: 100%;
  height: 51px;
  border-radius: 27.5px;
  border: none;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Media queries para tablets y desktop */
@media (min-width: 768px) {
  .form-search-operadores .form-group {
    margin-bottom: 0;
  }
}

/* Media query para desktop grande */
@media (min-width: 992px) {
  .input_search_operadores {
    max-width: none;
  }
}
