
/****************************/
/***** WhatsApp Button ******/
/****************************/

.whatsapp-button {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999 !important;
  transition: background-color 0.3s;
  font-size: 28px;
}

/****************************/
/***** Form Container ******/
/****************************/

#formContainer , #formContainer-serveis {
  display: none;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: black;
  border: 1px solid orange;
  padding: 20px;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  z-index: 9999 !important;
}

#formContainer img {
  width: 20%;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
}

.info-text {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 15px;
  color: white;
}

.form-control {
  font-size: 0.9rem;
  border-radius: 5px;
}

.btn {
  font-size: 0.8rem;
}

.form-group {
  margin-bottom: 10px;
}

.form-check-label {
  color: white;
}

.privacy-link {
  color: #ffc451;
  text-decoration: underline;
}

.privacy-link:hover {
  text-decoration: none;
  color: #ffa733;
}

/****************************/
/***** FAQ Section ******/
/****************************/

.faq-question {
  font-weight: bold;
  font-size: 1rem;
  color: white;
  cursor: pointer;
  margin: 10px 0;
  transition: color 0.3s;
}

.faq-question:hover {
  color: #ccc;
}

.info-text {
  font-size: 0.8rem;
  color: white;
  margin-bottom: 15px;
  display: none;
}

/****************************/
/***** Media Queries ******/
/****************************/

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 40px !important;
    right: 40px !important;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  #formContainer {
    top: 100px !important;
    padding: 5px;
    max-width: 90%;
  }

  #formContainer img {
    width: 20% !important;
  }

  .info-text {
    font-size: 0.75rem;
    margin-bottom: 5px;
  }

  .form-control {
    font-size: 0.8rem;
    padding: 5px;
    height: 30px;
  }

  .btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .faq-question {
    font-size: 0.8rem;
  }

  .privacy-link {
    font-size: 0.75rem;
  }

  #restaurantName,
  #contactPerson {
    font-size: 0.85rem !important;
    padding: 4px 8px !important;
    border-radius: 5px !important;
    border: 1px solid #ccc !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: 30px !important;
    margin-top: 5px !important;
  }
}

@media (max-width: 480px) {
  .whatsapp-button {
    bottom: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  #formContainer {
    top: 0;
    padding: 4px;
  }

  #formContainer img {
    width: 40%;
  }

  .info-text {
    font-size: 0.7rem;
    margin-bottom: 5px;
  }

  .form-control {
    font-size: 0.75rem;
    padding: 4px;
    height: 25px;
  }

  .btn {
    font-size: 0.65rem;
    padding: 5px 10px;
  }

  .faq-question {
    font-size: 0.7rem;
  }

  .privacy-link {
    font-size: 0.7rem;
  }

  #restaurantName,
  #contactPerson {
    font-size: 0.75rem !important;
    padding: 4px 6px !important;
    height: 25px !important;
  }
}
