/* ==============================
   Login / CursosManifestación
   ============================== */

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu;
  background: #0b0b0c;
  color: #e5e7eb;
  margin: 0;
  padding: 0;
}

/* Contenedor */
.wrap {
  max-width: 420px;
  margin: 8vh auto;
  padding: 24px;
  border: 1px solid #1f2937;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
}

/* Marca */
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #7c3aed22;
  border: 1px solid #7c3aed55;
}

/* Hint */
.hint {
  color: #9ca3af;
  font-size: 14px;
  margin-bottom: 18px;
}

/* Input */
input {
  width: 90%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #374151;
  background: #0f1115;
  color: #e5e7eb;
  outline: none;
  font-size: 15px;
  margin-bottom: 12px;
}

/* Botón */
button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: none;
  background: white;
  color: #0b0b0c;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

/* Error */
.err {
  margin-top: 10px;
  color: #fca5a5;
  font-size: 14px;
}

/* Link Volver */
a.back {
  display: inline-block;
  margin-top: 16px;
  color: #93c5fd;
  text-decoration: none;
  font-size: 14px;
}

a.back:hover {
  text-decoration: underline;
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 480px) {
  .wrap {
    margin: 5vh 16px;
    padding: 20px;
  }

  .brand {
    font-size: 16px;
  }

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