.DeepChatApp {
    font-family: inherit;
    text-align: center;
    justify-content: center;
    display: grid;
}

#deepchat-container {
    position: fixed;
    right: 1.3em;
    bottom: 1.3em;
    transform: scale(0);
    transform-origin: 100% 100%;
    transition: ease-in-out;
    transition: transform 0.3s ease 0.05s, opacity 0.2s ease; 
    max-width: 320px;
    opacity: 0;
    z-index: 998;
}

#chat-header {
    background-color: #0095d6;
    border-radius: 10px 10px 0px 0px;
}

.dc-header {
    align-items: flex-start;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    padding: 0.75em 1em;
}

.dc-header-text {
    color: #fff;
    text-align: left;
}

.dc-header-text h4 {
    color: #fff !important;
    margin: 0 !important;
}

.dc-header-text p {
    margin: 0.5em 0;
}

.dc-header svg {
    height: 10px;
    width: 10px;
}

#close-button {
    color: #fff;
    cursor: pointer;
    transition: color 0.3s ease;
}

#close-button:hover {
    color: #003750;
}

#open-button {
    background-color: #ff472d;
    border: 0;
    border-radius: 1em;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 2px 5px;
    color: #fff;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-family: inherit;
    opacity: 1;
    padding: 1em;
    position: fixed;
    right: 1.3em;
    bottom: 1.3em;
    transition: background-color 0.3s ease, opacity 0.2s ease;
}

#open-button:hover {
    background-color: #d5250c;
}

#open-button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

#open-button svg {
    width: 30px;
}

#open-button span {          
    font-size: 1.25em;
    font-weight: 500;
    margin-left: 0.5em
}

#dc-app.is-active #deepchat-container {
    opacity: 1;
    transform: scale(1);
    transition: transform 0.3s ease, opacity 0.2s ease 0.05s; 
}

#dc-app.is-active #open-button {
    opacity: 0;
}

@media screen and (max-width: 720px) {
    #open-button span {
        display: none;
    }
}

@media screen and (max-width: 400px) {
    #deepchat-container {
        right: 0.25em;
        bottom: 1em;
    }
}