body{
    margin: 0;
    padding: 0;
}

.form-message{
    width: 300px;
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

#messageInput{
    width: 200px;
    margin-bottom: 40px;
    padding: 10px 20px;
    border-radius: 25px;
    border: none;
    background-color: yellow;
    color: black;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#messageInput::placeholder {
  color: rgb(0, 0, 0); 
  opacity: 1;  
}

#sendMessageButton{
    width: 50px;
    height: 35px;
    border-radius: 25px;
    border: none;
    background-color: black;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.327);
    color: white;
}

#sendMessageButton:hover{
    background-color: rgb(35, 35, 35);
}

#messagesContainer {
  max-width: 600px;
  margin: 10px auto;
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#messagesContainer div {
  background: #e0f7fa;
  padding: 10px 15px;
  border-radius: 20px;
  align-self: flex-start;
  max-width: 75%;
  word-wrap: break-word;
}


/* ============================== */

#scrollToBottomButton {
    width: 50px;
    height: 50px;
  margin: 0 auto;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  display: none; /* awalnya disembunyikan */
  z-index: 999;
}

#scrollToBottomButton:hover {
  background-color: #0097a7;
}
