
/* App wrapper */
#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100vw;
}

/* Container the form sits in */
#tweet-form {
  width: min(700px, 100% - 2rem);
  margin: 1rem auto 0;        /* closer to logo, less vertical space */

  display: grid;
  gap: 0.5rem;

  color: #fff;                /* white text */
}

/* Inputs + textarea */
#tweet-form textarea,
#tweet-form input[type="text"],
#tweet-form select,
#tweet-form input[type="file"] {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #555;     /* thin subtle border */
  background: #222;           /* simple dark grey background */
  color: #fff;
  font: inherit;
}

/* Keep textarea reasonable by CSS, ignore "rows" */
#tweet-form textarea {
  min-height: clamp(4rem, 15vh, 10rem); /* smaller default */
  resize: vertical;
}

/* Button */
#tweet-form button {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  border: 1px solid magenta;
  background: #333;
  color: #fff;
  font: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}
#tweet-form button:hover {
  background: #444;
}
#tweet-form button:active {
  transform: scale(0.98);
}


