

/* Button used to open the chat form - fixed at the bottom of the page */
.open-button {
    background-color: #01359c !important;
    padding: 0px 0px;
    border: none;
    cursor: pointer;
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 70px;
    transition: background-color 0.3s;
    border-radius: 60%;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 40px;
    z-index: 1000;
}

/* The popup chat - hidden by default */
.chat-popup {
  position: fixed;
  bottom: 23px;
  right: -320px; /* Start off screen to the right */
  border: 3px solid #f1f1f1;
  z-index: 9;
  width: 300px;
  background-color: white;
  transition: right 0.3s ease-out;
  overflow: hidden;
  max-height: 0;
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.chat-popup.visible {
  right: 28px; /* Slide in from right */
  max-height: 500px;
  padding: 10px;
}

/* Add styles to the form container */
.form-container {
  width: 100%;
}


/* Full-width textarea */
.form-container textarea {
  width: 100%;
  padding: 15px;
  margin: 5px 0 22px 0;
  border: none;
  background: #f1f1f1;
  resize: none;
  border-radius: 10px;
}

/* Full-width textarea */
.form-container input {
    width: 100%;
    margin: 5px 0 5px 0;
    border: none;
    background: #f1f1f1;
    resize: none;
    border-radius: 7px;
  }

/* When the textarea gets focus, do something */
.form-container textarea:focus {
  background-color: #ddd;
  outline: none;
}

/* When the textarea gets focus, do something */
.form-container input:focus {
    background-color: #ddd;
    outline: none;
  }

/* Set a style for the submit/send button */
.form-container .btn {
    background-color: #04AA6D;
    color: white;
    padding: 9px 10px;
    border: none;
    cursor: pointer;
    width: 48%;
    margin-bottom: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
    border-radius: 7px;
}

/* Add a red background color to the cancel button */
.form-container .cancel {
  background-color: red;
}

/* Add some hover effects to buttons */
.form-container .btn:hover, .open-button:hover {
  opacity: 1;
}

@media (max-width:576px) {
    .open-button {
        bottom: 25px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important; 
        font-size: 40px !important;
    }
}