.chat-box-input-flex-container {
    display: flex;
    flex-direction: row;
    align-items: left;
    /* gap: 10px; */
}

#chat-box-input-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    position: relative;
    width: 100%;
    z-index: 2;
    /* padding: 0 0; */
}

.chat-input-wrapper {
    display: flex;
    align-items: center;
    position: static;  /* Change to static so absolute positioning is relative to #chat-box-input-wrapper */
    width: fit-content;
    margin: 0 auto;
}

.chat-box {
    /* padding: 10px; */
    font-size: 30px;
    line-height: 1.5;
    text-align: left;
    white-space: pre-wrap; 
    box-sizing: border-box; 
    border-radius: 8px;
    transition: background-color 0.2s;
    /* width: 100px; */
    margin: 0 auto; /* Center the chat-box */
    position: relative;
    z-index: 2;
}

#chat-box:focus {
    outline: none; 
}

#chat-box.show-placeholder::before {
    content: attr(data-placeholder);
}

#chat-box:not(:empty)::before {
    content: none;
} 


.chat-box-button i {
    color: var(--text-color-special);
}

#chat-box-assist-message {
    flex-shrink: 0;
    margin-right: 1rem;
    background: white;
    border-radius: 0.8rem;
    padding: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    min-width: 0;
    max-width: 200px;
    border: 2px solid var(--text-color-special);
    position: absolute;
    left: calc(50% - 460px);
    top: 0rem; 
    /* transform: translateY(-50%); */
    z-index: 3;
}

/* Adjust arrow positions to match new positioning */
#chat-box-assist-message::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 70%;
    width: 0;
    height: 0;
    border: 20px solid transparent;
    border-left-color: var(--text-color-special);
    border-right: 0;
    border-bottom: 0;
    margin-top: -10px;
    z-index: 0;
}

#chat-box-assist-message::before {
    content: '';
    position: absolute;
    right: -17px;
    top: 70%;
    width: 0;
    height: 0;
    border: 18px solid transparent;
    border-left-color: white;
    border-right: 0;
    border-bottom: 0;
    margin-top: -9px;
    z-index: 1;
}
