#chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1;
    width: 72px;
    height: 72px;
    padding: 12px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, #005c48 0%, #008d75 80%);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    animation: ep-pulse 4s ease-in-out 4;
}

@keyframes ep-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(80, 183, 146, 0.8);
  }

  70% {
    transform: scale(1.12);
    box-shadow: 0 0 0 20px rgba(80, 183, 146, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(80, 183, 146, 0);
  }
}

#chatbot-button img {
    width: 30px;
    height: 30px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
#chatbot-button:hover img {
    transform: scale(1.1);
}

#chatbot-popup {
    display: none;
    position: fixed;
    bottom: 0; /* sits to bottom edge */
    right: 0; /* sits to the right edge */
    width: 28%; /* sets the width */
    height: 95%; 
    border: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-radius: 15px 0px 0px 0px; /* rounded top left corner */
    overflow: hidden;
}

#chatbot-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: rgba(0,92,72,0.7);
}

/* chatbot mobile display changes */
@media (max-width: 768px) {
    #chatbot-popup {
        position: fixed;
        left: 3%;
        right: 3%;
        top: 5%;
        bottom: 5%;
        width: auto;
        height: auto;
        max-height: none;
        border-radius: 10px;
        box-shadow: none;
        overflow: hidden;
    }
    #chatbot-prompt {
        bottom: 90px;
        right: 20px !important;
    }
    #chatbot-button {
        width: 72px;
        height: 72px;
    }
    /* Hides the cookie notice on mobile, when the chatbot is open */
    body.chatbot-open .cky-revisit-bottom-left {
        display: none !important;
    }
}

/* Defines chatbot close button styles */
#chatbot-close {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255);
    color: #084874;
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
    cursor: pointer;
    z-index: 9999;
    padding: 0;
    align-items: center;
    justify-content: center;
}

/* Chatbot Prompt styling */
#chatbot-prompt {
  position: fixed;
  bottom: 102px; /* sits above your button */
  right: 24px;
  background: #f6fbfb;
  color: #2b2b2b;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 9999;
  max-width: 220px;
    font-family: "Exo2", Lato;
    text-align: right;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

#chatbot-prompt::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 25px;
    width: 16px;
    height: 16px;
    background: #f6fbfb;
    transform: rotate(45deg);
}

#chatbot-prompt.show {
  opacity: 1;
  transform: translateY(0);
}

/* Chatbot red notification style */
#chatbot-badge {
position: absolute;
top: -6px;
right: -6px;
width: 22px;
height: 22px;
border-radius: 50%;
background: #e53935;
color: #fff;
font-family: "Exo2", sans-serif;
font-size: 12px;
font-weight: 700;
display: none;
align-items: center;
justify-content: center;
line-height: 1;
z-index: 2;
}

/* text style on the button */
#chatbot-label {
    margin-top: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #f7f7f7;
    font-family: "Exo2";
}