h2 {
    padding-top: 10px;
    text-align: center;
    width: 100%; /* Ensure it takes the full width */
    margin: 0 auto; /* Center it horizontally */
}

.login-form {
    width: 340px;
    max-height: 500px; /* Set a maximum height for the form */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
    border: 2px solid #007bff;
    padding: 1px 16px;
    /*box-sizing: border-box;*/
    margin: 0 auto;
    text-align: center;
    font-family: Arial, sans-serif;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center; /* Changed to center for better alignment */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.login-form input[type="text"],
.login-form input[type="password"] {
    /*width: calc(100% - 20px);*/
    width: 100%; /* Adjusted width to 100% */
    padding: 10px;
    margin: 10px 0;
    box-sizing: border-box;
    font-size: 15px;
}

.login-form button {
    /*width: calc(100% - 20px);*/
    width: 100%; /* Adjusted width to 100% */
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    margin: 10px 0;
    cursor: pointer;
}

/*.signup-form .google-button {
    background-color: #db4437;
}*/

.login-form a {
    /*color: #007bff;*/
    text-decoration: none;
}

.button {
    background-color: white;
    color: #757575;
    border: 1px solid #dcdcdc;
    width: 100%; /* Ensures it aligns with input boxes */
    padding: 10px;
    margin: 10px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.error_message{
    color: red;
    font-size: 14px;
}

.text-muted {
    color: #6c757d;
    font-size: 0.875em;
    margin-top: 0.25em;
}

input[type="hidden"] {
    display: none;
}

.chat-container {
    width: 110%;
    display: flex;
    align-items: center;
    background-color: #007bff; /* Blue background color */
    padding: 10px;
    margin-top: -5px;
    margin-left: 20px;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 19px;
    font-weight: bold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
.chat-image {
    margin-left: 40%;
    border-radius: 50%;
    color: white;
    padding: 1px;
    width: 70px;
    height: 50px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background-color: #007bff;
}

/* Media query for mobile devices */
@media (max-width: 600px) {
    /* Adjust login container */
    .login-form {
        bottom: 10px;
        right: 10px;
        width: 85%;
    }
}