/* Chat room styles */
#chat-room {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px;
    height: 400px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
    display: flex;
    resize: both; /* Allow resizing both width and height */
    flex-direction: column; /* Align children in a column */
    }

    #chat-messages {
    flex: 1; /* Grow to fill remaining space */
    overflow-y: auto;
    padding: 10px;
    }

    #chat-input,
    #chat-send-btn {
    width: calc(100% - 20px);
    margin: 10px;
    padding: 10px;
    border: none;
    outline: none;
    }

    #chat-send-btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background-color 0.3s ease;
    }

    #chat-send-btn:hover {
    background-color: #0056b3;
    }

    .chatroom-label {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #333; /* Choose your preferred color */
    margin-right: 10px;
    border-radius: 10px;
    }

    .chat-btn {
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background-color: #007bff; /* Choose your preferred background color */
    border: none;
    padding: 2px 10px;
    cursor: pointer;
    border-radius: 10px;
    }

    .chat-btn:hover {
    background-color: #0056b3; /* Choose your preferred hover background color */
    }
    
#chat-messages {
    max-height: calc(100% - 70px); /* Adjust based on other elements' heights */
    overflow-y: auto;
}

#chat-input {
    width: calc(100% - 100px); /* Adjust based on other elements' widths */
    margin-right: 10px;
}

#chat-send-btn {
    width: 80px;
}    