#wr-chat-widget {
  position: fixed;
  bottom: 90px;
  right: 36px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Botón flotante siempre visible */
#wr-button {
  position: relative; /* Para el efecto ripple */
  background: #05243A;
  border: none;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  cursor: pointer;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  overflow: visible;
}

/* Imagen dentro del botón */
#wr-button img {
  width: 40px;
  height: 40px;
}

/* Efecto de eco pulsante alrededor del botón */
#wr-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  background: rgba(37, 211, 102, 0.5);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 2.5s infinite;
  z-index: -1;
  opacity: 0;
}

/* Animación para las ondas */
@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.7;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Hover para el botón */
#wr-button:hover {
  background: #1ebe5b;
}

/* Caja de chat en forma de casa */
#wr-chat-box {
  max-width: 300px;
  margin-bottom: 10px;
  background: transparent;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border-radius: 10px;
  position: relative;
}

/* Contenedor de la casa */
.casa {
  width: 100%;
  max-width: 300px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: sans-serif;
  background: #E4F4FF;
}


/* Cuerpo de la casa */
.cuerpo {
  width: 100%;
  background-color: #FFF;
  padding: 20px 15px;
  border-radius: 20px;
  position: relative;
}


/* Formulario (puerta) */
.formulario {
  margin-top: 10px;
/*  background-color: #73AADC;*/
  border: 0;
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;

  /* Centramos contenido */
  align-items: center;
}

/* Inputs que ocupen todo el ancho del contenedor con máximo */
.formulario input, .formulario textarea {
 margin-top: 10px;
    padding: 8px;
    font-size: 14px;
    border-radius: 20px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid transparent;
    background-color: #DCEDF6;
    transition: 0.2s ease-in-out;
}

.formulario input:focus, .formulario textarea:focus {
    outline: none;
    border-color: #0A5891;
    border-top-color: rgb(10, 88, 145);
    border-right-color: rgb(10, 88, 145);
    border-bottom-color: rgb(10, 88, 145);
    border-left-color: rgb(10, 88, 145);
    box-shadow: 0 0 4px #0A5891;
}

.titulo{
  display: block;
    justify-content: center;
    background: #0A5891;
    color: #FFF;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
    padding: 10px;
}

/* Centrar botones del theme */
.portfolio-filter-item.filters-apply-button {
  display: flex;
  justify-content: center;
  background: #0A5891;
  color:#FFF;
  border-radius: 20px;
  margin-top:10px;
}

.portfolio-filter-item a{

    color:#FFF;
    padding: 10px;
    text-decoration: none;

}

/* Opcional: que los botones tengan un ancho fijo (ajústalo a tu gusto) */
.portfolio-filter-item.filters-apply-button .gem-button {
  min-width: 200px;
  text-align: center;
}

/* Para que el texto del botón quede bien centrado */
.gem-text-button {
  display: inline-block;
  text-align: center;
  width: 100%;
}

/* Botón cerrar (si decides agregarlo luego) */
.cerrar {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  color: #444;
  cursor: pointer;
}