/* forms.css - Estilos específicos para formularios */

form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-section {
  margin-bottom: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
}

.form-group input:read-only,
.form-group input[readonly] {
  background-color: #f0f0f0;
  color: #555;
  cursor: not-allowed;
}

textarea {
  resize: vertical;
  min-height: 80px;
  max-height: 200px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

input[type="file"] {
  border: none;
  background: none;
}

select:invalid,
input:invalid {
  border-color: #e00;
}

label {
  font-weight: 600;
  color: #333;
}

/* Estilo drag & drop sugerido (puede completarse con JS en módulos futuros) */
input[type="file"]::file-selector-button {
  background-color: #006699;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

input[type="file"]::file-selector-button:hover {
  background-color: #004d66;
}

.info {
  font-size: 0.9rem;
  color: #555;
  margin-top: -0.5rem;
}

input[type="checkbox"] {
  margin-right: 0.5rem;
}
