/* Reseteo básico */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
}

/* Layout general */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Main container para centrar el formulario */
.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: #f0f2f5; /* opcional */
}

/* Formulario */
.formulario {
  background-color: #fff;
  padding: 30px 40px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  width: 360px;
  box-sizing: border-box;
}

/* Título */
.formulario h2 {
  margin-bottom: 24px;
  text-align: center;
  color: #333;
}

/* Labels e inputs */
label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #555;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #007bff;
  outline: none;
}

/* Botón */
button[type="submit"] {
  width: 100%;
  padding: 12px 0;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Texto debajo */
.formulario p {
  text-align: center;
  margin-top: 18px;
  color: #555;
  font-size: 0.9rem;
}

.formulario p a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.formulario p a:hover {
  text-decoration: underline;
}
