
.code-block {
    max-width: 100%;      /* Ensures it fits inside the container */
    overflow-x: auto;     /* Enables horizontal scrolling */
    background: #f4f4f4;  /* Light gray background for readability */
    padding: 10px;        /* Adds spacing inside the box */
    border-radius: 5px;   /* Rounded corners */
    white-space: pre;     /* Keeps formatting intact */
    font-family: monospace; /* Uses monospace font for code */
}
.chatbot-container {
    width: 400px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    overflow: hidden;
    display: none;
    flex-direction: column;
    height: 500px;
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 400;
}
.chat-header {
    background: #08A4F8;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center
}

.chat-avatar {
  width: 50px;
  height: 50px;
  /*border-radius: 50%;*/
  object-fit: cover;
  /*border: 2px solid;*/
}


.chat-box {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9f9;
}
.chat-message {
    max-width: 75%;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 15px;
    white-space: pre-wrap;
    line-height: 1.4;
    position: relative;
}
.user-message { background: #08A4F8; color: white; align-self: flex-end; }
.bot-message { background: #e5e5e5; color: black; align-self: flex-start; }
.thinking { font-style: italic; color: gray; }
.chat-input {
    display: flex;
    border-top: 1px solid #ddd;
    padding: 10px;
    background: white;
}
.chat-input textarea {
    flex: 1;
    /* padding: 15px; */
    border: 1px solid #ddd;
    border-radius: 18px;
    outline: none;
    height: 40px;
    resize: none;
    font-size: 14px;
}
.chat-input button {
    padding: 10px 15px;
    background: #08A4F8;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    margin-left: 8px;
    font-size: 14px;
    font-weight: bold;
}
.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    /*background: #08A4F8;*/
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    /*box-shadow: 0 4px 8px rgba(0,0,0,0.3);*/
    z-index: 400;
}




.sb {
    padding: 5px;
    display: flex;
    justify-content: unset;
    align-items: center;
}
