.mm-scb-body
{
    position: fixed;
    right: 0;
    top: 0;
    height: 100vh;
    padding-bottom: 40px;
    padding-top: 40px;
    width: 360px;
    display: flex;
    flex-direction: column-reverse;
    gap: 20px;
}

.mm-scb-top
{
    height: 100%;
    flex-grow: 1;
    width: 100%;
    
}

.mm-scb-bottom
{
    
    width: 100%;
    height: 100px;
}

.mm-scb-smaller-svg
{
    width: 80% !important;
    height: auto !important;
}

.mm-scb-opener
{
    position: fixed;
    right: 30px;
    bottom: 80px;
    width: 60px;
    height: 60px;
    border-radius: 99999px;
    background-color: #ffaa39 !important;
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    outline: none;
    border: none;
    box-shadow: 0px 2px 8px 0px rgba(8, 15, 26, 0.08), 0px 2px 2px 0px rgba(8, 15, 26, 0.12);
}

.mm-scb-opener:hover, .mm-scb-opener:focus
{
    background-color: #ffaa39 !important;
}

.mm-scb-opener svg
{
    width: 100%;
    height: auto;
}

.mm-scb-opener-with-notifications::after
{
    width: 20px;
    height: 20px;
    border-radius: 999px;
    content: attr(data-not-seen);
    top: 10%;
    right: -20%;
    font-size: 12px;
    transform: translate(-50%, -50%);
    background-color: red;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
}

.mm-scb-invitation
{
    position: fixed;
    right: 110px;
    background-color: white !important;
    bottom: 80px;
    border-radius: 5px;
    font-size: 16px;
    width: 199px !important;
    color: black;
    font-weight: 500;
    transition: all 0.5s ease-in-out;
    min-width: 60px;
    outline: none;
    z-index: 10;
    border: none;
    padding: 20px 10px;
    box-shadow: 0px 2px 8px 0px rgba(8, 15, 26, 0.08), 0px 2px 2px 0px rgba(8, 15, 26, 0.12);
}

.mm-scb-invitation:hover, .mm-scb-invitation:focus
{
    background-color: white !important;
    color: black;
}

.mm-scb-invisible
{
    opacity: 0 !important;
}

.mm-scb-display-none
{
    display: none;
}

.mm-scb-chat-top
{
    width: 100%;
    display: flex;
    padding-bottom: 20px;
}

.mm-scb-chat-top-left
{
    flex-grow: 1;
    font-size: 16px;
}

.mm-scb-chat
{
    background-color: white;
    box-shadow: 0px 2px 8px 0px rgba(8, 15, 26, 0.08), 0px 2px 2px 0px rgba(8, 15, 26, 0.12);
    border-radius: 5px;
    position: fixed;
    z-index: 10;
    height: 70vh;
    width: min(380px, 90%);
    right: 30px;
    bottom: 140px;
    transition: all 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;

}

.mm-scb-chat-messages
{
    flex-grow:  1;
    display: flex;
    flex-direction: column-reverse;
    height: 100%;
    overflow: auto !important;
    
}

.mm-scb-text, .mm-scb-form
{
    width: fit-content !important;
    max-width: 80% !important;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 16px;
    position: relative;
    flex-shrink: 0;
}

.mm-scb-bot-msg .mm-scb-text, .mm-scb-form
{
    background-color: #f5f7f9;
    text-align: left;
    
    
}

.mm-scb-display-none
{
    display: none !important;
}

.mm-scb-user-msg .mm-scb-text
{
    text-align: right;
    background-color: #ffaa39;
}

.mm-scb-user-msg
{
    justify-content: end;
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.mm-scb-bot-msg, .mm-scb-user-msg
{
    width: 100%;
    position: relative; 
    padding-bottom: 0px;
    transition: padding 0.5s ease-in-out;
    overflow: hidden;
    margin-bottom: 3px;
    display: flex;
    flex-shrink: 0;
}

.mm-scb-text input[type=checkbox]
{
    position: absolute;
    width: 100%;
    z-index: 10;
    height: 100%;
    opacity: 0;
    top: 0;
    left: 0;
}

.mm-scb-bot-msg:has(input[type=checkbox]:checked),.mm-scb-user-msg:has(input[type=checkbox]:checked)
{
    padding-bottom: 25px !important;
}

.mm-scb-bot-msg .mm-scb-date
{
    left: 5px;
}

.mm-scb-user-msg .mm-scb-date
{
    right: 5px;
}

.mm-scb-date
{
    position: absolute;
    top: 101%;
    
    width: 150px;
    font-size: 12px;
}

.mm-scb-wirtting
{
    font-size: 16px;
    width: 100%;
    min-height: 30px;
    position: relative;
}

.mm-scb-dot
{
    position: absolute;
    animation-duration: 1.3s;
    animation-iteration-count: infinite;
    animation-name: mm-scb-up_down;

}

.mm-scb-dot-1
{
    left: 42px;
    animation-delay: 0s;
}

.mm-scb-dot-2
{
    left: 48px;
    animation-delay: 0.1s;
}

.mm-scb-dot-3
{
    left: 54px;
    animation-delay: 0.2s;
}

.mm-scb-answers-pallete
{
    width: 80%;
    margin-left: auto;
    height: auto;
    display: flex;
    margin-top: 10px;
    justify-content: end;
    flex-wrap: wrap;
    gap: 5px
}

.mm-scb-answers-pallete button
{
    padding: 10px 15px;
    border-radius: 10px;
    background-color: #00000000;
    font-size: 16px;
    border: 1px solid #0566ff;
    color: #0566ff;
    transition: all 0.1s ease-in-out;
    user-select: none;
       
}

.mm-scb-answers-pallete button:hover
{
    color: white;
    background-color: #0566ff;
}

.mm-scb-form input
{
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #D3DBE5;
    color: rgb(8, 15, 26);
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 6px;
    width: 100%;
}

.mm-scb-form input:focus
{
    outline: none;
    border: 1px solid #D3DBE5;
}

.mm-scb-form span
{
    font-size: 16px;
    display: block;
    width: 100%;
    margin-bottom: 5px;
}

.mm-scb-form
{
    margin-bottom: 5px;
}

.mm-scb-form button 
{
    border: none;
    padding: 12px;
    height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: var(--radius-component, 8px);
    background: #0566ff;
    color: white;
    width: 100%;
    margin-bottom: 10px;
    user-select: none;
}

.mm-scb-form button:hover
{
    cursor: pointer;
}

.mm-scb-error
{
    font-size: 13px;
    color: red;
    margin-top: 4px;
    margin-bottom: 4px;
}

.mm-scb-no-clicks
{
    pointer-events: none !important;
}

.mm-scb-posts-carousel
{
    width: 80%;
    margin-right: auto;
    margin-top: 5px;
    margin-bottom: 5px;
}

.mm-scb-posts-carousel-inner
{
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 8px;
    background-color: #f5f7f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
}

.mm-scb-posts-carousel-inner p
{
    font-size: 18px !important;
    text-align: center;
    width: 100%;
}

.mm-scb-posts-carousel-inner img
{
    height: auto;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
}

.mm-scb-posts-carousel-inner a
{
    border: none;
    padding: 12px;
    height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border-radius: var(--radius-component, 8px);
    background: #0566ff;
    color: white;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5px;
    user-select: none;
    margin-bottom: 20px;
}

.mm-scb-form a:hover
{
    cursor: pointer;
}

.mm-scb-posts-caroulel-pagination
{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}


.mm-scb-posts-caroulel-pagination div
{
    padding: 4px;
    background-color: #0566ff;
    border-radius: 9999px;
}

.mm-scb-posts-caroulel-pagination div.active
{
    background-color: #033586 !important;
}

@keyframes mm-scb-up_down
{
    0%
    {
        top: 0%;
    }
    10%
    {
        top: -10%;
    }
    20%
    {
        top: 0%;
    }
    100%
    {
        top: 0%;
    }
    
}