.open_chat_widget {
    background-color: var(--color-accent);
    padding: 10px 30px;
    border-radius: 10px;
    margin-right: 40px;
    color: #fff;
    cursor: pointer;
}

.widget_base {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 40px;
    width: var(--widget-width);
    height: var(--widget-height);
    z-index: 99; /* set a high z-index to ensure it appears on top of other elements */
}

.widget_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 31px;
    justify-content: space-between;
    border: 3px solid var(--color-light);
}

.widget_header {
    height: 60px;
    background-color: #fff;
    width: var(--widget-width);
    border-radius: 30px 30px 0 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-light);
    background-color: var(--color-extra-light);
}

.widget_logo {
    height: 40px;
    margin-left: 30px;
}

.widget_options {
    margin-right: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.widget_header_icon {
    font-size: 26px;
    color: var(--color-accent);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: ease-in-out 0.3s;
}

.widget_header_icon:hover {
    background-color: var(--color-accent-light);
}

.widget_main {
    height: 80%;
    width: var(--widget-width);
    background-color: #fff;
}

.widget_chat_container {
    width: 95%;
    height: calc(100% - 12px);
    overflow-y: scroll;
    overflow-x: hidden;
    margin: auto;
    display: flex;
    flex-direction: column-reverse;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 15px;

}

.widget_user_message_container {
    width: 90%;
    margin-bottom: 14px;
    margin-left: 30px;
}

.widget_user_message_order {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.widget_user_message {
    background: var(--color-accent);
    padding: 16px 22px;
    border-radius: 12px 12px 0px 12px;
    color: #fff;
    margin-bottom: 4px;
    margin-top: 14px;
    text-align: right;
    width: fit-content;
    font-size: 14px;
}

.widget_user_message_date {
    font-size: var(--font-s);
    text-align: right;
    margin-right: 10px;
    color: var(--color-accent);
}

.widget_response_message_container {
    width: 90%;
    margin-bottom: 14px;
    margin-right: 30px;
}

.widget_response_message {
    background-color: var(--color-light);
    padding: 16px 22px;
    border-radius: 12px 12px 12px 0px;
    color: var(--color-medium);
    margin-bottom: 4px;
    text-align: left;
    width: fit-content;
    font-size: 14px;
}

.widget_response_message_date {
    font-size: var(--font-s);
    text-align: left;
    color: #b2b2b2;
    margin-left: 10px;
}

.widget_response_message_order {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.widget_response_message_additional_info {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.button_refference {
    color: var(--color-accent);
    cursor: pointer;
    margin-right: 10px;
}

.button_refference_text {
    font-size: var(--font-s);
    margin-right: 6px;
    font-weight: bold;
}

.button_refference_icon {
    font-size: 14px;
}

.widget_footer {
    height: 60px;
    background-color: var(--color-extra-light);
    width: var(--widget-width);
    border-radius: 0 0 30px 30px;
    border-top: 1px solid var(--color-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.widget_chatbox_container {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    height: fit-content;
    width: 90%;
    border-radius: 10px;
    border: 1px solid var(--color-light);
}

.widget_input_chatbox_container {
    padding: 14px;
    background-color: transparent;
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    color: var(--color-dark);
}

.widget_chatbox_button_send {
    margin-right: 14px;
    font-size: 24px;
    color: var(--color-accent);
    cursor: pointer;
    background-color: transparent;
    padding: 4px 6px;
    border-radius: 4px;
    transition: ease-in-out 0.3s;
}

.widget_chatbox_button_send:hover {
    background-color: var(--color-accent-light);
}

.refference_indicator {
    background-color: var(--color-accent);
    height: 16px;
    width: 16px;
    font-size: var(--font-xs);
    border-radius: 50%; /* Make it a circle */
    color: var(--color-accent-light);
    margin-left: 4px;
    margin-right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.dots-container {
    width: fit-content;
    margin-top: 20px;
    transform: translateY(-50%);
    background-color: var(--color-light);
    display: flex;
    padding: 8px 16px;
    border-radius: 20px 20px 20px 0;
  }

  .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-accent);
    margin: 0 4px;
    animation: pulseAnimation 2s infinite;
  }

  .dot:nth-child(2) {
    animation-delay: 0.2s; /* Delay the animation for the second dot */
  }

  .dot:nth-child(3) {
    animation-delay: 0.4s; /* Delay the animation for the third dot */
  }

    @keyframes pulseAnimation {
      0%, 100% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.3);
      }
    }



#scrollButton {
    display: none;
    position: absolute;
    bottom: 75px;
    right: 45%;
    padding: 4px;
    font-size: 36px;
    z-index: 200; /* Ensure the button is above the content */
    background: var(--color-light);
    border-radius: 40px;
    color: var(--color-accent);
    cursor: pointer;
}

#hidden-paragraph {
    display: none;
    border: 3px solid var(--color-light);
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--color-dark);
    margin-top: 6px;
    width: calc(95% - 20px);
}

.refferences_title {
    color: var(--color-accent);
    font-weight: bold;
    margin-bottom: 20px;
    margin-top: 10px;
}

.refference_text {
    margin-bottom: 10px;
}