
/* Estilos del widget de chat */
.eaae-chat-widget{
  max-width:640px;
  margin:16px auto;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.08);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;
  background:#ffffff;
}
.eaae-chat-header{
  background:#000000;
  color:#ffffff;
  padding:12px 16px;
  border-bottom:2px solid #11F4AE;
}
.eaae-chat-title{
  font-size:18px;
  font-weight:600;
}
.eaae-chat-subtitle{
  font-size:13px;
  opacity:0.9;
}
.eaae-log{
  padding:12px 16px;
  height:180px !important;
  overflow-y:auto;
  background:#f7f8fa;
}
.eaae-line{
  margin-bottom:8px;
  font-size:14px;
  color: #000 !important;
}
.eaae-chat-input-row{
  display:flex;
  gap:8px;
  padding:8px 12px;
  border-top:1px solid #e1e4ea;
  background:#ffffff;
}
.eaae-input{
  flex:1;
  padding:8px;
  border-radius:999px;
  border:1px solid #cfd3dc;
  font-size:14px;
}
.eaae-send-btn{
  border:none;
  border-radius:999px;
  padding:8px 16px;
  background:#11F4AE;
  color:#000;
  font-size:14px;
  cursor:pointer;
  font-weight:600;
}
.eaae-send-btn:hover{
  filter:brightness(0.95);
}
.eaae-mic-btn{
  border:none;
  border-radius:999px;
  padding:8px 10px;
  background:#000;
  color:#fff;
  cursor:pointer;
}
.eaae-bottom-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:4px 12px 10px;
  background:#ffffff;
  border-top:1px solid #e1e4ea;
}
.eaae-status{
  font-size:12px;
  color:#555;
}
.eaae-wa-btn{
  border:none;
  border-radius:999px;
  padding:6px 12px;
  background:#11F4AE;
  color:#000;
  font-size:12px;
  cursor:pointer;
  font-weight:500;
}
.eaae-wa-btn:hover{
  filter:brightness(0.95);
}

/* Botones sugeridos dentro del chat generados por shortcode [eaae_button] y acciones rápidas */
.eaae-line .eaae-suggest-btn,
.eaae-quick-actions .eaae-suggest-btn{
  display:inline-block;
  margin:4px 6px 4px 0;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid #000;
  background:#fff;
  font-size:12px;
  cursor:pointer;
  transition:background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.eaae-line .eaae-suggest-btn:hover,
.eaae-quick-actions .eaae-suggest-btn:hover{
  background:#000;
  color:#11F4AE;
  border-color:#000;
}

.eaae-quick-actions{
  padding:8px 12px;
  border-bottom:1px solid #f0f0f0;
  background:#fafafa;
}

/* Gate de datos */
.eaae-user-gate{
  padding:10px 12px;
  border-bottom:1px solid #f0f0f0;
  background:#fff9f3;
}
.eaae-user-gate-title{
  font-size:13px;
  font-weight:600;
  margin-bottom:6px;
  color:#000;
}
.eaae-user-gate-row{
  margin-bottom:6px;
}
.eaae-user-gate-row .eaae-input{
  width:100%;
  box-sizing:border-box;
}



/* Launcher flotante */

/* Texto arriba del launcher */
/* Texto a la izquierda del launcher */
.eaae-launcher-text{
  position: absolute;
  right: 70px; /* distancia del botón */
  bottom: 0;
  top: 0; 
  margin: auto;
  height: fit-content;

  background: #000000;
  color: #11F4AE;
  padding: 6px 12px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
}

.eaae-chat-launcher{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:99998;
}
.eaae-launcher-btn{
  width:56px;
  height:56px;
  border-radius:50%;
  border:none;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,0.18);
  font-size:24px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#11f4ae;
  color:#11F4AE;
}
.eaae-launcher-btn.eaae-open{
  background:#11F4AE;
  color:#000000;
}

/* Popup del chat */
.eaae-chat-popup{
  position:fixed;
  bottom:86px;
  right:20px;
  z-index:99999;
  max-width:420px;
  width:100%;
  display:none;
}
.eaae-chat-popup.eaae-open{
  display:block;
}
.eaae-chat-popup .eaae-chat-widget{
  margin:0;
  max-width:100%;
}

/* Responsive mobile */
@media (max-width:600px){
  .eaae-chat-popup{
    right:10px;
    left:10px;
    max-width:none;
    width:auto;
  }
  .eaae-chat-launcher{
    right:10px;
    bottom:10px;
  }
}
