/* css/styles.css */

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevents scrolling */
}

.container {
    display: flex;
    width: 100%;
    height: 100%;
}

.video-container {
    flex: 3; /* Takes 3 parts of the available space */
    height: 100%; /* Full height of the container */
    padding: 0; /* No padding for full usage of space */
}

.chat-container {
    flex: 1; /* Takes 1 part of the available space */
    display: flex;
    flex-direction: column;
    padding: 0 20px;
    height: 100%; /* Full height */
}

.video-js {
    width: 100% !important; /* Ensure video fills its container */
    height: 100% !important; /* Ensure video is full height */
    object-fit: cover; /* Ensures video maintains aspect ratio without being cut off */
}

#messages {
    flex: 1;
    list-style: none;
    overflow-y: scroll;
    margin: 0;
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
}

#message-input {
    padding: 10px;
    width: calc(100% - 22px); /* Adjusts input width based on padding and border */
    border: 1px solid #ccc;
}

#send-button {
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}
#send-button:hover {
    background-color: #0056b3;
}
