.chat-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 80%;
    max-width: 700px;
}

.messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    background-color: #dfdfdf;
}

.message {
    margin-bottom: 10px;
}

.own-message {
    text-align: right;
}

.contact-message {
    text-align: left;
}

.message-bubble {
    display: inline-block;
    padding: 10px;
    border-radius: 10px;
    max-width: 70%;
}

.own-bubble {
    background-color: #dcf8c6;
    align-self: flex-end;
}

.contact-bubble {
    background-color: #ffffff;
    align-self: flex-start;
}

.message-text {
    font-size: 2em;
    margin: 0;
}

.message-time {
    font-size: 1.5em;
    margin-top: 5px;
    color: #666;
}

#chatForm {
    margin: 0 !important;
    max-width: none;
}

.chat-contents {
    display: flex;
    justify-content: center;
}

button.chat {
    width:40%;
}

/* Container for the chat form */
#chatFormSelect {
    max-width: 400px; /* Set a maximum width */
    margin: 20px auto; /* Center the form horizontally */
    padding: 20px; /* Add some padding */
    border: 1px solid #ccc; /* Light border for the form */
    border-radius: 8px; /* Rounded corners */
    background-color: #f9f9f9; /* Light background color */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

/* Style for the select element */
#contactUserSelect {
    width: 100%; /* Full width of the parent container */
    padding: 10px; /* Add some padding */
    margin-top: 10px; /* Space above the select */
    border: 1px solid #ccc; /* Border color */
    border-radius: 5px; /* Rounded corners */
    font-size: 16px; /* Font size */
    background-color: #fff; /* Background color */
    cursor: pointer; /* Change cursor on hover */
}

/* Style for the options in the select */
#contactUserSelect option {
    padding: 10px; /* Padding for the option items */
}