form {
  width: 100%;
}

form .form-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

form .form-content .input-group {
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 0.6rem;
}

form .form-footer {
  margin-top: 0.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.6rem;
}

form label {
  font-size: 1em;
  color: #888;
  margin-bottom: 0.4em;
  display: block;
}

form input,
form textarea {
  width: 100%;
  padding: 0.8em 1em;
  border: solid 1px #444;
  background: #222;
  color: #eee;
  font-size: 1em;
  outline: none;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

form input:focus,
form textarea:focus {
  background: #1a1a1a;
  box-shadow: 0 0 0 2px #444;
}

form button,
form input[type="submit"] {
  background: #444;
  color: #fff;
  border: none;
  padding: 0.9em 1.5em;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.2s;
}

form button:hover,
form input[type="submit"]:hover {
  background: #666;
}