#chatbot_div body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
    margin: 0
}

#chatbot_div code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, Courier New, monospace
}

#chatbot_div .loader-inner {
    animation: scaling 1.5s linear infinite;
    margin-right: 1rem
}

#chatbot_div .loader-inner img {
    height: 4rem;
    width: 4rem
}

@keyframes scaling {
    0% {
        transform: scale(.9)
    }

    50% {
        transform: scale(1.1)
    }

    to {
        transform: scale(.9)
    }
}

#chatbot_div .App {
    text-align: center
}

#chatbot_div .App-logo {
    height: 40vmin;
    pointer-events: none
}

@media (prefers-reduced-motion:no-preference) {
    #chatbot_div .App-logo {
        animation: App-logo-spin 20s linear infinite
    }
}

#chatbot_div p {
    font-weight: 400;
    line-height: 1.5
}

#chatbot_div .container-main {
    display: flex;
    flex-direction: column;
    height: 100vh
}

@media (min-width:1200px) {
    #chatbot_div .container-main {
        flex-direction: row
    }
}

#chatbot_div .left-section {
    align-items: flex-end;
    display: flex;
    justify-self: center;
    width: 100%
}

@media (min-width:1200px) {
    #chatbot_div .left-section {
        width: 50%
    }
}

#chatbot_div .left-section img, #chatbot_div .responsive-image {
    height: 200px;
    object-fit: contain;
    width: 100%
}

#chatbot_div .right-section {
    align-items: center;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
    width: 100%
}

@media (min-width:1200px) {
    #chatbot_div .right-section {
        padding: 3rem;
        width: 50%
    }
}

#chatbot_div .illustrative {
    background-color: #7c1511;
    color: #fff;
    font-size: .875rem;
    padding: 2px 28px 5px;
    position: absolute;
    top: 0
}

div[dir=rtl] #chatbot_div .illustrative {
    left: 0 !important
}

div[dir=ltr] #chatbot_div .illustrative {
    right: 0
}

@keyframes buttonAnimation {
    0%, to {
        background-color: #991b1b;
        color: #fff
    }

    50% {
        background-color: #e2cccc;
        color: #000
    }
}

#chatbot_div .illustrative {
    animation: buttonAnimation 2s ease-out infinite
}

#chatbot_div .logo-container {
    align-items: center;
    display: flex;
    gap: 19px;
    justify-content: center
}

#chatbot_div .logo-title {
    color: #4d6868;
    font-family: auto;
    font-size: larger
}

#chatbot_div .content {
    max-width: 31rem;
    text-align: center
}

#chatbot_div .logo {
    max-width: 11rem;
    width: 100%
}

#chatbot_div .logo, #chatbot_div .placeholder-logo {
    margin-bottom: 2rem
}

#chatbot_div .heading {
    color: #800020;
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem
}

#chatbot_div .description {
    color: #4d5e61;
    margin-bottom: 2rem
}

#chatbot_div .primary-button {
    background-color: #8d0034;
    border: none;
    border-radius: 7px;
    color: #fff;
    cursor: pointer;
    padding: .75rem 3rem
}

#chatbot_div .primary-button:hover {
    background-color: #7f1d1d
}

#chatbot_div .language-switch {
    align-self: flex-end;
    margin-top: 1rem
}

#chatbot_div .link-button {
    background: none;
    border: none;
    color: #101010;
    cursor: pointer;
    font-size: 1rem;

    &:hover {
        text-decoration: underline
    }
}

#chatbot_div .spinner {
    animation: spin 1s linear infinite;
    color: #fff;
    height: 1.25rem;
    margin-left: -.25rem;
    margin-right: .75rem;
    width: 1.25rem
}

div[dir=rtl] #chatbot_div .spinner {
    margin-left: .75rem
}

#chatbot_div .spinner-circle {
    stroke: currentColor;
    opacity: .25
}

#chatbot_div .spinner-path {
    fill: currentColor;
    opacity: .75
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(1turn)
    }
}

#chatbot_div .chat-container {
    background-color: #fff;
    color: #304654;
    height: 100vh
}

#chatbot_div .chat-container-inner {
    background-color: #c1c1c1 !important;
    height: inherit;
    width: 100%
}

#chatbot_div .vdo-player {
    background-color: #c1c1c1;
    border-radius: 0 !important;
    flex: 1 1;
    height: 100%;
    max-width: 100%;
    object-fit: cover
}

@media(max-width:991px) {
    #chatbot_div .vdo-player {
        width: 100%
    }
}

@media(max-width:375px) {
    #chatbot_div .left-section img {
        height: 200px !important
    }
}

#chatbot_div .type-blockk-send-btn {
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 10px
}

#chatbot_div .type-blockk-container {
    background-color: #fff;
    border-radius: 30px;
    column-gap: 10px;
    display: flex;
    padding: 0 20px
}

#chatbot_div .type-blockk-input {
    background: #fff;
    border: none;
    border-radius: 10px;
    flex: 1 1;
    margin: 0;
    outline: none;
    padding: 13px 10px
}

#chatbot_div .type-block-icon {
    color: #e7d5db;
    flex: 1 1;
    font-size: 30px
}

#chatbot_div .chat-box-container {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-end;
    padding-bottom: 30px
}

#chatbot_div .content-card {
    align-items: center;
    display: flex;
    flex: 1 1;
    height: 100%;
    justify-content: center
}

#chatbot_div .content-card-inner {
    background-color: #fff;
    border-radius: 5px;
    padding: 20px;
    width: 70%
}

#chatbot_div .chat-box-inner-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
    margin-top: 0;
    max-width: 1028px;
    overflow-y: auto;
    padding-left: 24px;
    padding-right: 24px;
    position: relative;
    width: 100%;
    z-index: 9
}

@media (max-width:991px) {
    #chatbot_div .chat-box-inner-container {
        height: 290px;
        overflow: hidden;
        overflow-y: auto
    }
}

@media(min-width:992px) {
    #chatbot_div .chat-box-main-container {
        display: flex;
        height: 100%;
        justify-content: flex-end;
        max-height: 85vh;
        overflow: hidden;
        overflow-y: auto;
        width: 100%;
        z-index: 99
    }
}

@media(max-width:1199px) {
    #chatbot_div .chat-box-main-container {
        display: flex;
        height: 100%;
        justify-content: flex-end;
        position: relative;
        top: -83px;
        width: 100%;
        z-index: 99
    }
}

#chatbot_div .chat-box-msg-icon {
    align-items: flex-end;
    display: flex;
    padding: 30px 10px
}

#chatbot_div .chat-box-msg-inner-icon {
    align-items: center;
    background-color: #105929;
    border-radius: 100px;
    color: #fff;
    cursor: pointer;
    display: flex;
    height: 58px;
    justify-content: center;
    width: 58px
}

#chatbot_div .record-typing {
    color: #fff;
    font-size: 16px;
    line-height: 24px
}

#chatbot_div .record-inner {
    align-items: center;
    background-color: #4d5e61;
    border-radius: 100%;
    cursor: pointer;
    display: flex;
    height: 3rem;
    justify-content: center;
    padding: 13px;
    width: 3rem
}

#chatbot_div .record-inner img {
    height: 100%;
    object-fit: cover;
    width: 100%
}

#chatbot_div .record-outer {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 10px
}

#chatbot_div .record-wraper {
    display: flex;
    justify-content: center
}

#chatbot_div .left-inner-box {
    height: calc(100vh - 390px) !important;
    overflow-y: auto
}

#chatbot_div .avatar-chat-container {
    background-color: #fff !important;
    border-radius: 26px !important;
    height: calc(100vh - 260px);
    width: 100%
}

#chatbot_div .avatar-chat-container .type-blockk-input {
    background: #e3e3e3 !important
}

#chatbot_div .avatar-chat-container .type-blockk-container {
    background-color: #e3e3e3 !important
}

#chatbot_div .avatar-chat-container .type-block-icon {
    color: #626262 !important
}

#chatbot_div .video-container {
    border-bottom-left-radius: 26px;
    border-top-left-radius: 26px
}

#chatbot_div .startSessionBtn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99
}

#chatbot_div .spinnerClass {
    height: 3rem;
    width: 3rem
}

#chatbot_div .answerText p {
    margin: 0;
    white-space: pre-wrap
}

[dir=rtl] #chatbot_div .answerText p {
    text-align: right
}

#chatbot_div .vdo-start-btn {
    align-items: center;
    background-color: #852c4c;
    border-radius: 100%;
    bottom: 80px;
    cursor: pointer;
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    width: 40px
}

#chatbot_div .stopIcon {
    outline: 2px solid #852c4c
}

#chatbot_div .stop-speech-btn {
    background-color: #852c4c;
    border-radius: 100%;
    bottom: 130px;
    cursor: pointer;
    height: 40px;
    left: 10px;
    width: 40px
}

#chatbot_div .loading-msg, .stop-speech-btn {
    align-items: center;
    display: flex;
    justify-content: center;
    position: absolute
}

#chatbot_div .loading-msg {
    background: #0000;
    height: 100%;
    width: 100%
}

#chatbot_div .loading-msg div {
    background: #00000015;
    padding: 25px 70px
}

@media (max-width:1199px) {
    #chatbot_div .record-wraper {
        inset-inline-end: 0;
        position: absolute;
        top: 0;
        z-index: 99
    }
}

@media(max-width:991px) {
    #chatbot_div .record-typing {
        display: none
    }

    #chatbot_div .btn-avatar-close {
        inset-inline-start: 10px;
        top: 10px
    }

    #chatbot_div .answerText p {
        max-width: calc(100% - 20px)
    }
}

#chatbot_div .loading-container {
    background: #fff;
    bottom: 0;
    color: #fff;
    display: flex;
    left: 0;
    min-height: 308px;
    right: 0;
    top: 0;
    width: 100%
}

#chatbot_div .loading-container .loading-text-overlay {
    align-items: center;
    background: #00000080;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    padding: 10px 50px;
    position: absolute;
    right: 0;
    top: 0
}

#chatbot_div .chat-holder-demo {
    width: 100%
}

#chatbot_div .modal-overlay {
    align-items: center;
    background: #00000080;
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    position: fixed;
    right: 0;
    top: 0
}

#chatbot_div .modal-content {
    background: #fff;
    border-radius: 8px;
    max-width: 500px;
    padding: 20px;
    position: relative;
    width: 90%
}

#chatbot_div .modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    position: absolute;
    right: 10px;
    top: 10px
}

#chatbot_div .posi {
    align-items: center;
    background-color: #4d5e61;
    border-radius: 50%;
    bottom: 20px;
    display: flex;
    /* display: block !important; */
    height: 3rem;
    inset-inline-end: 15px;
    justify-content: center;
    position: absolute;
    width: 3rem
}
#chatbot_div .posi svg { 
    width: 1rem !important;
    height: 1rem !important;
}
#chatbot_div .col-sm-12.col-xl-7.m-0.position-relative.p-0.mx-100vh::before {
    content: "";
    /* background: linear-gradient(0deg, rgb(59, 60, 65) 0% ,rgba(59, 60, 65, 0.4817576689) 100%); */
    position: absolute;
    bottom: 0;
    inset-inline: 0;
    top: 67%;
    background: rgb(35,35,38);
    background: linear-gradient(0deg, rgba(35,35,38,1) 36%, rgba(35,35,38,0) 100%);
}
#chatbot_div .loading-container::before {
        content: "";
        /* background: linear-gradient(0deg, rgb(59, 60, 65) 0% ,rgba(59, 60, 65, 0.4817576689) 100%); */
        position: absolute;
        bottom: 0;
        inset-inline: 0;
        top: 67%;
        background: rgb(35,35,38);
        background: linear-gradient(0deg, rgba(35,35,38,1) 36%, rgba(35,35,38,0) 100%);
        z-index: 99;
    }

#chatbot_div .mx-100vh {
    max-height: 100vh
}

#chatbot_div .chart-item::before{
    content: "";
    -webkit-mask-image: url("../media/chat-view-icon-start.svg");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    display: inline-block;
    background: #4d5e61;
    width: 100px;
    height: 100px;
    position: absolute;
    bottom: -4rem;
    inset-inline-start: -5px;
    transform: translate(-1px, -1px);
}

/* Adjusts the pseudo-element before each chat item for RTL */
div[dir="rtl"] {
    direction: rtl !important;
 }
div[dir="rtl"] .chart-item::before {
    transform: translate(2px, -1px) scaleX(-1) !important;
}
div[dir="rtl"] .ai-response::before {
    transform: scaleX(1) translateX(1px) !important;
}

/*---*/

.chat-form input {
    font-size: 16px;
}
#chatbot_div .chat-box-main-container {
    transition: all ease .3s;
}
#chatbot_div:not(:has(.chat-form)) .chat-box-main-container {
    top: -10px;
}
.ext-link {
    margin-top: 16px;
    [dir="rtl"] & {
        text-align: right;
        direction: rtl;
        &:before {
            transform: rotate(-45deg);
        }
    }
    a {
        text-decoration: underline;
        color: #fff;
    }
    &:before {
        content: '';
        width: 0; 
        height: 0;
        display: inline-block;
        border-left: 8px solid transparent;
        border-right: 8px solid transparent;
        border-bottom: 8px solid #fff;
        transform: rotate(45deg);
        margin-top: -2px;
        position: relative;
        top: -2px;
        margin-inline-end: 2px;
    }
    &:after {
        content: '';
        display: inline-block;
        width: 16px;
        height: 16px;
        background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxOSIgaGVpZ2h0PSIxOCIgZmlsbD0ibm9uZSIgdmlld0JveD0iMCAwIDE5IDE4Ij48cGF0aCBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxLjUiIGQ9Im00LjUzNSAxMy42MTcgOS05TTYuMjIzIDQuNjE3aDcuMzEydjcuMzEzIi8+PC9zdmc+");
        background-repeat: no-repeat;
        background-position: center;
        position: relative;
        top: 4px;
        [dir="rtl"] & {
            transform: scaleX(-1);
        }
    }
    strong {
        margin-inline-end: 4px;
    }
}
[dir="rtl"] .ext-link:after {
    transform: scaleX(-1);
}
[dir="rtl"] .chat-form button svg {
    transform: scaleX(-1);
}