.typing .dot {
    -webkit-animation: TypingAnimation 1.8s infinite ease-in-out;
    animation: TypingAnimation 1.8s infinite ease-in-out;
    background-color: rgba(var(--bs-secondary-rgb), 0.7);
    border-radius: 50%;
    height: 7px;
    margin-right: 4px;
    vertical-align: middle;
    width: 7px;
    display: inline-block;
}

.typing .dot:nth-child(1) {
    -webkit-animation-delay: 200ms;
    animation-delay: 200ms;
}

.typing .dot:nth-child(2) {
    -webkit-animation-delay: 300ms;
    animation-delay: 300ms;
}

.typing .dot:nth-child(3) {
    -webkit-animation-delay: 400ms;
    animation-delay: 400ms;
}

.typing .dot:last-child {
    margin-right: 0;
}

@-webkit-keyframes TypingAnimation {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        background-color: rgba(var(--bs-secondary-rgb), 0.7);
    }
    28% {
        -webkit-transform: translateY(-7px);
        transform: translateY(-7px);
        background-color: rgba(var(--bs-secondary-rgb), 0.4);
    }
    44% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        background-color: rgba(var(--bs-secondary-rgb), 0.2);
    }
}

@keyframes TypingAnimation {
    0% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        background-color: rgba(var(--bs-secondary-rgb), 0.7);
    }
    28% {
        -webkit-transform: translateY(-7px);
        transform: translateY(-7px);
        background-color: rgba(var(--bs-secondary-rgb), 0.4);
    }
    44% {
        -webkit-transform: translateY(0px);
        transform: translateY(0px);
        background-color: rgba(var(--bs-secondary-rgb), 0.2);
    }
}

.bi::before,
[class^=bi-]::before,
[class*=" bi-"]::before {
    line-height: 1.5;
}


.bot-video-preview, .bot-video-preview-image {
    width: 120px;
    height: 120px;
    display: inline-block;
}


.bot-video-preview-play {
    width: 120px;
    height: 120px;
    display: inline-block;
}


.bot-preview-wrapper {
    display: inline-block;
    width: 120px;
    height: 120px;
    border-radius: 5px;
    overflow: hidden;
    opacity: 0.7;
    transition: opacity 0.3s ease-in-out;
    cursor: pointer;
    border: 1px solid rgba(var(--bs-secondary-rgb), 0.2);
}

.bot-preview-wrapper:hover {
    opacity: 1;
}

.bot-video-selected {
    border: 1px solid rgba(var(--bs-secondary-rgb), 1);
    opacity: 1;
}

#deleteModal {
    z-index: 1250 !important; /* or any other number higher than the current z-index of modals */
}

#deleteModalOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 1140; /* or any other number lower than the delete modal's z-index */
    display: none;
}


main{
    background-color: var(--bs-bg-body);
}

.chat-card-border {
    border-width: var(--card-border-width);
    border-style: solid;
    border-color: var(--card-border-color);
}
