body {
  font-family: Arial, sans-serif;
  background-color: #162237;
  color: #FFFFFF;
  margin: 0;
  padding: 40px;
}

.container {
  background: #ffffff;
  color: #162237;
  border-radius: 10px;
  max-width: 650px;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
  margin: auto;
  position: relative;
}

textarea, input {
  width: 100%;
  padding: 10px;
  font-size: 16px;
  margin-top: 10px;
  border-radius: 4px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  resize: none;
}

button {
  background-color: #F15F24;
  color: white;
  border: none;
  padding: 10px;
  margin-top: 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #d84e1d;
}

#chatlog {
  margin-top: 20px;
  white-space: pre-wrap;
  font-size: 16px;
  line-height: 1.5;
}

.submit-block {
  background-color: #86DABD;
  color: #162237;
  padding: 15px;
  border-radius: 8px;
  margin: 30px auto 0 auto;
  text-align: center;
  max-width: 650px;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

.submit-block input {
  margin-top: 10px;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#instructions {
  background: white;
  color: #162237;
  padding: 40px;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
}

#instructions h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.side-logo {
  max-height: 100px;
  width: auto;
  opacity: 0.85;
  flex-shrink: 0;
  margin-top: 0;
}

@media (max-width: 900px) {
  .wrapper {
    flex-direction: column;
    align-items: center;
  }

  .side-logo {
    max-height: 80px;
    margin: 10px 0;
  }
}

#typingIndicator {
  font-style: italic;
  color: #666;
  margin-top: 15px;
  font-size: 14px;
  height: 1.5em;
}

.hidden {
  display: none !important;
}
