html,
body {
  height: 100%;
}

body {
  display: flex;
  align-items: center;
  padding: 40px 0;
  background-color: #0b1120;
  color: #e5e7eb;
}

/* Toque de color sutil en el fondo, alineado al acento índigo del app */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(1100px 550px at 50% -10%, rgba(79, 70, 229, 0.18), transparent 60%);
  pointer-events: none;
}

/* La tarjeta del formulario (card oscura, como el resto de la UI) */
.form-signin {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 2.25rem 2rem;
  margin: auto;
  background: #131c2e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.form-signin img {
  max-width: 96px;
}

.form-signin h1 {
  color: #f8fafc;
  letter-spacing: 0.02em;
}

.form-signin .checkbox {
  font-weight: 400;
}

.form-signin .form-floating:focus-within {
  z-index: 2;
}

.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* Inputs oscuros */
.form-signin .form-control {
  background-color: #0f172a;
  border-color: rgba(255, 255, 255, 0.10);
  color: #e5e7eb;
}

.form-signin .form-control:focus {
  background-color: #0f172a;
  border-color: #4f46e5;
  color: #fff;
  box-shadow: 0 0 0 0.2rem rgba(79, 70, 229, 0.30);
}

.form-signin .form-floating > label {
  color: #94a3b8;
}

/* Botón principal en índigo (en vez del outline-dark del tema viejo) */
.form-signin .btn-outline-dark {
  color: #fff;
  background: #4f46e5;
  border-color: #4f46e5;
}

.form-signin .btn-outline-dark:hover,
.form-signin .btn-outline-dark:focus {
  color: #fff;
  background: #4338ca;
  border-color: #4338ca;
  box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.35);
}

.form-signin .text-muted {
  color: #94a3b8 !important;
}

.bd-placeholder-img {
  font-size: 1.125rem;
  text-anchor: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

@media (min-width: 768px) {
  .bd-placeholder-img-lg {
    font-size: 3.5rem;
  }
}

.otp-input {
  flex: 1;
  margin-right: 5px;
  font-weight: bold;
  font-size: xx-large;
  text-align: center;
}
