    body {
        font-family: Arial, sans-serif;
        background-color: #f1f1f1;
        margin: 0;
        padding: 0;
    }

    .chatbox {
        width: 95%;
        max-width: 500px;
        margin: 100px auto;
        background-color: white;
        border-radius: 10px;
        box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
        overflow: hidden;
    }

    .chatbox-header {
        background-color: #2874f0;
        padding: 15px;
        color: white;
        text-align: center;
        font-size: 1.5em;
    }

    .chatbox-body {
        height: 450px;
        overflow-y: scroll;
        padding: 10px;
        background-color: #fafafa;
        display: flex;
        flex-direction: column; /* Arrange messages in a column */
    }

    .chatbox-message {
        margin-bottom: 10px;
        padding: 10px 15px;
        border-radius: 15px;
        max-width: 70%; /* Limit max width for both user and bot messages */
        line-height: 1.5;
        word-wrap: break-word; /* Allows long words to wrap to the next line */
        display: inline-block; /* Allow messages to size based on content */
    }

    .chatbox-message.user {
        background-color: #2874f0;
        color: white;
        align-self: flex-end; /* Aligns user messages to the right */
        margin-left: auto; /* Push user messages to the right */
        min-width: 50px; /* Minimum width for user messages */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Add shadow */
    }

    .chatbox-message.bot {
        background-color: #ffffff; /* White background for bot messages */
        color: #333;
        align-self: flex-start; /* Aligns bot messages to the left */
        margin-right: auto; /* Push bot messages to the left */
        min-width: 50px; /* Minimum width for bot messages */
        border: 1px solid #ddd; /* Light border */
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
        transition: background-color 0.3s; /* Smooth background change */
    }

    .chatbox-message.bot:hover {
        background-color: #f9f9f9; /* Light grey on hover for interaction feedback */
    }

    .chatbox-input {
        display: flex;
        padding: 10px;
        border-top: 1px solid #ddd;
        background-color: white;
    }

    .chatbox-input input {
        flex: 1;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 1em;
    }

    .chatbox-input button {
        background-color: #2874f0;
        color: white;
        border: none;
        padding: 10px;
        border-radius: 5px;
        margin-left: 10px;
        cursor: pointer;
        font-size: 1em;
        transition: background-color 0.3s;
    }

    .chatbox-input button:hover {
        background-color: #005bb5;
    }

    .service-button {
        display: inline-block;
        padding: 10px 15px;
        margin: 5px;
        background-color: #2874f0;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        text-align: center;
        font-size: 14px;
        transition: background-color 0.3s;
    }

    .service-button:hover {
        background-color: #005bb5;
    }

    .services-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 10px;
    }
    .chat-status {
    padding: 10px;
    background-color: #f1f1f1; /* Optional: background color */
    text-align: center; /* Center align text */
}

.chatbox-message i {
    font-size: 1.2em; /* Adjust icon size */
}

