/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
}

/* Chat Widget Styles */
.bpw-layout {
    position: fixed;
    bottom: 20px;
    right: 20px;
    height: 600px;
    width: 500px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

/* Chat Bubble Styles */
.bpw-from-bot .bpw-chat-bubble {
    background-color: #ececec;
    border-radius: 20px;
    margin-bottom: 5px;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.bpw-from-user .bpw-chat-bubble {
    background-color: #ffffff;
    color: #ffffff;
    border-radius: 20px;
    margin-bottom: 5px;
    padding: 10px;
    transition: background-color 0.3s ease;
}

.bpw-chat-bubble:last-of-type {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.bpw-chat-bubble:first-of-type {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.bpw-from-user .bpw-chat-bubble:last-of-type {
    border-bottom-right-radius: 0;
}

.bpw-from-bot .bpw-chat-bubble:last-of-type {
    border-bottom-left-radius: 0;
}

/* Date Container Styles */
.bpw-date-container {
    font-weight: 700;
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
}

.bpw-date-container .bpw-small-line {
    border-bottom: none;
}

/* Header Container Styles */
.bpw-header-container {
    background-color: #f8f8f8;
    border-bottom: none;
    padding: 15px;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Bot Avatar Styles */
.bpw-bot-avatar img,
.bpw-bot-avatar svg {
    border: none;
    border-radius: 50%;
}

/* Composer Styles */
.bpw-composer {
    padding: 10px;
    background: none;
    border: none;
    display: flex;
    align-items: center;
}

.bpw-composer textarea {
    background: #ececec;
    border-radius: 20px;
    font-size: 1.25rem;
    padding: 10px;
    flex: 1;
    margin-right: 10px;
    transition: border-color 0.3s ease;
}

.bpw-composer textarea:focus {
    border-color: #138a3b;
}

/* Send Button Styles */
.send-btn {
    border: none;
    border-radius: 50%;
    background: #138a3b;
    color: #ffffff;
    padding: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-btn:hover {
    background: #138a3b;
    transform: scale(1.1);
}

/* Button Styles */
.bpw-button {
    background-color: #f59d33;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.bpw-button:hover {
    background-color: #138a3b;
    transform: scale(1.05);
}

/* Chat Bubble Content Styles */
.bpw-chat-bubble-content {
    background-color: #ffffff; /* Light background color */
    color: #ffffff; /* Dark text color for contrast */
    padding: 10px; /* Add padding for spacing */
    border-radius: 15px; /* Rounded corners for a modern look */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transitions */
}

/* Quick Reply Button Styles */
.bpw-bubble-quick_reply {
    background-color: #1c9953;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 5px 0;
    display: inline-block;
}

.bpw-bubble-quick_reply:hover {
    background-color: #138a3b;
    transform: scale(1.05);
}

.bpw-from-user .bpw-chat-bubble .bpw-chat-bubble-content {
    background-color: rgba(217, 130, 43, 0.68); /* Light background color */
}