body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: "Delius", cursive;
  font-weight: 400;
  
  /* Fondo responsivo */
  background: url('../img/loginbackground.png') no-repeat center center fixed;
  background-size: cover;

  color: #333; /* Color del texto por defecto */
}

/* BARRA SUPERIOR */
.topbar {
  background-color: #000;
  color: white;
  padding: 0.75rem 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

/* CONTENEDOR PRINCIPAL */
.main-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CARD (LOGIN Y RECUPERAR) */
.content {
  width: 100%;
  max-width: 360px;
  padding: 1.75rem;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: box-shadow 0.2s ease;
}

.content:focus-within {
  box-shadow:
    0 0 0 3px rgba(0,0,0,0.25),
    0 10px 25px rgba(0,0,0,0.25);
}

/* TITULO */
h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* INPUTS */
input {
  width: 100%;
  padding: 0.6rem;
  margin-bottom: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 0.25rem;
  font-size: 0.95rem;
}

input:focus {
  outline: none;
  border-color: #000;
}

/* BOTON */
button {
  width: 100%;
  padding: 0.6rem;
  background: #000;
  color: white;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.95rem;
}

button:hover {
  opacity: 0.85;
}

/* LINK */
.link {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  cursor: pointer;
  color: #000;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

/* MENSAJE (RECUPERAR) */
.message {
  text-align: center;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: green;
}
