.imageboard-window {
  width: 80vw;
  max-width: 700px;
  min-height: 70vh;
  background: rgba(0,0,0,0.7);
  border: 2px solid #555;
  border-radius: 16px;
  padding: 20px;
  margin: 76px auto 40px auto;
  box-shadow: 0 0 24px #222;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  box-sizing: border-box;
}

.image-post {
  background: rgba(30,30,40,0.85);
  border: 1px solid #444;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 8px #1114;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
}

.image-info {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 4px;
}

.image-username {
  font-size: 1em;
  color: #FFD700;
  font-family: monospace;
}

.image-timestamp {
  font-size: 0.95em;
  color: #aaa;
  font-family: monospace;
}

.image-post img {
  max-width: 260px;
  max-height: 260px;
  border-radius: 6px;
  object-fit: contain;
  display: block;
}
.chat-input-area {
  display: flex;
  align-items: center;
  gap: 16px; /* Controls spacing between file input and button */
}

.chat-input-area input[type="file"] {
  flex: 1;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #222;
  color: #fff;
  font-size: 1em;
  height: 40px;
}

.chat-input-area .nav-button {
  background: #444;
  color: #fff;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 1em;
  height: 40px;
  box-sizing: border-box;
  font-weight: bold;
  cursor: pointer;
  line-height: normal;
  margin-left: 0;
}

.chat-input-area input[type="file"]::file-selector-button {
  background: #444;
  color: #fff;
  height: 34px;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.chat-input-area input[type="file"]:focus::file-selector-button {
  outline: 2px solid #666;
  background: #ddd;
}
