/* Account pages (Login / Forgot / Reset password) */

/* Paleta de marca oficial (confirmada por Sergio) */
:root {
  --eli-header: #E10719;
  --eli-primary: #0F73AE;
  --eli-primary-hover: #0B5A87;
  --eli-primary-shadow: rgba(15, 115, 174, 0.18);
  --eli-teal: #11A19A;
  --eli-light-blue: #2DAAE0;
  --eli-blue: #0F73AE;
  --eli-green: #0C8E36;
  --eli-green-dark: #086634;
  --eli-lime: #9AC220;
  --eli-orange: #F9B234;
  --eli-yellow: #DFD807;
  --eli-orange-red: #E94E1B;
  --eli-red: #E10719;
  --eli-pink: #D70B52;
  --eli-purple: #951B80;
  --eli-purple-dark: #6A2884;
}

.account-topbar {
  background: white;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
  border-bottom: 1px solid #EDEDF2;
}

.account-topbar-badge {
  background: var(--eli-header);
  color: white;
  font-weight: 800;
  font-size: 1rem;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-topbar-text {
  color: #111827;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
}

.account-hero {
  position: relative;
  min-height: calc(100vh - 64px - 96px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: #F7F7FA;
  overflow: hidden;
}

/* Manchas de color suaves, de fondo — un toque de vida sin saturar */
.account-hero::before,
.account-hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.account-hero::before {
  width: 420px;
  height: 420px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, var(--eli-teal), transparent 70%);
}

.account-hero::after {
  width: 380px;
  height: 380px;
  bottom: -140px;
  right: -100px;
  background: radial-gradient(circle, var(--eli-orange), transparent 70%);
}

.account-hero-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  background: white;
  border-radius: 14px;
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: 0 20px 45px -15px rgba(20, 20, 40, 0.18), 0 2px 8px rgba(20, 20, 40, 0.06);
}

.account-hero-card::before {
  content: '';
  display: block;
  height: 5px;
  border-radius: 3px;
  margin: -0.5rem 0 1.75rem;
  background: linear-gradient(90deg,
    var(--eli-teal), var(--eli-light-blue), var(--eli-blue), var(--eli-green), var(--eli-lime),
    var(--eli-orange), var(--eli-orange-red), var(--eli-red), var(--eli-pink), var(--eli-purple));
}

.account-hero-title {
  color: #111827;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.3px;
  margin: 0 0 1.5rem;
}

.account-hero-label {
  color: #4B5563;
  font-weight: 600;
  font-size: 0.8rem;
  margin: 0 0 0.4rem;
  display: block;
}

.account-input-group {
  position: relative;
  margin-bottom: 1.1rem;
}

.account-input-icon {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  display: flex;
  pointer-events: none;
}

.account-input-group input {
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 0.65rem 0.85rem 0.65rem 2.3rem;
  font-size: 0.88rem;
  color: #111827;
  background: #FAFAFB;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}

.account-input-group input:focus {
  outline: none;
  border-color: var(--eli-primary);
  background: white;
  box-shadow: 0 0 0 3px var(--eli-primary-shadow);
}

.account-hero-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.4rem;
}

.account-login-btn {
  background: var(--eli-primary);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.account-login-btn:hover { background: var(--eli-primary-hover); }
.account-login-btn:active { transform: translateY(1px); }

.account-hero-links {
  margin-top: 1.25rem;
  text-align: center;
}

.account-hero-links a {
  color: var(--eli-primary);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
}

.account-hero-links a:hover { text-decoration: underline; }

.account-hero-remember {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4B5563;
  font-size: 0.8rem;
  margin-top: 0.6rem;
}

.account-hero-remember label { display: flex; align-items: center; gap: 0.4rem; cursor: pointer; margin: 0; }

.account-alert {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #B91C1C;
  border-radius: 8px;
  padding: 0.55rem 0.8rem;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.account-subtitle {
  color: #6B7280;
  font-size: 0.85rem;
  margin: -1rem 0 1.5rem;
}

/* ── Footer ──────────────────────────────────────────────── */
.account-footer {
  background: #14161A;
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg,
    #11A19A 0 12.5%, #2DAAE0 12.5% 25%, #0C8E36 25% 37.5%, #F9B234 37.5% 50%,
    #E94E1B 50% 62.5%, #E10719 62.5% 75%, #D70B52 75% 87.5%, #951B80 87.5% 100%) 4;
}

.account-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.75rem 1.5rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.account-footer-label {
  color: rgba(255,255,255,0.65);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  flex-basis: 100%;
}

.account-footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.account-badge-placeholder {
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 0.3rem 0.65rem;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.account-footer-social {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.account-footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-footer-stores {
  display: flex;
  gap: 0.5rem;
}

.account-store-placeholder {
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: nowrap;
}

.account-footer-copy {
  text-align: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem;
  padding: 0 1.5rem 1.25rem;
}

/* ── Rediseño (brand kit ELI 2025): mismos tokens que css/ui ── */
body { font-family: var(--ui-font); color: var(--ui-text); background: var(--ui-bg); }
.account-topbar { gap: 0.7rem; }
.account-topbar-logo { height: 34px; }
.account-topbar-text { display: flex; flex-direction: column; line-height: 1.05; }
.account-topbar-text small { font-size: 0.62rem; font-weight: 600; color: var(--ui-muted); }
.account-topbar-text span { font-family: var(--ui-font-display); font-size: 1.35rem; letter-spacing: 0.04em; font-weight: 400; }
.account-hero-card { border-radius: var(--ui-radius); box-shadow: var(--ui-shadow-lg); }
.account-hero-title { font-family: var(--ui-font-display); font-weight: 400; font-size: 2.6rem; letter-spacing: 0.03em; }
.account-hero-label { font-weight: 600; color: var(--ui-text); }
.account-input-group { border-radius: var(--ui-radius-sm); }
.account-hero-card .btn, .account-hero-card button[type=submit] { border-radius: 999px; background: var(--ui-accent) !important; border-color: var(--ui-accent) !important; color: #fff; font-weight: 700; padding-left: 1.5rem; padding-right: 1.5rem; }
.account-hero-card .btn:hover, .account-hero-card button[type=submit]:hover { background: var(--ui-accent-dark) !important; }
.account-hero-card a { color: var(--ui-accent); font-weight: 600; }
.account-footer-entidades { height: 26px; max-width: 100%; object-fit: contain; opacity: 0.85; }
