/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

/* Whatsapp Button  */

.cro-whatsapp-button {
  position: fixed;
  bottom: 20px;
  background-color: #25d366;
  color: #fff;
  height: 60px;
  width: 60px;
  border-radius: 50%;
  font-size: 20px;
  text-align: center;
  cursor: pointer;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
}

.cro-whatsapp-new-message {
  position: absolute;
  text-align: center;
  line-height: 20px;
  border-radius: 50%;
  background-color: red;
  font-size: 12px;
  font-weight: bold;
  color: white;
  width: 20px;
  height: 20px;
  top: 0px;
  right: 0px;
}

.right {
  right: 20px;
}

.left {
  left: 20px;
}

.cro-whatsapp-button img {
  height: 35px;
  width: 35px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


.whatsapp-chat-consultas {
  display: none;
  position: fixed;
  bottom: 90px;
  /* right: 30px; */
  /* left: 30px; */
  width: 300px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.5s ease-in-out forwards;
  overflow: hidden;
  z-index: 999;
}

.whatsapp-chat-consultas .whatsapp-chat-content {
  padding: 0px 20px 20px 20px;
}

.whatsapp-chat-content {
  display: none;
}


.whatsapp-chat-representantes {
  padding: 10px 20px 20px 20px;
}

.whatsapp-chat-representantes .whatsapp_card {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
  padding: 0px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.whatsapp-chat-representantes .circle {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 100%;
  margin-bottom: 2px;
  margin-right: 6px;
}

#whatsapp-form, #email-form{
  padding: 0px !important;
  margin-top: 0px !important;
}

.whatsapp-chat-representantes .circle.online {
  background-color: #25d366;
}

.whatsapp-chat-representantes .circle.offline {
  background-color: #ff6b6b;
}

.whatsapp-chat-representantes .whatsapp_img {
  width: 50px;
}

.whatsapp-chat-representantes .agent_name{
  font-size: 14px;
}

.whatsapp-chat-representantes .whatsapp_info {
  width: 70%;
  padding-left: 10px;
}

.whatsapp-chat-representantes img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.whatsapp-chat-representantes .whatsapp_hablar_ahora {
  display: inline-block;
  font-size: 10px;
  background-color: #25d366;
  border-radius: 12px;
  color: white;
  padding: 4px 8px;
  cursor: pointer;
  line-height: 18px;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 4px;
}

.whatsapp-chat-representantes .whatsapp_card[data-disponible="0"] .whatsapp_hablar_ahora {
  background-color: #6c757d;
}

.whatsapp-chat-consultas .close {
  position: relative !important;
  width: 100% !important;
  background-color: #095e54  !important;
  padding: 5px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  float: none;
  font-weight: inherit;
  line-height: inherit;
  text-shadow: none;
  opacity: 1;
  font-size: 18px;
}

.whatsapp-chat-consultas .close:hover{
  opacity: 1 !important;
}

.whatsapp-chat-consultas .close-btn {
  cursor: pointer !important;
  color: #fff !important;
  font-size: 25px;
}

.whatsapp-chat-consultas .close .text-side {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-chat-consultas .close .button-side {}

.whatsapp-chat-consultas .close img {
  height: 40px;
  width: 40px;
}

.whatsapp-chat-consultas .close p {
  color: white !important;
  font-size: 14px !important;
  cursor: pointer !important;
  font-weight: normal !important;
  letter-spacing: 0px !important;
  text-transform: none !important;
  padding-bottom: 0px !important;
  font-weight: bold !important;
  margin-bottom: 0 !important;
}

.whatsapp-chat-consultas h5 {
  line-height: normal;
  font-size: 15px;
  padding-bottom: 0;
  margin: 15px 0px;
}

.whatsapp-chat-consultas input,
.whatsapp-chat-consultas textarea,
.whatsapp-chat-consultas button {
  display: block;
  width: 100%;
  margin-bottom: 15px;
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  border-bottom: 1px solid #d6d6d6;
  border-radius: 4px;
  font-family: inherit;
}

.whatsapp-chat-consultas input::placeholder, 
.whatsapp-chat-consultas textarea::placeholder{
  opacity: 1 !important;
  color: #4d4d4d !important;
}

.whatsapp-chat-consultas button {
  background-color: #25d366;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  padding: 12px 20px;
  text-transform: none;
  font-size: 14px;
}

.whatsapp-chat-consultas button:hover {
  background-color: #128c7e;
}

.whatsapp-chat-consultas button:disabled{
  opacity: 0.6;
  cursor: not-allowed;
  background-color: #ccc;
}

.whatsapp-chat-consultas #form-email button {
  background-color: #007bff;
}

.whatsapp-chat-consultas #form-email button:hover {
  background-color: #0056b3;
}

.d-block{
  display: block !important;
}

.d-none{
  display: none !important;
}

.horario-input{
  width: 100px;
}

#whatsapp-chat-consultas.right{
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .whatsapp-chat-consultas {
    width: 280px;
    bottom: 80px;
  }
  
  .whatsapp-chat-consultas.left {
    left: 10px;
  }
  
  .whatsapp-chat-consultas.right {
    right: 10px;
  }
}