/* ================================ 
   🌟 CONTENEDOR GENERAL
   ================================ */


.contenedor-btn-examen {
    position: absolute;
    margin-top: 0px;
    top: 0px;
    right: 0px;

}

/* ================================ 
   🌟 LISTA DE EXÁMENES
   ================================ */
.listaExamenes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 0;
  align-items: center;
}

/* ================================ 
   🌟 ÍTEM DE EXAMEN
   ================================ */
.examen-item {
  position: relative;
  padding: 10px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

/* ================================ 
   🌟 BOTÓN ELIMINAR (ICONO)
   ================================ */
.btn-eliminar-examen {
  position: absolute;
  top: 6px;
  right: 6px;
  background: transparent;
  color: #ff0044;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
}

.btn-eliminar-examen:hover {
  color: #cc0037;
}

/* ================================ 
   🌟 TEXTO DE LOS ÍTEMS
   ================================ */
.examen-nombre {
  font-weight: bold;
  color: white;
}

.examen-detalle {
  color: #bbb;
}

.examen-fecha {
  color: #ccc;
  font-size: 0.9rem;
}

/* ================================ 
   🌟 INPUT NUMÉRICO
   ================================ */
.examen-item input[type="number"] {
  padding: 4px 6px;
  border-radius: 4px;
  border: none;
  width: 80px;
  font-weight: bold;
  background: #555;
  color: white;
  text-align: center;
}

.examen-item input[type="number"]:focus {
  background: #666;
}

/* ================================ 
   🌟 BOTÓN ACTUALIZAR
   ================================ */
.btn-actualizar-examen {
  background: #c800ff;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-weight: bold;
  cursor: pointer;
  transition: .2s;
}

.btn-actualizar-examen:hover {
  opacity: 0.85;
}
/* ================================ 
   🌟 AVATARES CON ACTUALIZACIÓN EN TIEMPO REAL
   ================================ */
.contenedor-avatares {
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}



/* Burbuja redonda pequeña sin % - PEGADA AL AVATAR */
.avatarExamen .avatarCalificacion {
    position: absolute;
    top: -12px; /* Pegada al avatar */
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.2s, background-color 0.3s;
}

/* Flecha conectando burbuja con avatar */
.avatarExamen .avatarCalificacion::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 3px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.9) transparent transparent transparent;
    transition: border-color 0.3s;
}


@keyframes pulse {
    0% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
    100% { transform: translateX(-50%) scale(1); }
}




.btnNuevoExamen {
    background: linear-gradient(135deg, #7CCF35, #016630);
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 8px rgba(0,255,0,0.4);
} 