﻿body {
    display: flex;
    width: 100vw;
    height: 100vh;
    justify-content: center;
    align-items: center;
    background: transparent;
}

#uwf-chat-button {
    width: 50px;
    height: 50px;
    background-color: #00aeef;
    color: #ffffff;
    font-size: 20px;
    border: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px #000000; /* fallback color */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    /* Border Radius */
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border-radius: 50px;
    /* Animation Name */
    -moz-animation-name: buttonPop;
    -o-animation-name: buttonPop;
    -webkit-animation-name: buttonPop;
    animation-name: buttonPop;
    /* Animation Duration */
    -moz-animation-duration: 0.3s;
    -o-animation-duration: 0.3s;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    /* Animation Delay */
    -moz-animation-delay: 1s;
    -o-animation-delay: 1s;
    -webkit-animation-delay: 1s;
    animation-delay: 1s;
    /* Animation Fill Mode*/
    -moz-animation-fill-mode: forwards;
    -o-animation-fill-mode: forwards;
    -webkit-animation-fill-mode: forwards;
    animation-fill-mode: forwards;
    /* Animation Timing Function */
    -moz-animation-timing-function: ease;
    -o-animation-timing-function: ease;
    -webkit-animation-timing-function: ease;
    animation-timing-function: ease;
    /* Transform */
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    -webkit-transform: scale(0);
    transform: scale(0);
}

#uwf-chat-button .uwf-channel-chat {
    margin-top: 10px;
}

#uwf-chat-button:focus {
    outline: none;
}

#uwf-chat-button:disabled {
    opacity: 0.6;
}

#uwf-chat-button:hover {
    box-shadow: 0 3px 15px #000000; /* fallback color */
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.3);
}

#uwf-chat-button.unread #uwf-chat-unread {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: red;
    box-shadow: 0 0 2px #ffffff;
    border: 1px solid #ffffff;
    
}

@keyframes buttonPop {
    from {
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    to {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}
