/* ///// WASAP CHAT STYLES /////*/
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: transparent;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  text-align: center;
  line-height: 54px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease-in-out;
  background-image: url('../img/wasapiconomovil.png');
  background-size: cover;
  animation: pulseLogo 2s infinite alternate;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
}
.chat-panel {
  position: fixed;
  bottom: 80px;
  left: 20px;
  width: 350px;
  max-width: 100%;
  height: 400px;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 999999;
}
.chat-header {
  background-color: #25d366;
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 18px;
  font-weight: bold;
}
.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}
.chat-body {
  flex: 1;
  padding: 15px;
  overflow-y: auto;
  background-color: #f8f9fa;
}
.chat-footer {
  padding: 10px 15px;
  display: flex;
  border-top: 1px solid #ddd;
  align-items: center; /* Alinea verticalmente los botones y el input */
}
.chat-footer input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.chat-footer button {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-right: 5px; /* Añade un margen entre los botones */
}
.input-verde {
  border-color: #0CDA15; /* Cambia el color del borde a verde */
}
.input-verde:focus {
  border-color: #0CDA15; /* Mantiene el borde verde al enfocar */
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25); /* Cambia el color de la sombra al enfocar */
}
.message {
  background-color: #e0ffe0;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 10px;
  max-width: 80%;
}
.message.sent {
  background-color: #dcf8c6;
  align-self: flex-end;
}
.message.received {
  background-color: #fff;
  align-self: flex-start;
}
.x-white {
  color: #fff!important;  /* Color blanco en formato hexadecimal */
}

/* Responsivo */
@media (max-width: 993px) {
.chat-panel {
 display: none; /* Oculta el panel de chat en pantallas pequeñas */
}
}

.btn-emote {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 5px 8px; /* Tamaño reducido */
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  font-size: 5px; /* Tamaño de fuente más pequeño */
}
.btn-emote i {
  font-size: 16px; /* Ajusta el tamaño del ícono */
}
.emote-menu {
  display: none;
  position: absolute;
  bottom: 70px; /* Ajusta según la posición del botón */
  left: 0;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}
.emote {
  width: 45px;  
  height: 45px; 
  cursor: pointer;
}

.custom-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-align: center;
  display: none;
}
.custom-alert a {
  background-color: #25d366;
  color: white;
  border: none;
  padding: 10px 5px;
  margin: 10px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
}
.custom-alert a:hover {
  background-color: #1ebe57;
}
.custom-alert button {
  background-color: #a8a7a7;
  color: white;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  border-radius: 5px;
}
.custom-alert-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}
  

/* ///// REDES SOCIALES STYLES /////*/ 
.social-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #5e17eb;
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.social-float:hover {
  transform: scale(1.1);
}

/* Lista de redes sociales */
.social-list {
  position: fixed;
  bottom: 90px;
  right: 26px;
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 999999;
}

.social-list a {
  background-color: #fa9600;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.social-list a:hover {
  transform: scale(1.1);
}

/* Ocultar redes en móviles */
@media (max-width: 767px) {
  .social-float,.social-list {
      display: none !important;
  }
}