/*** WhatsApp-Fixed ***/

/** TODO: Change whatsapp-fixed class to whatsapp-bar-button
** (also in log-contacts.js) **/
.whatsapp-fixed-overlay {
    position: relative;
    height: 45px;
    line-height: 45px;
    max-width: 70vw;
    margin-left: auto;
    margin-right: auto;
    background-color: #25D366;
    text-align: center;
    border-radius: 15px;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.5);
  }

  /*******************************************/

/*** Floating WhatsApp (icon and bar) */
#whatsapp-icon-overlay {
    position: fixed;
    right: 35px;
    bottom: 35px;
    z-index: 9999;
    display: none;
}

/* Circular button */
.whatsapp-icon-button {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Icon */
.whatsapp-icon-button img {
    width: 35px;
    height: 35px;
}

/***********************************************/

#whatsapp-bar-overlay {
    position: fixed;
    bottom: 15px;
    /* Change next 2 settings together to change button height */
    height: 50px;
    line-height: 50px;
    width: 70vw;
    max-width: 270px;
    /*left: 17vw;*/
    left: 50%;
    transform: translateX(-50%);
    background-color: #25D366;
    text-align: center;
    border-radius: 10px;
    display: none;
    box-shadow: -5px 5px 5px rgba(0, 0, 0, 0.5);
  }

  /** NOTE: whatsapp-bar-button is also used in WhatsApp - Fixed (on treatment pages)  **/
  .whatsapp-bar-button {
    display: block;
  }

.whatsapp-bar-button p {
    color: white;
    font-size: 1.2em;
    font-weight: 600;
  }

  .whatsapp-bar-button img {
    height: 30px;
    width: 30px;
    margin-right: 10px;
  }

