/* Pantallas de ingreso y registro: panel de marca + formulario. */

.auth-layout {
  display: grid;
  grid-template-columns: minmax(320px, 440px) 1fr;
  min-height: 100vh;
}

.auth-brand {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding: 40px;
  color: #fff;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(0, 194, 168, .35), transparent 60%),
    radial-gradient(90% 70% at 0% 100%, rgba(30, 136, 255, .45), transparent 60%),
    var(--ralven-navy);
}

.auth-brand img { align-self: flex-start; height: 33px; width: auto; }

.auth-claim {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 650;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.auth-puntos { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }

.auth-puntos li {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, .86);
}

.auth-puntos li::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 194, 168, .25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.2 2.2 4.8-4.8' fill='none' stroke='%2300C2A8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

.auth-pie { margin: 0; font-size: 12px; color: rgba(255, 255, 255, .55); }

.auth-main {
  display: grid;
  place-items: center;
  padding: 40px 20px;
}

.auth-form { width: 100%; max-width: 420px; }
.auth-form h1 { margin: 0; font-size: 28px; }
.auth-sub { margin: 6px 0 24px; color: var(--ui-text-muted); }
.auth-form form { display: grid; gap: 16px; }
.auth-form form .field + .field { margin-top: 0; }
.auth-form button[type="submit"] { margin-top: 8px; min-height: 48px; }
.auth-form .alert { margin: 0 0 16px; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-alternativa {
  margin: 24px 0 0;
  text-align: center;
  color: var(--ui-text-muted);
  font-size: 14px;
}

.auth-alternativa a { font-weight: 600; }

.auth-logo-movil { display: none; height: 28px; width: auto; margin-bottom: 28px; }

@media (max-width: 860px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand { display: none; }
  .auth-main { place-items: start center; padding-top: 48px; }
  .auth-logo-movil { display: block; }
}

@media (max-width: 420px) {
  .field-row { grid-template-columns: 1fr; }
}

.label-fila { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.label-fila a { font-size: 13px; font-weight: 600; }

.auth-form .auth-reenviar { display: block; margin: 0; }
.auth-reenviar .auth-alternativa { margin-top: 8px; }
.auth-form .auth-reenviar button.btn-link {
    display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 4px;
    border: 0; background: none;
    color: var(--ralven-blue); font: inherit; font-weight: 600; cursor: pointer;
    text-decoration: underline;
}
.auth-form .auth-reenviar button.btn-link:focus-visible { outline: 3px solid var(--ralven-blue); outline-offset: 2px; }
