.customer-service-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--bs-primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
}

/* Chat Header */
.chat-header {
    background: var(--bs-primary);
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

/* Chat Body */
.chat-body {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    background: #f8f9fa;
}

/* Chat Footer */
.chat-footer {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ccc;
    background: #fff;
}

.chat-footer input {
    flex: 1;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-footer button {
    margin-left: 5px;
    background: var(--bs-primary);
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
}

/* Chat Bubbles */
.chat-message {
    display: flex;
    margin-bottom: 10px;
    align-items: flex-end;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.chat-bubble {
    max-width: 75%;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    background-color: #e9ecef;
    color: #333;
}

.chat-message.user .chat-bubble {
    background-color: var(--bs-primary);
    color: white;
    border-bottom-right-radius: 0;
}

.chat-message.bot .chat-bubble {
    border-bottom-left-radius: 0;
}

/* Avatar Icons */
.chat-avatar {
    width: 32px;
    height: 32px;
    margin: 0 8px;
    border-radius: 50%;
    background-color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.chat-message.user .chat-avatar {
    background-color: var(--bs-primary);
}
