/* ---------- Common Styles for Both Admin and Customer ---------- */
#order-chat {
    width: 100%;
}

/* Chat message box */
#chat-messages {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
}

/* Individual message bubbles */
#chat-messages p {
    padding: 5px;
    border-radius: 5px;
    margin: 5px 0;
}

/* Admin messages */
.admin-message {
    background: #f8d7da;
    padding: 5px;
    border-radius: 5px;
}

/* Customer messages */
.customer-message {
    background: #d4edda;
    padding: 5px;
    border-radius: 5px;
}

/* ---------- CUSTOMER-SPECIFIC STYLES ---------- */
.customer-chat {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    background: #fff;
}

/* Customer chat message box */
.customer-chat #chat-messages {
    border: 1px solid #ddd;
    background: #f9f9f9;
    padding: 10px;
    max-height: 250px;
    overflow-y: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* Customer message input field */
.customer-chat #chat-message {
    width: 100%;
    height: 50px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background: #fff;
    font-size: 14px;
    resize: none;
}

/* Customer send button */
.customer-chat #send-message {
    width: 100%;
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px;
    margin-top: 5px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 14px;
}

.customer-chat #send-message:hover {
    background: #005f80;
}
