:root {
    --eswButtonBottom: 9px;
    --eswButtonRight: 20px;
}

.embeddedMessagingConversationButtonWrapper .embeddedMessagingConversationButton {
    width: 47px !important;
    height: 150px !important;
    background-color: transparent !important;
    box-shadow: none;
    bottom: 100px;
    right: 0px;
    border-radius: 4px;
}

.embeddedMessagingConversationButtonWrapper .embeddedMessagingConversationButton:has(.embeddedMessagingIconMinimize) div.embeddedMessagingIconContainer::after {
    display: none;
}

.embeddedMessagingConversationButtonWrapper .embeddedMessagingConversationButton div.embeddedMessagingIconContainer > svg.embeddedMessagingIconChat {
    display: none;
}

.embeddedMessagingConversationButtonWrapper .embeddedMessagingLoadingSpinner {
    display: none;
}

.embeddedMessagingConversationButtonWrapper .embeddedMessagingConversationButton div.embeddedMessagingIconContainer::after {
    content: " ";
    height: 150px;
    width: 47px;
    background: url(../images/Five9Icon.svg);
    background-size: 100%;
    background-position: center;
    display: inline-block;
    position: relative;
    background-repeat: no-repeat;
}

.embedded-messaging > .embeddedMessagingFrame[class~="isMinimized"] {
    border-radius: 4px !important;
    height: 150px;
    width: 47px;
    right: 0px;
    bottom: 100px;
}

.embedded-messaging > .embeddedMessagingFrame[class~="hasMinimizedNotification"]:not(.isMaximized) {
    height: 150px;
    width: 470px;
}

/* Adds padding to the right and bottom sides of ESD, changes corner radius */
@media only screen and (min-width: 48em) {
    .embedded-messaging > .embeddedMessagingFrame[class~="isMaximized"] {
        bottom: 20px !important;
        right: 20px !important;
    }
    .embeddedMessagingFrame {
        border-radius: 10px 10px 0 10px !important;
    }
}