.tooltip-inner {
    text-align: left;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #ddd;
    padding: 2px;
    flex: none;
}

input:focus {
    outline: 0px !important;
    box-shadow: none !important;
}

input[type="checkbox"],
input[type="checkbox"] + label {
    cursor: pointer;
}

.card-body {
    overflow: auto;
    height: 560px;
}

@media (min-width: 768px) {
    .card-body {
        height: 650px;
    }
}

@media (min-width: 2560px) {
    .card-body {
        height: 1020px;
    }
}

.card-text {
    border: 2px solid #ddd;
    border-radius: 8px;
}

.progress-chat {
    width: 200px;
    height: 4px;
}

.progress-bar-chat {
    height: 4px;
    background-color: rgba(5, 114, 206, 0.2);
    width: 100%;
    overflow: hidden;
}

.progress-bar-indeterminate {
    width: 100%;
    height: 100%;
    background-color: rgb(5, 114, 206);
    animation: indeterminate-animation 1s infinite linear;
    transform-origin: 0% 50%;
}

@keyframes indeterminate-animation {
    0% {
        transform: translateX(0) scaleX(0);
    }

    40% {
        transform: translateX(0) scaleX(0.4);
    }

    100% {
        transform: translateX(100%) scaleX(0.5);
    }
}

.message-content {
    position: relative;
}

.streaming-content {
    position: relative;
    min-height: 1.5em;
}

.streaming-text {
    /* Add padding to make space for the spinner when streaming */
}

.streaming-text-with-spinner {
    padding-bottom: 28px; /* Space for spinner (16px height + 8px margin + 4px extra) */
}

.streaming-spinner-bottom-left {
    position: absolute;
    bottom: 2px;
    left: 0px;
    z-index: 10;
}

.btn-clipboard {
    line-height: 1;
    color: var(--bs-body-color);
    background-color: var(--bd-pre-bg);
    border: 0;
    border-radius: .25rem;
    margin-right: -.4em
}

    .btn-clipboard:hover {
        color: var(--bs-link-hover-color)
    }

    .btn-clipboard:focus {
        z-index: 3
    }

.btn-clipboard {
    position: relative;
    z-index: 2;
}
