html,
body {
    height: 100%;
    padding: 0;
    margin: 0;
}

@media (min-width: 576px) {
    .center-webchat [data-cognigy-webchat] {
        position: fixed;

        left: 50%;
        top: 50%;

        width: 480px;
        height: 640px;

        margin-left: -240px;
        margin-top: -320px;
    }

    .center-webchat [data-cognigy-webchat-toggle] {
        display: none !important;
    }

    .center-webchat [data-header-close-button] {
        display: none !important;
    }
}

@media (max-width: 576px) {
    #webchatWindow {
    overflow: auto !important;
    }
}

button.webchat-input-persistent-menu-item {
    display: block;
    position: relative;
    background-color: transparent;
    outline: none;
    cursor: pointer;
    text-align: left;
    color: rgba(0, 0, 0, 0.87);
    padding: 8px 24px;
    margin: 8px;
    border-radius: 16px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.12);
    border-width: 1px;
}

[data-cognigy-webchat-root] .webchat-buttons-template-root {
    flex-grow: 1;
}

[data-cognigy-webchat-root] #loginSuggestion p.intro-text {
    padding-bottom: 10px !important;
}

.bottom-webchat [data-cognigy-webchat-root] div#webchatIntro .intro-text,
.bottom-webchat  [data-cognigy-webchat-root] div#webchatIntro ul {
    margin: 0px;
    padding: 0px 0px 10px;
}

.bottom-webchat [data-cognigy-webchat-root] div#webchatIntro {
    margin: 0px;
    padding: 20px 20px 10px 20px;
}

.center-webchat [data-cognigy-webchat-root] div#webchatIntro .intro-text,
.center-webchat  [data-cognigy-webchat-root] div#webchatIntro ul {
    margin: 0px;
    padding: 0px 0px 20px;
}

.center-webchat [data-cognigy-webchat-root] div#webchatIntro {
    margin: 0px;
    padding: 20px;
}

[data-cognigy-webchat-root] div:has(#webchatGetStartedButton){
    min-height: auto;
}

#webchatIntro p.intro-text:nth-child(3) {
    padding-bottom: 10px !important;
}

[data-cognigy-webchat-root] div#webchatIntro ul li{
    display: flex;
}

.hide-webchat-bar [data-cognigy-webchat-root] .webchat-header-bar {
    display: none !important;
}

[data-cognigy-webchat-root] .regular-message.agent {
    background: white !important;
    color: rgba(0,0,0,0.95) !important;
}

[data-cognigy-webchat-root] button.webchat-quick-reply-template-reply b {
    font-weight: bold;
}

.center-webchat .webchat-homescreen-close-button {
    display: none !important;
}

.center-webchat .webchat-header-minimize-button {
    display: none !important;
}
@media (min-width: 576px) {
    #webchatWindow.custom-size-chat-window {
        top: auto;
        bottom: auto;
        margin-left: auto;
        margin-right: auto;
        margin-top: auto;
        margin-bottom: auto;
        left: auto;
        right: auto;
        place-self: anchor-center;
        min-width: 480px;
        min-height: 640px;
    }
}