/* ==========================================================
   FORMULARIO FLOTANTE CONTACTO AGENCY VEO
   ========================================================== */

/* === BOTÓN FLOTANTE === */
#ffca-chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: #fecc20;
  color: #000;
  font-size: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s;
  z-index: 10000;
}

#ffca-chat-button:hover {
  transform: scale(1.05);
}

/* === CAJA DEL FORM === */
#ffca-chat-box {
  display: none;
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  font-family: Arial, sans-serif;
  z-index: 10000;
  max-height: 500px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* === RESPONSIVE === */
@media (max-width: 480px) {
  #ffca-chat-box {
    width: 90%;
    right: 5%;
    bottom: 70px;
    max-height: 70vh;
  }
}

/* === HEADER === */
.ffca-chat-header {
  background: #fecc20;
  color: white;
  padding: 12px 15px;
  font-weight: bold;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.ffca-chat-header button {
  background: none;
  border: none;
  color: white;
  font-size: 18px;
  cursor: pointer;
}

/* === BODY === */
.ffca-chat-body {
  padding: 15px;
  font-size: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* === Contenedor scrollable === */
.ffca-form-container {
  flex: 1;
  max-height: 220px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Scroll personalizado */
.ffca-form-container::-webkit-scrollbar {
  width: 6px;
}
.ffca-form-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}
.ffca-form-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.ffca-form-container::-webkit-scrollbar-thumb:hover {
  background: #999;
}

/* === FORMULARIO === */
#ffca-chat-box form.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#ffca-chat-box form.wpcf7-form label {
  font-size: 12px;
  color: #333;
}

#ffca-chat-box form.wpcf7-form input,
#ffca-chat-box form.wpcf7-form textarea {
  width: 100% !important;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 12px;
}

#ffca-chat-box form.wpcf7-form textarea {
  height: 60px !important;
  resize: vertical;
}

#ffca-chat-box form.wpcf7-form input[type="submit"] {
  background: #02225a;
  color: #fff;
  padding: 8px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
}

#ffca-chat-box form.wpcf7-form input[type="submit"]:hover {
  background: #fecc20;
  color: #000;
}

/* === MENSAJE DE GRACIAS === */
#ffca-thank-you {
  display: none;
  text-align: center;
  padding: 15px;
}

#ffca-thank-you i {
  color: #28a745;
  font-size: 40px;
  margin-bottom: 10px;
}

#ffca-thank-you p {
  font-size: 14px;
  color: #333;
}
 padding: 15px;
}

#ffca-thank-you i {
  color: #28a745;
  font-size: 40px;
  margin-bottom: 10px;
}

#ffca-thank-you p {
  font-size: 14px;
  color: #333;
}
 padding: 15px;
}

#ffca-thank-you i {
  color: #28a745;
  font-size: 40px;
  margin-bottom: 10px;
}

#ffca-thank-you p {
  font-size: 14px;
  color: #333;
}
