/* Loading Text Container */
.loading-text-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.ai-response{
    font-size: 14px;
}

/* Loading Lines */
.loading-line {
    width: 5px;
    height: 15px;
    background-color: #000000;
    animation: lineBounce 1.2s infinite ease-in-out;
    display: inline-block;
    border-radius: 2px;
}

/* Add delay for each line to create a staggered effect */
.loading-line:nth-child(1) {
    animation-delay: 0s;
}

.loading-line:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-line:nth-child(3) {
    animation-delay: 0.4s;
}

.loading-line:nth-child(4) {
    animation-delay: 0.6s;
}

.loading-line:nth-child(5) {
    animation-delay: 0.8s;
}


/* Line Bouncing Animation */
@keyframes lineBounce {

    0%,
    40%,
    100% {
        transform: scaleY(0.75);
    }

    20% {
        transform: scaleY(1.5);
    }
}



.ai-loading-container {
    text-align: center;
}

.ai-loading-text {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.ai-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.ai-loader-bar {
    width: 5px;
    height: 15px;
    border-radius: 5px;
    background: #007bff;
    animation: pulse 1.5s infinite ease-in-out;
}

.ai-loader-bar:nth-child(1) {
    animation-delay: 0s;
}

.ai-loader-bar:nth-child(2) {
    animation-delay: 0.2s;
}

.ai-loader-bar:nth-child(3) {
    animation-delay: 0.4s;
}

.ai-loader-bar:nth-child(4) {
    animation-delay: 0.6s;
}

.ai-loader-bar:nth-child(5) {
    animation-delay: 0.8s;
}

@keyframes pulse {
    0%, 100% {
        transform: scaleY(1);
        opacity: 0.6;
    }
    50% {
        transform: scaleY(2);
        opacity: 1;
    }
}

.ai-progress {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
}

#ai-content {
    display: none;
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
}