.avatar-group {
  display: flex;
  align-items: center;
}

.avatar-group .avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -10px;
  box-shadow: 0 0 0 1px #dee2e6;
  transition: transform 0.2s ease;
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

.avatar-group .avatar:hover {
  transform: scale(1.05);
  z-index: 2;
}

.avatar-group .avatar-count {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #adb5bd;
  color: #fff;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-left: -10px;
  box-shadow: 0 0 0 1px #dee2e6;
}

/* Fondos transparentes reutilizables */

.bg-success-transparent {
  background-color: rgba(25, 135, 84, 0.2);
  /* Verde Bootstrap */
}

.bg-danger-transparent {
  background-color: rgba(220, 53, 69, 0.2);
  /* Rojo Bootstrap */
}

.bg-warning-transparent {
  background-color: rgba(255, 193, 7, 0.25);
  /* Amarillo Bootstrap */
}

.bg-info-transparent {
  background-color: rgba(13, 202, 240, 0.2);
  /* Celeste Bootstrap */
}

.bg-primary-transparent {
  background-color: rgba(13, 110, 253, 0.2);
  /* Azul Bootstrap */
}

.bg-secondary-transparent {
  background-color: rgba(108, 117, 125, 0.2);
  /* Gris Bootstrap */
}

.bg-dark-transparent {
  background-color: rgba(33, 37, 41, 0.2);
  /* Oscuro */
}

.bg-light-transparent {
  background-color: rgba(248, 249, 250, 0.5);
  /* Claro */
}

/* Opcional: bordes suaves para acompañar */
.border-transparent {
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.h-32 {
  height: 32px;
}

.h-42 {
  height: 42px;
}

.h-48 {
  height: 48px;
}

.h-50 {
  height: 50px;
}

.h-52 {
  height: 52px;
}

.h-55 {
  height: 55px;
}

.h-58 {
  height: 58px;
}

.h-64 {
  height: 64px;
}

.h-120 {
  height: 120px;
}

.wh-35 {
  width: 35px;
  height: 35px;
}

.wh-30 {
  width: 30px;
  height: 30px;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: #f9f9f9;
  /* Color claro para filas impares */
}

.font-15 {
  font-size: 15px;
}

.font-16 {
  font-size: 16px;
}

.font-17 {
  font-size: 175px;
}

.font-18 {
  font-size: 18px;
}

.font-19 {
  font-size: 19px;
}

/* Forzar el dropdown a no romper la tabla */
.custom-dropdown-fix {
  position: absolute !important;
  z-index: 9999 !important;
  transform: translate3d(0, 38px, 0) !important;
  will-change: transform;
}

/* Asegurarse que las filas no tengan overflow oculto */
.table tbody tr {
  overflow: visible !important;
}

/* Permitir que el contenedor padre muestre el dropdown hacia fuera */
.table-responsive {
  overflow: visible !important;
}

.timeline-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.timeline-steps .timeline-step {
  align-items: center;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 1rem;
}

@media (min-width:768px) {
  .timeline-steps .timeline-step:not(:last-child):after {
    content: "";
    display: block;
    border-top: .25rem dotted #dee2e6;
    /* gris por defecto */
    width: 3.46rem;
    position: absolute;
    left: 7.5rem;
    top: .3125rem;
  }

  .timeline-steps .timeline-step:not(:first-child):before {
    content: "";
    display: block;
    border-top: .25rem dotted #dee2e6;
    /* gris por defecto */
    width: 3.8125rem;
    position: absolute;
    right: 7.5rem;
    top: .3125rem;
  }
}

/* Círculo */
.timeline-steps .timeline-content .inner-circle {
  position: relative;
  border-radius: 50%;
  height: 1rem;
  width: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline-steps .timeline-content .inner-circle.bg-success:before,
.timeline-steps .timeline-content .inner-circle.bg-primary:before,
.timeline-steps .timeline-content .inner-circle.bg-secondary:before {
  content: "";
  display: inline-block;
  height: 2rem;
  /* antes estaba en 3rem */
  width: 2rem;
  /* mismo valor que height */
  border-radius: 50%;
  opacity: .3;
  position: absolute;
}


/* Todas las filas tracking son clickeables */
tr.tracking-row {
  cursor: pointer;
}

/* Pero los botones y timeline siguen con su cursor normal */
tr.tracking-row .btn,
tr.tracking-row .changeStageBtn {
  cursor: default !important;
}

@media (max-width: 768px) {
  table thead {
    display: none;
    /* ocultamos encabezados */
  }

  table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    padding: 0.5rem;
  }

  table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem;
  }

  table td::before {
    content: attr(data-label);
    font-weight: bold;
    margin-right: 0.5rem;
    color: #666;
  }
}