/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f4f4f4;
  color: #333;
  line-height: 1.6;
  padding: 20px;
}

h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 20px;
  color: #333;
}

/* Formulario */
form {
  background-color: white;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

label {
  font-size: 16px;
  margin-bottom: 8px;
  display: block;
}

input {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f1f1f1;
}

button {
  background-color: #28a745;
  color: white;
  font-size: 18px;
  padding: 12px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

button:hover {
  background-color: #218838;
}

p {
  color: red;
  font-size: 14px;
  text-align: center;
  margin-top: 10px;
}

/* Media Queries para Dispositivos Móviles */
@media (max-width: 768px) {
  h1 {
    font-size: 24px;
  }

  form {
    padding: 15px;
  }

  label {
    font-size: 14px;
  }

  input, button {
    font-size: 14px;
    padding: 10px;
  }

  button {
    font-size: 16px;
  }
}
