a.mobile-chat-btn.icon-btn.btn,
.mobile-chat-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: auto !important;
    min-height: 23px;
    padding: 0 7px !important;
    border-width: 2px !important;
    border-style: solid !important;
    border-color: #22a447 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #22a447 !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    text-transform: uppercase;
    letter-spacing: 0 !important;
    overflow: visible !important;
}

.mobile-chat-btn:before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 50%;
    background: #22a447;
    box-shadow: 0 0 0 3px rgba(34, 164, 71, .12);
}

.mobile-chat-btn-text {
    color: #22a447 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.mobile-chat-btn.has-unread-messages,
.mobile-chat-btn:has(.messagesCounters:not(.d-none)) {
    animation: ss-chat-pulse 1s ease-in-out infinite;
}

.mobile-chat-btn.has-unread-messages:before,
.mobile-chat-btn:has(.messagesCounters:not(.d-none)):before {
    animation: ss-chat-dot-pulse 1s ease-in-out infinite;
}

@keyframes ss-chat-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(34, 164, 71, .34) !important;
    }

    50% {
        box-shadow: 0 0 0 6px rgba(34, 164, 71, .08) !important;
    }
}

@keyframes ss-chat-dot-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .45;
        transform: scale(.72);
    }
}

body.dark-mode a.mobile-chat-btn.icon-btn.btn,
body.dark-mode .mobile-chat-btn {
    border-color: #37d166 !important;
    color: #37d166 !important;
}

body.dark-mode .mobile-chat-btn:before {
    background: #37d166;
}
