#tcb-chat-container {
    width: 100%;
    height: 600px;
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    background-color: #fff;
}

.tcb-chat-window {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.tcb-chat-messages {
    flex-grow: 1;
    padding: 20px 15px;
    overflow-y: auto;
    background-color: #f7f9fb;
    scroll-behavior: smooth;
}

.tcb-chat-messages::-webkit-scrollbar {
    width: 6px;
}
.tcb-chat-messages::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 3px;
}
.tcb-chat-messages::-webkit-scrollbar-track {
    background-color: #f0f0f0;
}

.tcb-message {
    padding: 10px 15px;
    margin-bottom: 12px;
    border-radius: 18px;
    max-width: 85%;
    line-height: 1.5;
    font-size: 15px;
    position: relative;
    word-break: break-word;
    white-space: pre-wrap;
}

.tcb-message-user {
    background-color: #dcf8c6; 
    color: #333; 
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

.tcb-message-agente {
    background-color: #f1f1f1; 
    color: #333;
    margin-right: auto;
    border-bottom-left-radius: 4px;
}

.tcb-message-system {
    background-color: #fff3cd;
    color: #856404;
    text-align: center;
    font-style: italic;
    font-size: 13px;
    border-radius: 5px;
    max-width: 100%;
}

.tcb-chat-form {
    display: flex;
    padding: 10px 15px;
    border-top: 1px solid #eee;
    background-color: white;
    align-items: center;
}

#tcb-chat-input {
    flex-grow: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 15px;
    background: transparent;
}

#tcb-send-button {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-left: 10px;
}

#tcb-send-button:hover {
    background-color: #388e3c;
}

#tcb-send-button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#tcb-send-button svg {
    width: 20px;
    height: 20px;
    margin-left: 2px;
}