/*pure as snow*/
body {
  margin: 0;
  padding: 0;
  font-family: "Courier New", monospace;
  background-color: #000000; /* dark grey background like fatigues */
  color: #2e2e2e;
}

.page-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: none;

}
.grid-container {
  display: grid;
    grid-template-columns: repeat(2, 1fr); /* Adjust the number of columns */
    gap: 10px; /* Adjust the gap between items */
  background-color: #3a4a3f; /* deep army green */
  border: 4px solid #1a1a1a;
  border-radius: 12px;
  padding: 20px;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 0 20px rgba(0,0,0,0.6);

  /* allow resizing */
  resize: both;
  overflow: auto;
}


.container {
  position: absolute;   /* we’ll scatter them later */
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,0.8); /* light floating bubble */
  box-shadow: 0px 3px 6px rgba(0,0,0,0.1);
}

h1, h2 {
  color: #d4af37; /* gold for contrast */
  text-align: center;
  letter-spacing: 2px;
}

.chatbox {
  background-color: #2e2e2e;
  border: 2px solid #d4af37;
  border-radius: 6px;
  padding: 10px;
  min-height: 200px;
  height: 300px;
  display: flex;
  flex-direction: column; /* stack messages + form vertically */
  font-size: 14px;
  color: #f4f4f4;

  /* resizable */
  resize: both;
  overflow: hidden; /* stop double scrollbars */
}

#messages {
  flex: 1;                /* take up remaining space */
  overflow-y: auto;        /* scroll only this section */
  padding-right: 5px;      /* breathing room */
}

#messages div {
  margin-bottom: 10px;
}

#chatForm {
  display: flex;
  margin-top: 10px;
  flex-shrink: 0; /* keep form pinned at bottom */
}

#messages div {
  margin-bottom: 10px;
}

.user-msg {
  color: #9acd32; /* yellow-green for user text */
}

.alpaca-msg {
  color: #d4af37; /* gold for ALPACA replies */
  font-style: italic;
}

#chatForm {
  display: flex;
  margin-top: 10px;
}

#userInput {
  flex: 1;
  padding: 10px;
  border: 2px solid #1a1a1a;
  border-radius: 6px;
  background-color: #3a4a3f;
  color: #f4f4f4;
}

#userInput::placeholder {
  color: #bbb;
}

button {
  padding: 10px 20px;
  margin-left: 10px;
  background-color: #d4af37;
  border: none;
  border-radius: 6px;
  color: #1a1a1a;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

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