/* --------------------------------------------------
   Dark form controls (admin tools standard)
   -------------------------------------------------- */

input[type="text"],
input[type="file"],
input[type="password"],
input[type="email"],
input[type="number"],
select,
textarea {
  background: #0f0f0f;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}

/* Placeholder text */
input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

/* Focus ring */
input:focus,
select:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96,165,250,0.18);
}

/* File input button */
input[type="file"]::-webkit-file-upload-button {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  margin-right: 10px;
}

input[type="file"]::file-selector-button {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  margin-right: 10px;
}

input[type="file"]::-webkit-file-upload-button:hover,
input[type="file"]::file-selector-button:hover {
  background: #0b1220;
  border-color: #475569;
}

/* Buttons (subtle admin style) */
button,
input[type="submit"] {
  background: #111827;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 600;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background: #0b1220;
  border-color: #475569;
}

/* Disabled */
input:disabled,
select:disabled,
textarea:disabled,
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Labels + helper text */
label {
  color: #cbd5f5;
}

.hint,
.muted {
  color: #94a3b8;
}

/* Optional helpers */
.input-sm { width: 180px; }
.input-md { width: 260px; }
.input-lg { width: 420px; }

.textarea-sm { min-height: 3em; }
.textarea-md { min-height: 4.5em; }  /* 3 lines */
.textarea-lg { min-height: 8em; width: 450px;}


/* Catch ALL inputs that are not buttons */
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
select,
textarea {
  background: #0f0f0f;
  color: #e5e7eb;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 10px;
  outline: none;
  font-family: inherit;
  font-size: 0.95rem;
}
