#aiwcb-chatbox {
    width: 100%;
    max-width: 400px;
    height: 500px;
    border: 1px solid #ccc;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#aiwcb-header {
    background-color: #075e54;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

#aiwcb-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-message, .bot-message {
    max-width: 70%;
    padding: 8px 12px;
    border-radius: 20px;
    word-wrap: break-word;
    font-size: 14px;
}

.user-message {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.bot-message {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    align-self: flex-start;
}

/* Highlight WooCommerce products differently */
.bot-message.product-message {
    background-color: #d1ecf1; /* Light blue for WooCommerce products */
    border: 1px solid #bee5eb;
    align-self: flex-start;
}

#aiwcb-input-wrap {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background: #f1f1f1;
}

#aiwcb-input {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #ccc;
    outline: none;
}

#aiwcb-send {
    margin-left: 8px;
    padding: 10px 16px;
    border: none;
    border-radius: 50%;
    background-color: #25d366;
    color: white;
    cursor: pointer;
    font-weight: bold;
}

#aiwcb-send:hover {
    background-color: #128c7e;
}
