.floating-wpp {
    position: fixed;
    bottom: 15px;
    left: 15px;
    font-size: 14px;
    transition: bottom 0.2s;
    z-index: 1021;
}

.floating-wpp .floating-wpp-button {
    position: relative;
    border-radius: 50%;
    box-shadow: 1px 1px 4px rgba(60, 60, 60, 0.4);
    transition: box-shadow 0.2s;
    cursor: pointer;
    overflow: hidden;
}

.floating-wpp .floating-wpp-button img,
.floating-wpp .floating-wpp-button svg {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    border-radius: 50%;
}

.floating-wpp:hover .floating-wpp-button {
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.4);
}

.floating-wpp .floating-wpp-popup {
    /*border: 2px solid white;*/
    border-radius: 8px;
    background-color: #e5ddd5;
    position: absolute;
    overflow: hidden;
    padding: 0;
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
    width: 0px;
    height: 0px;
    bottom: 0;
    opacity: 0;
    transition: bottom 0.1s ease-out, opacity 0.2s ease-out;
    transform-origin: bottom;
}

.floating-wpp .floating-wpp-popup.active {
    padding: 0 15px 12px 15px;
    width: 280px;
    height: auto;
    bottom: 82px;
    opacity: 1;
}

.floating-wpp .floating-wpp-popup .floating-wpp-message {
    background-color: white;
    padding: 8px;
    border-radius: 7.5px 7.5px 7.5px 7.5px;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s;
    max-width: 100%;
}

.floating-wpp .floating-wpp-popup.active .floating-wpp-message {
    opacity: 1;
    transition-delay: 0.2s;
}

.floating-wpp .floating-wpp-popup .floating-wpp-head {
    text-align: left;
    color: white;
    margin: 0 -15px 15px -15px;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.floating-wpp-headName {
    margin: 0;
}

.floating-wpp .floating-wpp-popup .floating-wpp-head .close {
    position: absolute;
    top: 14px;
    right: 8px;
    color: #ffffff;
    text-shadow: none;
    opacity: 1;
    font-size: inherit;
}

.floating-wpp .floating-wpp-input-message {
    background-color: #e5ddd5;
    margin: 5px -15px -15px -15px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.floating-wpp .floating-wpp-input-message textarea {
    border: 1px solid #ffffff;
    border-radius: 21px;
    box-shadow: none;
    padding: 8px 12px;
    margin: 10px 0 15px 0;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    resize: none;
    outline: none;
    color: #4a4a4a;
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
    visibility: visible !important;
    animation-delay: 0s;
    animation-duration: 0s;
}

.floating-wpp .floating-wpp-btn-send {
    margin: 10px 0 15px 12px;
    font-size: 0;
    cursor: pointer;
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
    border-radius: 50%;
}

.floating-wpp .floating-wpp-message.aval-chatbot {
    display: grid;
    gap: 9px;
    max-height: 340px;
    overflow-y: auto;
    background: transparent;
    padding: 0;
    box-shadow: none;
}

.aval-chatbot-intro,
.aval-chatbot-response,
.aval-chatbot-user {
    padding: 9px 10px;
    border-radius: 8px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.aval-chatbot-intro,
.aval-chatbot-response {
    background: #ffffff;
    box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.12);
}

.aval-chatbot-user {
    justify-self: end;
    max-width: 88%;
    background: #dcf8c6;
}

.aval-chatbot-question {
    padding: 2px 1px;
    font-weight: 700;
}

.aval-chatbot-schedule {
    padding: 8px 9px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.aval-chatbot-schedule.is-open {
    background: #dff2e7;
    color: #185b38;
}

.aval-chatbot-schedule.is-closed {
    background: #fff0d6;
    color: #7a4b05;
}

.aval-chatbot-choices,
.aval-chatbot-actions {
    display: grid;
    gap: 6px;
}

.aval-chatbot-choices button,
.aval-chatbot-actions button {
    width: 100%;
    padding: 9px 10px;
    border: 1px solid #39847a;
    border-radius: 8px;
    background: #ffffff;
    color: #285f57;
    font: 700 13px/1.3 Arial, sans-serif;
    cursor: pointer;
}

.aval-chatbot-actions .aval-chatbot-human {
    background: #39847a;
    color: #ffffff;
}

.aval-chatbot-actions button:hover,
.aval-chatbot-actions button:focus {
    filter: brightness(.96);
    outline: 2px solid rgba(57, 132, 122, .3);
}

.aval-chatbot-actions button:disabled {
    cursor: default;
    opacity: .75;
}

.aval-chatbot-keyword-entry {
    display: flex;
    gap: 6px;
}

.aval-chatbot-keyword-entry input {
    min-width: 0;
    flex: 1;
    padding: 9px 10px;
    border: 1px solid #39847a;
    border-radius: 8px;
    background: #ffffff;
    color: #222222;
    font: 13px/1.3 Arial, sans-serif;
}

.aval-chatbot-keyword-entry button {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    border: 0;
    border-radius: 8px;
    background: #39847a;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.aval-chatbot-keyword-entry input:focus,
.aval-chatbot-keyword-entry button:focus {
    outline: 2px solid rgba(57, 132, 122, .35);
    outline-offset: 1px;
}

.aval-chatbot-no-match {
    padding: 8px 9px;
    border-radius: 8px;
    background: #fff0d6;
    color: #704709;
    font-size: 12px;
    line-height: 1.4;
}
