.has-error .checkbox-custom-alt > i {
  border-color: #ff7b76; 
}

.has-success .checkbox-custom-alt > i {
  border-color: #b2e600; 
}

.checkbox-custom-alt > i {
  width: 18px;
  height: 18px;
  background-color: transparent;
  border: 1px solid #dfdfdf; 
}

.table-default > thead {
  background-color: #333b3f !important;
  color: white !important;
}

.my-box-img button {
    position:absolute;
    top:5px;
    right:21px;
}

/************* reparacion de los estilos de los tabs *********************/
.tab-wizard .nav-tabs > li.active ~ li > a, .tab-wizard .nav-tabs > li.active ~ li > a:hover{
  color: #bfc7cb !important;
}

/* reparacion counts de tabla */
.ng-table-counts{
  margin: 20px 0;
}

/* CSS del botón flotante y video */
.floating-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9999;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite;
  transition: transform 0.2s;
}

.floating-btn:hover {
  transform: scale(1.1);
}

.video-popup {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 10000;
}

.video-container {
  position: relative;
  width: 90vw;
  /* ocupa el 90% del ancho de la pantalla */
  max-width: 800px;
  /* nunca más grande de 800px */
  margin: auto;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* se adapta al ancho */
  height: 100%;
  /* se adapta a la altura */
}

.video-container::before {
  content: "";
  display: block;
  padding-top: 56.25%;
  /* proporción 16:9 -> 9/16 = 0.5625 */
}

.video-container video {
  width: 100%;
  height: auto;
}

.video-controls {
  display: flex;
  justify-content: space-between;
  padding: 5px;
  background: #f1f1f1;
}

/* Animación bouncing */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-8px);
  }
}