.chat-bot-wrap .chat-header {
    background: linear-gradient(109.08deg, #1167E8 1.96%, #2354B6 100%);
}


.chat-mode-toggle {
    background-color: rgb(255, 255, 255, 0.1);
}


.chat-bot-wrap .peer:checked {
    background-color: #00FC82;
}

.chat-bot-wrap .peer:focus {
    outline: none;
}

.chat-bot-wrap .message.user .message-content {
    background-color: #EDF4FF;
    color: #303437;
    border-radius: 11px 0 11px 11px;
    word-break: break-word;
    overflow-wrap: break-word;
    width: calc(100% - 50px);
    margin-left: 50px;
}

.chat-bot-wrap .message.assistant .bot-icon {
    background: #F7F7F7;
}

.chat-bot-wrap .message.assistant .message-content {
    background-color: #F7F7F7;
    color: #303437;
    border-radius: 0 11px 11px 11px;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 100%;
}


.chat-bot-wrap #send-button {
    background-color: #1167E8;
    height: 41px;
}

.chat-bot-wrap #send-button:hover {
    background-color: #3284ff;
}

/* .chat-bot-wrap #message-input:focus {
    outline: none;
} */

.chat-bot-wrap h2 {
    font-size: 20px;
}

.chat-bot-wrap #chat-container .welcome-info {
    background: linear-gradient(109.08deg, #1167E8 1.96%, #2354B6 100%);

}

.welcome-info p {
    line-height: normal;
    font-size: 14px;
    color: #FFFFFFCC;
}

.welcome-info div {
    color: #FFFFFFCC;
}

.chat-bot-wrap #chat-container>div:first-child {
    padding-top: 24px;
}

.footer p {
    font-size: 12px;
}

.footer {
    background-color: #F1F3F5;
    border-bottom: 0.5px solid #C4C4C4
}

#reasoning-toggle:focus {
    outline: none;
}

.bubble {
    /* padding: 10px 12px;
    border-radius: 14px; */
    font-size: 14px;
    line-height: 1.35;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.05);
    /* white-space: pre-wrap; */
    word-wrap: break-word;
}

.typing {
    display: flex;
    gap: 4px;
}

.notification {
    margin: 0 10px;
}

.typing span {
    display: block;
    width: 6px;
    height: 6px;
    background: #555;
    border-radius: 50%;
    animation: blink 1.4s infinite both;
}

.typing span:nth-child(1) {
    animation-delay: 0s;
}

.typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    80%,
    100% {
        opacity: 0.2;
    }

    40% {
        opacity: 1;
    }
}

@media (max-width: 640px) {

    /* .chat-bot-wrap .message.user .message-content {
        max-width: 80%;
    } */
    .chat-bot-wrap h2 {
        font-size: 16px;
    }

    .chat-bot-wrap .chat-header p {
        font-size: 12px;
        color: #FFFFFFB2;
    }

    .chat-bot-wrap .chat-header img {
        width: 40px;
        height: 40px;
    }

    .chat-bot-wrap #current-mode {
        font-size: 12px;
    }

    .chat-bot-wrap #message-input {
        padding: 10px;
        font-size: 14px;
    }

    .chat-bot-wrap #send-button {
        padding: 8px 15px;
    }

    .chat-bot-wrap .chat-header .switch-btn {
        width: 35px;
        height: 20px;

    }

    .chat-bot-wrap .chat-header .switch-btn::after {
        width: 15px;
        height: 15px;
    }
}
.message-content a {
    color: #2563eb; /* Tailwind blue */
    text-decoration: underline;
    pointer-events: auto !important;
    cursor: pointer;
  }