/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-bubble {
	position: fixed;
	bottom: 120px; /* MÁS ARRIBA que el chatbot */
	right: 20px;
	width: 60px;
	height: 60px;
	background-color: #25D366;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 30px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.3);
	z-index: 999;
	transition: all 0.3s ease;
	text-decoration: none;
}

.whatsapp-bubble:hover {
	transform: scale(1.1);
	box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* ===== CHATBOT CONTAINER ===== */
.chat-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
}

/* ===== BURBUJA ===== */
.chat-bubble {
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.chat-bubble img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

/* ===== CAJA CHAT ===== */
.chat-box {
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  position: absolute;
  bottom: 80px;
  right: 0;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

/* ===== HEADER ===== */
.chat-header {
  background: #25D366;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.chat-header div {
  flex: 1;
  margin-left: 10px;
}

.chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

/* ===== BODY ===== */
.chat-body {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  background: #f1f1f1;
}

.message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 75%;
  font-size: 14px;
}

.message.bot {
  background: #e0e0e0;
}

.message.user {
  background: #25D366;
  color: white;
  margin-left: auto;
}

/* ===== FOOTER ===== */
.chat-footer {
  display: flex;
  border-top: 1px solid #ddd;
}

.chat-footer input {
  flex: 1;
  border: none;
  padding: 10px;
  outline: none;
}

.chat-footer button {
  background: #25D366;
  border: none;
  color: white;
  padding: 0 15px;
  cursor: pointer;
}

/* ===== RESPONSIVE CELULAR (CORREGIDO) ===== */
@media (max-width: 480px) {

  .chat-container {
    bottom: 30px;
    right: 20px;
    /* Evita que el contenedor sea más grande que la burbuja */
    width: 60px; 
    height: 60px;
  }

  .chat-bubble {
    width: 85px;
    height: 85px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    border: 3px solid white;
  }

  .chat-bubble img {
    width: 55px; /* Un poco más grande para que se vea mejor */
    height: 55px;
  }

  .chat-box {
    /* Ajuste para que no ocupe toda la pantalla y parezca burbuja */
    width: 92vw;         
    height: 75vh;        
    max-width: 85vw;    /* No deja que pase del 85% del ancho del celular */
    max-height: 60vh;   /* No deja que pase del 60% del alto */
    right: 0;
    bottom: 110px;       /* Distancia sobre la burbuja */
    border-radius: 15px;
    position: absolute;
  }

  /* ELIMINAMOS EL SEGUNDO BLOQUE QUE PONÍA 100vw y 100vh */
}

.bot-text {
    margin-bottom: 8px; /* separa texto de botones */
}

.botones-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.boton-reserva {
    padding: 8px 15px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    text-align: center;
}

.boton-reserva:hover {
    background-color: #128C7E;
}