@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500;700&display=swap");

    /* Botón flotante principal */
    .action {
      position: fixed;
      bottom: 20px;
      left: 20px;
      width: 50px;
      height: 50px;
      background: #4db661;
      border-radius: 50%;
      cursor: pointer;
      box-shadow: 3px 5px 5px rgba(0, 0, 0, 0.1);
      z-index: 9999; /* Aseguramos que el botón flotante tenga un z-index alto */
    }

    .action span {
      display: flex;
      justify-content: center;
      align-items: center;
      width: 100%;
      height: 100%;
      color: white;
      font-size: 2em;
      transition: 0.3s ease-in-out;
    }

    .action.active span {
      transform: rotate(0deg);
    }

    /* Lista de opciones */
    .action ul {
      position: absolute;
      bottom: 65px;
      left: 0;
      background: #f1f1f1;
      min-width: 300px;
      padding: 20px;
      border-radius: 20px;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
      color: #464646;
      pointer-events: none; /* Deshabilitado cuando el menú no está activo */
      z-index: 9998; /* Aseguramos que el menú también tenga un z-index alto */
      border: 2px solid navy; /* Añadimos un borde para verificar si el área es visible */
    }

    .action.active ul {
      opacity: 1;
      visibility: visible;
      pointer-events: auto; /* Habilitado cuando el menú está activo */
    }

    .action ul li {
      list-style: none;
      display: flex;
      align-items: center;
      padding: 10px 0;
      cursor: pointer;
      transition: 0.3s;
    }

    .action ul li:hover {
      font-weight: 600;
      color: #4db661; /* Cambio de color al hacer hover */
    }
    .action ul .contactos:hover {
      font-weight: 600;
      color: #4d58b6; /* Cambio de color al hacer hover */
    }

    .action ul li:not(:last-child) {
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .action ul li i {
      margin-right: 10px;
      opacity: 0.6;
    }

    .action ul li:hover i {
      opacity: 1;
    }

    /* Estilos específicos para los íconos */
    .action ul li a.fb-icon {
      color: #0062e0;
    }

    .action ul li a.tw-icon {
      color: #00acee;
    }

    .action ul li a.ig-icon {
      color: #eb28a0;
    }

    .action ul li a.pin-icon {
      color: #25d366;
    }

    .action ul li a.in-icon {
      color: #0e76a8;
    }

    /* Eliminar el subrayado de los enlaces */
    .action ul li a {
      text-decoration: none;
    }