/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #1e3c72, #2a5298);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Contenedor del formulario */
form {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Título */
h1 {
  text-align: center;
  font-size: 1.8rem;
  color: #ffffff;
}

/* Inputs */
input {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

input::placeholder {
  color: #ddd;
}

/* Botón */
button {
  padding: 0.75rem;
  background-color: #00c6ff;
  background-image: linear-gradient(45deg, #00c6ff, #0072ff);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

button:hover {
  background-image: linear-gradient(45deg, #0072ff, #00c6ff);
}

/* Mensaje */
#mensaje {
  text-align: center;
  font-size: 0.95rem;
  margin-top: 0.5rem;
  color: #ffeb3b;
}