/* Product Single Page Styles */
/* Chat Container */
.chat-container {
    width: 100%; 
    height: 500px;
    display: flex;
    flex-direction: column;
    background-color: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header */
.chat-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #075e54;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.chat-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
}

.chat-name {
    font-size: 18px;
    font-weight: 500;
}

/* Chat History */
.chat-history {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #e5ddd5;
}

.chat-message {
    margin-bottom: 10px;
    display: flex;
    align-items: flex-end;
}

.chat-message.self {
    justify-content: flex-end;
}

.chat-message .chat-bubble { 
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    position: relative;
}

.chat-message.self .chat-bubble {
    background-color: #dcf8c6;
    border-top-right-radius: 0;
}

.chat-message.other .chat-bubble {
    background-color: white;
    border-top-left-radius: 0;
}

.chat-message .chat-time {
    font-size: 12px;
    color: #999;
    margin-left: 5px;
    margin-right: 5px;
}

/* Input Container */
.chat-input-container {
    display: flex;
    align-items: center;
    padding: 10px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
}

.chat-input {
    flex: 1;
    height: 40px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    outline: none;
    resize: none;
    font-size: 14px;
}

.chat-send-button {
    margin-left: 10px;
    background-color: #075e54;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chat-send-button i {
    font-size: 18px;
} 
.chat-date-separator {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin: 10px 0;
    position: relative;
}