form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

label {
  display: block;
  color: var(--gray-300);
  font-weight: 500;
  margin-bottom: var(--space-2);
  font-size: var(--type-body);
}

input[type="email"],
input[type="password"],
input[type="text"],
input[type="number"],
input[type="datetime-local"],
textarea {
  width: 100%;
  padding: var(--space-4) var(--space-4);
  border: 1px solid var(--gray-800);
  border-radius: var(--radius-md);
  background: var(--gray-1000);
  color: var(--gray-100);
  font-size: var(--type-input);
  font-family: var(--font-mono);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
}

textarea {
  resize: vertical;
  min-height: 80px;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-600);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gray-600);
  background: var(--gray-900);
  box-shadow: 0 0 0 3px var(--focus-ring);
}

input[type="radio"] {
  width: auto;
  accent-color: var(--text);
  cursor: pointer;
}

button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-mono);
}
