 /* Intended to follow OOCSS styling */

/* General styling setup for all content */
.chat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4vh;
    max-width: 100vw;
    max-height: 70vh;
}

/* Styles the header (the word Chat) */
.chat-title {
    font-size: 2.6em;
    margin: 0;
    padding: 0;
}

/* The styling for the chat box is directly from the template. I have no idea
if using px for the border and font is allowed but I'd appreciate not being marked down for it
as I didn't want to change the provided chat box code. */
/* Styles the box that displays the chat */
.chat-display {
    width: 100%;
    height: 42vh;
    padding: 1.5% 2%;
    box-sizing: border-box;
    border: 2px solid #ccc; /* Provided by template */
    border-radius: 4px; /* Provided by template */
    background-color: #f8f8f8;
    font-size: 16px; /* Provided by template */
    resize: none;
    overflow-y:auto
  }

/* Defines placement for the buttons and input box, and space between them */
.action-row {
    display: flex;
    flex-direction: row;
    gap: 3%;
    justify-content: center;
    padding: 0; 
}

/* Styles the input box */
.chat-input {
    width: 40vw;
    height: 5vh;
    padding: 0;
    margin: 0;

}

/* Styles the leave button */
.leave-button {
    background-color: #FF0000;
    color: #FFFFFF;
    font-weight: bold; 
}

/* Styles the send button */
.send-button {
    width: 5vw;
    height: 5vh;
    cursor: pointer;
    border: none;
    background-color: #FFFFFF;
}

/* Styles the image displayed as the send button */
.send-button img {
    width: 100%;
    height: auto;
    min-width: 3vh;
    max-width: 6vh;
}

/* Changes the cursor to a pointer and makes buttons transluscent when hovering */
.chat-button:hover {
    opacity: 0.5;
    cursor: pointer;
}

