.panel.in {
    right: 0;
}

.panel {
    background: #f4f5f5;
    position: fixed;
    top: 0;
    bottom: 0;
    right: -900px;
    width: 600px;
    box-shadow: 1px 9px 9px 4px #00000029;
    border-left: 1px solid #F5F5F5;
    transition: right 0.5s;
    flex-direction: column-reverse
}

.panel-header {
    display: flex;
    justify-content: space-between;
    position: relative;
    background: white;
    padding: 24px;
    border-bottom: 2px solid #afe3e4;
}

.panel-header-button {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.refresh-button-img {
    background-image: url('../images/buttons/restart.png');
    vertical-align: middle;
    padding-left: 40px;
    font-family: "din-2014", sans-serif;
}

.close-button-img {
    background-image: url('../images/buttons/close.png');
    width: 30px;
}

#webchat {
    position: absolute;
    top: 74px;
    bottom: 0;
    right: 0;
    left: 0;
    border: none;
}

#webchat .ac-horizontal-separator {
    height: 0 !important;
}

#webchat .ac-container {
    min-width: 250px;
}

#webchat .webchat__bubble__content > div {
    padding: 8px;
    height: 100%;
}

#webchat .webchat__bubble__content p {
    padding: 8px;
    margin: 0;
}

#webchat p > a {
    color: #00909f;
}

#webchat button {
    outline: none;
}

#webchat .message p {
    font-family: "din-2014", sans-serif;
    font-size: 16px;
    line-height: 24px;
}

#webchat .ac-pushButton {
    border: 1px solid #4ECDC4;
    border-radius: 2px;
    font-size: 14px;
    font-family: "din-2014", sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: black;
}

#webchat .ac-pushButton:hover, #webchat .ac-pushButton:focus {
    color: #db3527;
}

#webchat button.ac-pushButton.past {
    opacity: 0.2;
    cursor: not-allowed;
}

#webchat button.ac-pushButton.past.selected-button {
    background-color: #E7F8F9;
    opacity: 1;
    color: #db3527;
}

div.css-y1c0xs {
    scroll-behavior: smooth;
}

.bubble {
    padding: 0 8px;
}

.bubble .webchat__bubble__content {
    border-radius: 6px !important;
}

.bubble .webchat__bubble__content:before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    top: 8px;
    border-top: none;
    border-right: none;
    border-bottom: 1px solid;
    border-left: 1px solid;
}

.bubble .webchat__bubble__content:before {
    left: 3px;
    background: white;
    border-color: #B7B7B7;
    transform: rotate(45deg);
}

.bubble.from-user .webchat__bubble__content:before {
    left: unset;
    right: 3px;
    transform: rotate(-135deg);
    background: #e7f8f9;
    border-color:#4ECDC4;

}

@media screen and (max-width: 850px) {
    .panel.in {
        width: 100%;
    }
}
