
/* Estilos modernos para formularios - 2025 */
form {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
  font-family: system-ui, sans-serif;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

input, textarea, button {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0,119,204,0.2);
  outline: none;
}

button {
  background: #0077cc;
  color: white;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

button:hover {
  background: #005fa3;
}

@media (prefers-color-scheme: dark) {
  form {
    background: #1e1e1e;
    color: #f0f0f0;
  }

  input, textarea {
    background: #2c2c2c;
    color: #f0f0f0;
    border: 1px solid #555;
  }

  button {
    background: #3399ff;
  }
}
