.chat-button-starter-container{


}

.translator {
    align-items: center;
    flex: 1;

    >.flex {
        width: 100%;

        >.translate_container {
            flex: 1;


            >.btn-translate-message>.btn-content {
                flex: 1;
                text-align: center;
                justify-content: center;
                align-items: center;
                display: flex;
                gap: 10px;
                padding: 0 10px;
                color: #1F14BD;
            }

        }
    }
}

.hidden{
    display: none;
}

.chat-button-starter{
    position: fixed;
    bottom: 40px;
    left:20px;
    width: 78px;
    height: 78px;
    background-color: #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999;
    animation: floatUp 0.8s ease-out 0.5s forwards,
                       wobble 2s ease-in-out 1.3s infinite;
    opacity: 0;
}

/* Keyframe Animations */
@keyframes floatUp {
    0% {
        bottom: -100px;
        opacity: 0;
        transform: scale(0.3) rotate(0deg);
    }
    70% {
        bottom: 40px;
        opacity: 1;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        bottom: 30px;
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes wobble {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(-3deg);
    }
    50% {
        transform: translateY(0) rotate(3deg);
    }
    75% {
        transform: translateY(-3px) rotate(-2deg);
    }
}

/* Hover effect */
.chat-button-starter:hover {
    transform: scale(1.1) rotate(0deg);
    box-shadow: 0 15px 40px rgba(238, 90, 36, 0.6);
    
}

.chat-footer{
    order: 2;
}

.chat_messages_holder{
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
}

.message-container{
    margin-bottom: 33px;
    max-width: 478px;

    >.message-header{

        display: flex;
        flex-direction: row;
        gap: 9px;

        >.message-avatar{
            align-items: center;
            align-content: center;
            justify-content: center;
            display: flex;
            width: 36px;
            height: 36px;
            border-radius: 100px;
            background: var(--CoolGray-10, #F2F4F8);
        }

        >.message-details{

            display: flex;
            flex-direction: column;
            
            >.message-name{
                display: flex;
                flex-direction: row;
                >span{
                    color: #21272A;
                    text-align: right;
                    font-size: 14px;
                    font-style: normal;
                    font-weight: 400;
                    line-height: 140%; /* 19.6px */
                }
            }
            >.message-date{
                color: #697077;
                text-align: right;
                font-size: 12px;
                font-style: normal;
                font-weight: 400;
                line-height: 140%; /* 16.8px */
            }
        }
    }

    >.message-body{
        margin-top: 5px;
        border-radius: 6px 0 6px 6px;
        background: #F2F4F8;
        padding: 12px;
    }

    >.message-translated {
        background: #F2F4F8;
        padding: 12px;
        border: 1px solid #1F14BD;
    }

    &.me-msg{
        align-self: start;
        >.message-body{
            background: #d3facb;
        }
    }

    &.panel-msg{
        align-self: end;
        >.message-body{
            background: #F2F4F8;
        }
    }

}

.chat-form {
    display: flex;
        flex-direction: column;
        overflow: visible;

     >.chat-header {
         display: none;

         @media (max-width: 992px) {
             display: block;
         }
     }

     >.chat-footer {
         align-items: center;
         gap: 5px;
         width:100%;

         >.chat-send-button{
            background-color: #1F14BD;
            color: white;
            &:hover{
                background-color: #1c148b;
            }
         }

         >.message-box-container {
             display: flex;
             flex: 1;
             width: 100%;
             flex-direction: column;
             border: 1px solid #aaa;
             padding: 5px;

             >.customFieldset>textarea{
                background-color: white;
             }

             >.translator {
                 align-items: center;
                 flex: 1;

                 >.flex {
                     width: 100%;

                     >.translate_container {
                         flex: 1;

                         >.btn-translate>.btn-content {
                            flex: 1;
                             text-align: center;
                             justify-content: center;
                             align-items: center;
                             display: flex;
                             gap:10px;
                             color: #1F14BD;
                         }

                        >.btn-translate-chat>.btn-content {
                            flex: 1;
                            text-align: center;
                            justify-content: center;
                            align-items: center;
                            display: flex;
                            gap: 10px;
                            color: #1F14BD;
                        }
                        >.btn-translate-message>.btn-content{
                            flex: 1;
                            text-align: center;
                            justify-content: center;
                            align-items: center;
                            display: flex;
                            gap: 10px;
                            padding: 0 10px;
                            color: #1F14BD;
                        }

                     }
                 }
             }
         }


     }
 }
 .select2-container {
     min-width: 120px !important;
 }
 .select2-selection__rendered {
     padding: 5px !important;
 }

 .select2-container .select2-selection--single {
     font-size: 12px;
 }

 .select2-container .select2-selection__rendered {
     font-size: 12px;
 }
 .select2-results__option {
     font-size: 12px;
 }
