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

body {
  font-family: sans-serif;
  background: #f5f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.container {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  max-width: 360px;
  width: 100%;
}

h1 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #003366;
}

/* Oculta elementos con esta clase */
.hidden {
  display: none;
}

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

input, button {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;          /* Alinea el texto dentro del botón/input */
}

/* Contenedor flex para los botones */
.buttons {
  display: flex;
  gap: 0.5rem;
  align-items: center;         /* Centra verticalmente */
}

/* Ambos botones ocupan igual espacio */
.buttons button {
  flex: 1;
}

button[type="submit"] {
  background: #0066cc;
  color: white;
  border: none;
  cursor: pointer;
}

button[type="submit"]:hover {
  opacity: 0.9;
}

#result {
  margin-top: 1rem;
  font-size: 1.2rem;
}
