.slc-main-chat {
    display: none;
    width: 400px;
    max-width: 100%;
    max-height: 600px;
    box-shadow: 0 4px 12px #0000001a;
    flex-direction: column;
    transition: all .3s ease;
}

.slc-main {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    justify-content: flex-end;
}

.slc-button {
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0 0 6px 2px #0000001f;
    padding: 10px;
    background: #fff;
    border: 0px;
    border-radius: 5px;
    height: 36px;
    cursor: pointer;
}

.slc-icon {
    display: flex;
}

.slc-icon svg {
    width: 18px;
    margin-right: 6px;
}

.slc-main-chat.visible {
    display: flex;
}

.slc-close {
    cursor: pointer;
}

.slc-chat-header {
    padding: 1rem;
    color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
}

#slc-chat-body {
    background: #fff;
    height: 275px;
    padding: 12px;
    overflow: auto;
    font-size:14px;
    display: flex;
    flex-direction: column;
}

.slc-chat-message{
    padding:10px;
    border-radius:10px;
    margin-bottom:10px;
}

.slc-chat-message.user{background:#EEF6F9; text-align: right; align-self: flex-end;}
.slc-chat-message.agent{background:#F1F1F1; align-self: flex-start;}

.slc-chat-input {
    display: flex;
    padding: 12px;
    border-top: 1px solid #e2e8ef;
    gap: 6px;
    background-color: #fff;
}

.slc-chat-input input, .slc-chat-input textarea {
    flex: 1;
    border: 1px solid #e2e8ef;
    border-radius: 10px;
    background-color: #fff;
    color: #020817;
}

.slc-chat-input textarea
{
    font-family: inherit;
    height: 25px;
    padding-left: 10px;
    padding-top: 8px;
    resize: none;
}

.slc-chat-input input
{
    padding: 10px 12px;
}

.slc-chat-input button:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.slc-chat-input button {
    padding: 10px 1rem;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    transition: opacity .2s;
}

.slc-chat-footer {
    border-top: 1px solid #e5e7eb;
    background-color: #f9fafb;
    border-radius: 0 0 8px 8px;
    padding: 20px 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slc-chat-footer .flex {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: .5rem;
}

.slc-chat-footer em {
    font-size: 12px;
    color: #64748b;
}

.slc-chat-footer img {
    width: 16px;
}

.suggested-questions {
    overflow-y: auto;
    max-height: 270px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggested-question-btn {
    padding: 8px 16px;
    border-radius: 14px;
    background: none;
    cursor: pointer;
    transition: all .2s;
    font-size: 14px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.suggested-question-btn:hover {
    color: #fff;
}

.slc-actions-header {
    display: flex;
}

.slc-close svg,
.slc-minimize svg {
    width: 16px;
    cursor: pointer;
}

.slc-minimize svg {
    margin: 0 10px;
}

#slc-show {
    display: none;
}

.rtl.slc-main * {
    direction: rtl;
}

.rtl.slc-main {
    right: initial;
    left: 15px;
}


.rtl .slc-icon svg {
    margin-left: 6px;
    margin-right: initial;
}


.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 7px;
}

.toggle-container .toggle input {
    display: none;
}

.toggle-container .toggle {
    position: relative;
    width: 40px;
    height: 20px;
    display: inline-block;
}

.toggle-container .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #4CAF50;
    transition: 0.4s;
    border-radius: 50px;
}

.toggle-container .slider:before {
    content: "";
    position: absolute;
    height: 16px;
    width: 16px;
    border-radius: 50px;
    background-color: white;
    transition: 0.4s;
    left: 2px;
    top: 2px;
}

.toggle-container input:checked+.slider {
    background-color: #4CAF50;
}

.toggle-container input:checked+.slider:before {
    transform: translateX(20px);
}

#languages {
    display: flex;
    align-items: center;
    direction: ltr;
}

.hidden{display: none;}
#recordButton{
    background-image:url(../img/mic.svg);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    width:36px;
    height: 36px;
}

#stopButton{
    background-image:url(../img/stop.svg);
    background-repeat: no-repeat;
    background-size: 12px;
    background-position: center;
    width:36px;
    height: 36px;
}


@media screen and (max-width: 767px) {
    .slc-main-chat {
        max-width: 100%;
    }

    .slc-main {
        right: 10px;
        left: 10px;
    }

    .slc-button {
        float: right;
    }
}