@import url("admin.css");
@import url("catalogo-interaccion.css");
/* arbol-interactivo.css */
.arbol-interactivo {
  position: relative;
  overflow: hidden;
  background-color: #f5f5f5;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.arbol-interactivo .loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  color: #666;
}

/* ESTILOS PARA LOS TEXTOS - Nuevo y muy importante! */
.punto-texto {
  position: absolute;
  z-index: 1000 !important;
  transform: translate(-50%, -50%);
  pointer-events: auto !important;
}

.punto-texto span {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Estilo para textos que tienen hijos (nodos navegables) */
.texto-con-hijos {
  background-color: rgba(52, 152, 219, 0.9);
  color: white;
  transition: all 0.3s;
  cursor: pointer;
}

/* Estilo para textos sin hijos (nodos finales) */
.texto-sin-hijos {
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s;
}

/* Efecto hover para mejor usabilidad */
.punto-texto:hover span {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Estilos específicos para solucionar problemas de visualización */
.arbol-interactivo canvas {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.punto-texto {
  z-index: 100 !important;
}

/* Estilos para título y descripción */
.arbol-titulo {
  margin-top: 15px;
  margin-bottom: 10px;
  text-align: center;
  color: #333;
}

.arbol-descripcion {
  text-align: center;
  margin-bottom: 15px;
  color: #666;
  padding: 0 15px;
}

/* Añade estos estilos al final de arbol-interactivo.css */

/* Estilos forzados para Elementor */
.elementor-widget-shortcode .arbol-interactivo,
.elementor-widget-text-editor .arbol-interactivo,
.elementor .arbol-interactivo {
  min-height: 400px !important;
  height: 600px !important;
  position: relative !important;
  overflow: visible !important;
}

/* elementos puntos */
.elementor .punto-texto,
.elementor-widget-shortcode .punto-texto,
.elementor-widget-text-editor .punto-texto {
  position: absolute !important;
  z-index: 999999 !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  pointer-events: auto !important;
  /* animation: floatAnimation 3s ease-in-out infinite; */
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}

.elementor .punto-texto span,
.elementor-widget-shortcode .punto-texto span,
.elementor-widget-text-editor .punto-texto span {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 16px !important;
  font-weight: bold !important;
  padding: 10px 20px !important;
  border-radius: 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
  pointer-events: auto !important;
}

.elementor .texto-con-hijos,
.elementor-widget-shortcode .texto-con-hijos,
.elementor-widget-text-editor .texto-con-hijos {
  background-color: rgba(52, 152, 219, 0.9) !important;
  color: white !important;
}

.elementor .texto-sin-hijos,
.elementor-widget-shortcode .texto-sin-hijos,
.elementor-widget-text-editor .texto-sin-hijos {
  background-color: rgba(255, 255, 255, 0.9) !important;
  color: #333 !important;
}

/* Forzar visibilidad del botón regresar */
.elementor .boton-regresar,
.elementor-widget-shortcode .boton-regresar,
.elementor-widget-text-editor .boton-regresar {
  position: absolute !important;
  z-index: 999999 !important;
  bottom: 20px !important;
  left: 20px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Garantizar visibilidad del canvas */
.elementor canvas,
.elementor-widget-shortcode canvas,
.elementor-widget-text-editor canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Estilos para el árbol interactivo */

.arbol-interactivo-container {
  position: relative;
  margin: 20px 0;
}

.arbol-interactivo {
  position: relative;
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.arbol-titulo {
  margin-bottom: 10px;
  font-size: 1.5em;
  color: #333;
}

.arbol-descripcion {
  margin-bottom: 15px;
  line-height: 1.4;
}

/* Pantalla de carga */
.loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  color: #333;
}

/* Estilos para los textos de los puntos */
.punto-texto {
  position: absolute;
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}

.texto-con-hijos,
.texto-sin-hijos {
  display: block;
  padding: 5px 10px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  line-height: 1.2;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.texto-con-hijos {
  color: #0066cc;
  font-weight: bold;
}

.texto-sin-hijos {
  color: #666;
}

/* Transición para aparecer/desaparecer */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

.fade-out {
  animation: fadeOut 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

/* Estilos para el admin */
.admin-arbol-canvas {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.admin-arbol-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.admin-arbol-punto {
  position: absolute;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  background-color: rgba(0, 102, 204, 0.7);
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.admin-arbol-punto.activo {
  background-color: #ff4500;
  transform: scale(1.2);
}

.admin-arbol-form {
  max-width: 600px;
  margin-bottom: 30px;
}

.admin-arbol-form > div {
  margin-bottom: 15px;
}

.admin-arbol-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.admin-arbol-form input[type="text"],
.admin-arbol-form select,
.admin-arbol-form textarea {
  width: 100%;
  padding: 8px;
}

.admin-arbol-lista table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-arbol-lista th,
.admin-arbol-lista td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: left;
}

.admin-arbol-lista th {
  background-color: #f2f2f2;
}

.admin-arbol-lista .acciones {
  white-space: nowrap;
}

.admin-arbol-lista .button.editar {
  background-color: #0073aa;
  color: white;
  border-color: #0073aa;
}

.admin-arbol-lista .button.eliminar {
  background-color: #dc3232;
  color: white;
  border-color: #dc3232;
}

/* Estilos para el selector de imagen */
#imagen-selector {
  margin-top: 10px;
}

.imagen-preview {
  margin-bottom: 10px;
}

.imagen-preview img {
  border: 1px solid #ddd;
  padding: 3px;
  background: #fff;
}

/* Mejoras responsivas */
@media screen and (max-width: 782px) {
  .admin-arbol-lista th,
  .admin-arbol-lista td {
    padding: 4px;
    font-size: 13px;
  }

  .admin-arbol-punto {
    width: 16px;
    height: 16px;
    margin-left: -8px;
    margin-top: -8px;
  }
}

/* Añadir estos estilos a tu archivo arbol-interactivo.css */
/* Añadir estos estilos a tu archivo arbol-interactivo.css */

/* Estilos para el overlay de imágenes con efecto inmersivo */
.arbol-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
  background-color: transparent;
  transition: opacity 2s ease-in-out;
  transform-origin: center center;
}

.arbol-overlay img {
  width: 100% !important;
  height: 100% !important;
  /* object-fit: cover; */
  display: block !important;
  transition: transform 2.5s ease-in-out !important;
}
.nivel-0 .punto-texto img {
  max-width: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
}

.nivel-1 .punto-texto img,
.nivel-2 .punto-texto img {
  max-width: 170px !important;
  max-height: 120px !important;
  width: auto !important;
  height: auto !important;
}

.arbol-overlay.modo-contain img {
  object-fit: contain;
}

.arbol-overlay.modo-cover img {
  object-fit: cover;
}

.arbol-overlay.modo-stretch img {
  object-fit: fill;
}

/* Overlay para efectos de transición */
.transition-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 2.5s ease-in-out;
}

/* Efecto de viñeta para reforzar sensación de profundidad */
.arbol-interactivo {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.arbol-interactivo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(
    circle at center,
    transparent 60%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 4;
  opacity: 0.7;
}

/* Mejora para textos de puntos */
.punto-texto {
  z-index: 15 !important;
  pointer-events: auto !important;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.texto-con-hijos,
.texto-sin-hijos {
  transform: translateY(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.texto-con-hijos:hover,
.texto-sin-hijos:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* Botón de regresar mejorado */
.boton-regresar {
  position: absolute;
  /* top: 15px; */
  left: 15px;
  padding: 8px 15px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  z-index: 20;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.boton-regresar:hover {
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

/* Animación de pulso para el botón regresar */
@keyframes pulseButton {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

.boton-regresar {
  animation: pulseButton 2s infinite ease-in-out;
}

/* Ajustes para Elementor y otros constructores de páginas */
.elementor .transition-overlay,
.elementor-widget-shortcode .transition-overlay,
.elementor-widget-text-editor .transition-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 10 !important;
}

/* Añadir estos estilos a tu archivo arbol-interactivo.css */

/* Indicador visual de scroll */
.scroll-indicator {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  z-index: 20;
  pointer-events: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scroll-indicator.visible {
  opacity: 0.8;
  transform: translateY(0);
}

.scroll-indicator .icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid white;
  border-radius: 50%;
  position: relative;
}

.scroll-indicator .icon::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 2px;
  height: 4px;
  background-color: white;
  transform: translateX(-50%);
  animation: scrollAnimate 1.2s infinite;
}

@keyframes scrollAnimate {
  0% {
    top: 3px;
    opacity: 1;
  }

  100% {
    top: 8px;
    opacity: 0;
  }
}

/* Asegurarse de que el contenedor arbol-interactivo no tenga overflow: hidden 
   para permitir capturar eventos de rueda de mouse */
.arbol-interactivo {
  position: relative;
  overflow: visible;
  background-color: #f8f8f8;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes scrollAnimate {
  0% {
    top: 3px;
    opacity: 1;
  }

  100% {
    top: 8px;
    opacity: 0;
  }
}

@keyframes scrollAnimate {
  0% {
    top: 3px;
    opacity: 1;
  }

  100% {
    top: 8px;
    opacity: 0;
  }
}

/* Añadir estos estilos a tu archivo CSS para aumentar el tamaño de la imagen del árbol */

/* Aumentar el tamaño máximo del canvas del árbol */
.admin-arbol-canvas {
  position: relative;
  width: 100%;
  /* max-width: 1000px !important;  */
  margin-bottom: 30px;
  border: 2px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-arbol-canvas img {
  display: block;
  /* width: 100%; */
  height: auto;
}

/* Estilos para puntos mejorados, con colores por nivel */
.admin-arbol-punto[data-nivel="0"] {
  background-color: black !important;
  /* Negro */
  border: 2px solid black;
  animation: pulsate 1.5s infinite alternate;
}

.admin-arbol-punto[data-nivel="1"] {
  background-color: rgba(46, 204, 113, 0.8) !important;
  /* Verde */
  border: 2px solid #fff;
  animation: pulsate 1.5s infinite alternate;
}

.admin-arbol-punto[data-nivel="2"] {
  background-color: rgba(155, 89, 182, 0.8) !important;
  /* Morado */
  border: 2px solid #fff;
  animation: pulsate 1.5s infinite alternate;
}

.admin-arbol-punto[data-nivel="3"] {
  background-color: rgba(241, 196, 15, 0.8) !important;
  /* Amarillo */
  border: 2px solid #fff;
  animation: pulsate 1.5s infinite alternate;
}

.admin-arbol-punto[data-nivel="4"] {
  background-color: rgba(230, 126, 34, 0.8) !important;
  /* Naranja */
  border: 2px solid #fff;
  animation: pulsate 1.5s infinite alternate;
}

.admin-arbol-punto[data-nivel="5"] {
  background-color: rgba(231, 76, 60, 0.8) !important;
  /* Rojo */
  border: 2px solid #fff;
  animation: pulsate 1.5s infinite alternate;
}

/* Efecto de selección para el punto activo */
.admin-arbol-punto.activo {
  transform: scale(1.3);
  animation: pulsate 1.5s infinite alternate;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.7),
    0 0 0 6px rgba(255, 69, 0, 0.5);
  z-index: 100 !important;
}

@keyframes pulsate {
  0% {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7),
      0 0 0 4px rgba(255, 69, 0, 0.5);
  }

  100% {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7),
      0 0 0 8px rgba(255, 69, 0, 0.5);
  }
}

/* Estilos para el panel de filtros */
.admin-arbol-filtros {
  margin-bottom: 20px;
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  align-items: center;
}

.admin-arbol-filtros select {
  min-width: 120px;
  /* padding: 8px; */
  border-radius: 4px;
}

.admin-arbol-filtros label {
  font-weight: bold;
  margin-right: 5px;
}

.admin-arbol-leyenda {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.admin-arbol-leyenda-item {
  display: flex;
  align-items: center;
  margin-right: 15px;
}

.admin-arbol-leyenda-color {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-right: 5px;
  border: 1px solid #fff;
  display: inline-block;
}

/* Opacidad para puntos filtrados/ocultos */
.admin-arbol-punto.filtrado {
  opacity: 0.2;
  pointer-events: none;
}

.punto-creado-indicador {
  margin: 15px 0;
  padding: 12px 15px;
  background-color: #f8f8f8;
  border-left: 4px solid #dc3232;
  /* Rojo para indicar advertencia */
  font-size: 14px;
  line-height: 1.4;
  color: #444;
  transition: all 0.3s ease;
}

.punto-seleccionado {
  border-left: 4px solid #46b450;
  /* Verde para indicar éxito */
  background-color: #f0f9f1;
}

.punto-no-seleccionado {
  border-left: 4px solid #dc3232;
  /* Rojo para indicar error */
  background-color: #fdf7f7;
  animation: pulsate-error 1.5s infinite;
}

@keyframes pulsate-error {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(220, 50, 50, 0);
  }

  50% {
    box-shadow: 0 0 0 5px rgba(220, 50, 50, 0.2);
  }
}

/* Mostrar un cursor tipo crosshair para indicar que se puede hacer clic */
#admin-arbol-canvas img {
  cursor: crosshair !important;
}

/* Mejorar la visibilidad del punto temporal */
#punto-temp {
  animation: highlight-new-point 1.5s infinite alternate;
}

@keyframes highlight-new-point {
  0% {
    transform: scale(1.2) translate(-50%, -50%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.8);
  }

  100% {
    transform: scale(1.5) translate(-33%, -33%);
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
  }
}

/* Estilo para mensajes de error en el formulario */
.notice {
  background: #fff;
  border-left: 4px solid #dc3232;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  margin: 10px 0 20px;
  padding: 1px 12px;
}

.notice p {
  margin: 0.5em 0;
  padding: 2px;
}

.notice-error {
  border-left-color: #dc3232;
}

/* CSS para las notificaciones de autoguardado */

/* Notificaciones flotantes */
.notificacion-flotante {
  position: fixed;
  top: 50px;
  right: 20px;
  padding: 12px 20px;
  border-radius: 4px;
  font-size: 14px;
  color: #fff;
  z-index: 99999;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transform: translateX(120%);
  transition: transform 0.3s ease-out;
  display: flex;
  align-items: center;
  max-width: 300px;
}

.notificacion-flotante.mostrar {
  transform: translateX(0);
}

/* Tipos de notificaciones */
.notificacion-flotante.success {
  background-color: #46b450;
}

.notificacion-flotante.error {
  background-color: #dc3232;
}

.notificacion-flotante.info {
  background-color: #00a0d2;
}

.notificacion-flotante .dashicons {
  margin-right: 8px;
  font-size: 18px;
  width: 18px;
  height: 18px;
}

/* Animación de rotación para icono de carga */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.notificacion-flotante .spin {
  animation: spin 1.5s linear infinite;
}

/* Punto que se está arrastrando */
.admin-arbol-punto.arrastrando {
  opacity: 0.8;
  transform: scale(1.3) !important;
  z-index: 9999 !important;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8), 0 0 10px rgba(0, 0, 0, 0.5) !important;
}

/* Estilos para puntos con imágenes */
.imagen-con-hijos,
.imagen-sin-hijos {
  display: inline-block;
  padding: 5px;
  /* background-color: rgba(255, 255, 255, 0.9); */
  border-radius: 10px;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3); */
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imagen-con-hijos {
  /* border: 2px solid rgba(52, 152, 219, 0.9); */
}

.imagen-sin-hijos {
  border: 1px solid rgba(200, 200, 200, 0.9);
}

.imagen-con-hijos:hover,
.imagen-sin-hijos:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.imagen-con-hijos img,
.imagen-sin-hijos img {
  display: block;
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  border-radius: 5px;
  /* animation: floatAnimation 3s ease-in-out infinite; */
}

/* .indicador-hijos {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(52, 152, 219, 0.9);
  color: white;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
} */

/* Asegurarse que elementos funcionen en Elementor */
.elementor .imagen-con-hijos,
.elementor .imagen-sin-hijos,
.elementor-widget-shortcode .imagen-con-hijos,
.elementor-widget-shortcode .imagen-sin-hijos {
  display: inline-block !important;
  padding: 5px !important;
  position: relative !important;
  z-index: 999999 !important;
  visibility: visible !important;
}

.elementor .imagen-con-hijos img,
.elementor .imagen-sin-hijos img,
.elementor-widget-shortcode .imagen-con-hijos img,
.elementor-widget-shortcode .imagen-sin-hijos img {
  /* display: block !important;
  max-width: 80px !important;
  max-height: 80px !important;
  width: auto !important;
  height: auto !important;
  visibility: visible !important;
  opacity: 1 !important; */
  position: absolute;
  animation: floatAnimation 3s ease-in-out infinite;
  cursor: pointer;
}

@keyframes floatAnimation {
  0%,
  100% {
    transform: translate(-50%, -50%) translateY(0);
  }

  50% {
    transform: translate(-50%, -50%) translateY(-20px);
  }
}
.boton-regresar {
  display: inline-block;
  transition: transform 0.2s ease;
}

.boton-regresar:hover {
  transform: scale(1.1);
}

.boton-regresar .imagen-normal {
  display: block;
}

.boton-regresar .imagen-hover {
  display: none;
}

.boton-regresar:hover .imagen-normal {
  display: none;
}

.boton-regresar:hover .imagen-hover {
  display: block;
}
