* {
  cursor: url("/assets/cursor.svg"), auto;
}

body {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.87);
  background-color: #0f0f0f;
}

#app {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.name-input {
  position: absolute;
  width: 200px;
  height: 45px;
  font-size: 22px;
  font-family: "Georgia", serif;
  text-align: left;
  color: #000;
  background-color: transparent;
  border: none;
  outline: none;
  z-index: 1000;
  transform: translate(-50%, -50%);
}

.name-input:focus {
  outline: none;
  box-shadow: none;
}

.code-input {
  position: absolute;
  color: #ffffff;
  width: 300px;
  height: 40px;
  font-family: "Georgia", serif;
  font-size: 25px;
  text-align: center;
  z-index: 1000;
  border: none;
  outline: none;
  background-color: transparent;

  transform: translate(-50%, -50%); /* centers the box */
}

.code-input:focus {
  outline: none;
  box-shadow: none;
}

.chat {
  position: absolute;
  bottom: 70px;
  left: 20px;
  width: 300px;
  max-height: 250px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  z-index: 1000;
  color: white;
  font-family: sans-serif;
}

#chatMessages {
  height: 180px;
  overflow-y: auto;
  margin-bottom: 5px;
  font-size: 14px;
}

#chatInput {
  width: calc(100% - 70px);
  padding: 4px;
  font-size: 14px;
}

#sendChat {
  width: 60px;
  padding: 4px;
  font-size: 14px;
}

.chat.hidden {
  display: none;
}

.btnHidden {
  display: none;
}

#toggleChat {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 1001;
  background-color: #bb9e61;
  color: rgb(0, 0, 0);
  border: 5px solid #744802;
  border-radius: 8px;
  padding: 11px 15px;
  font-size: 20px;
  font-family: "Georgia", serif;
  font-weight: normal;
  cursor: pointer;
  transition: background 0.3s ease;
}

#toggleChat:hover {
  background-color: #c6b38b;
}
