/* ==========================================================================
   cuenta.css — Páginas públicas: landing + login
   ========================================================================== */

body.publica {
  min-height: 100vh;
  background: linear-gradient(180deg, #eef1f6, #f6f7fb);
}

/* ---- Botón de marca (color resaltante) ---- */
.btn-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s ease, transform .05s ease;
}
.btn-brand:hover { filter: brightness(1.06); }
.btn-brand:active { transform: translateY(1px); }
.btn-brand--full { width: 100%; padding: 13px; font-size: 15px; }
.btn-brand--lg { padding: 13px 26px; font-size: 15px; }

/* La landing tiene su propia hoja (cuenta/landing.css) porque usa un lenguaje
   visual distinto al del login. Acá solo queda lo del login. */

/* ==========================================================================
   Login (tarjeta)
   ========================================================================== */
.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 34px 32px;
  box-shadow: 0 24px 60px rgba(16, 24, 40, .12);
}

.login-logo { display: flex; justify-content: center; margin-bottom: 18px; }
.login-logo img { height: 64px; width: auto; }

.login-title { margin: 0; text-align: center; font-size: 24px; font-weight: 800; color: #111827; }
.login-sub { margin: 6px 0 24px; text-align: center; font-size: 14px; color: var(--text-soft); }

.login-form { display: flex; flex-direction: column; }
.login-label { font-size: 13px; font-weight: 600; color: #374151; margin: 12px 0 6px; }

.login-field {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.login-field:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(66, 105, 90, .12);
  background: #fff;
}
.login-field__icon { color: var(--brand); flex: 0 0 auto; display: flex; }
.login-field__icon svg { width: 18px; height: 18px; }
.login-field input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 0;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
}
.login-field__eye {
  border: none;
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  display: flex;
  padding: 4px;
}
.login-field__eye svg { width: 18px; height: 18px; }

.btn-brand--full { margin-top: 20px; }

/* Separador "o" */
.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #9ca3af;
  font-size: 12px;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Botón Google */
.btn-google {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 11px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.btn-google:hover { background: #f8fafc; border-color: #cbd5e1; }
.btn-google__icon { width: 20px; height: 20px; }

.login-error {
  margin: 14px 0 0;
  padding: 10px 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  color: #b91c1c;
  font-size: 13px;
  text-align: center;
}

.login-foot { margin: 22px 0 0; text-align: center; font-size: 12px; color: #9ca3af; }
.login-foot strong { color: var(--text-soft); }
