/* assets/css/bfx-login.css — Pantalla de login de BlastFit */
body.bf-login { padding: 0; min-height: 100vh; }

.bfl { min-height: 100vh; display: grid; grid-template-columns: 1fr; }
@media (min-width: 960px) { .bfl { grid-template-columns: 1.05fr 1fr; } }

/* Lado visual */
.bfl-visual { position: relative; overflow: hidden; background: var(--bf-ink); min-height: 300px; }
.bfl-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.bfl-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,0) 30%, rgba(18,18,18,.85) 100%); }
.bfl-visual__copy { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; color: #fff; }
.bfl-visual__big {
  font-family: var(--bf-display); font-weight: 800; letter-spacing: -.03em; line-height: .98;
  font-size: clamp(2.1rem, 7vw, 4.4rem); margin: 14px 0 0;
}
.bfl-visual__big .bf-mark { display: inline-block; margin-top: 6px; padding: 0 .14em .04em; background: var(--bf-volt); color: var(--bf-ink); transform: rotate(-1.5deg); }
.bfl-perks { display: none; list-style: none; padding: 0; margin: 22px 0 0; }
.bfl-perks li { display: flex; align-items: center; gap: 10px; margin: 8px 0; font-weight: 600; }
.bfl-perks i { width: 32px; height: 32px; border-radius: 10px; background: var(--bf-blast); color: var(--bf-ink); display: inline-flex; align-items: center; justify-content: center; font-size: .85rem; }
@media (min-width: 960px) {
  .bfl-visual { min-height: 100vh; position: sticky; top: 0; }
  .bfl-visual__copy { left: 48px; bottom: 48px; right: 48px; }
  .bfl-perks { display: block; }
}
@media (max-width: 959px) {
  .bfl-visual { min-height: 0; height: 38vh; max-height: 340px; }
}

/* Lado del formulario */
.bfl-panel {
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 28px 20px calc(28px + env(safe-area-inset-bottom));
}
.bfl-logo { margin: 0 0 22px; }
.bfl-logo .bf-wordmark { font-size: 1.6rem; }
@media (max-width: 959px) {
  .bfl-panel { margin-top: -36px; position: relative; z-index: 2; padding-top: 0; }
  .bfl-logo { display: none; }
}
.bfl-card {
  width: 100%; max-width: 440px; background: var(--bf-surface); border: 1px solid var(--bf-line);
  border-radius: var(--bf-r-lg); padding: 28px 24px; box-shadow: var(--bf-shadow-lg);
}
.bfl-title { font-family: var(--bf-display); font-weight: 800; font-size: 1.75rem; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 8px; }
.bfl-sub { color: var(--bf-ink-2); margin: 0 0 20px; }

.bfl-label { display: block; font-weight: 700; font-size: .92rem; margin: 0 0 8px; }
.bfl-field {
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 6px 0 16px;
  border: 2px solid var(--bf-line); border-radius: 16px; background: var(--bf-surface);
  transition: border-color .15s, box-shadow .15s;
}
.bfl-field:focus-within { border-color: var(--bf-ink); box-shadow: 0 0 0 4px var(--bf-blast-soft); }
.bfl-field > i { color: var(--bf-muted); }
.bfl-field input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; height: 52px;
  font: 600 1.08rem/1 var(--bf-font); color: var(--bf-ink); letter-spacing: .01em;
}
body.ufx-body .bfl-field input:focus-visible { outline: none; }
.bfl-field input::placeholder { color: #9A9DA3; font-weight: 500; }
.bfl-eye { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; cursor: pointer; color: var(--bf-ink-2); }
.bfl-eye:hover { background: var(--bf-surface-2); }
.bfl-hint { margin: 8px 2px 18px; color: var(--bf-muted); font-size: .86rem; }

.bfl-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 14px; margin: 0 0 18px; font-size: .93rem; font-weight: 500; }
.bfl-alert i { margin-top: 3px; }
.bfl-alert--error { background: #FDECEA; color: #8E1C1C; }
.bfl-alert--info { background: var(--bf-sky); color: #173B78; }
.bfl-alert[hidden], #bfl-pw[hidden] { display: none; }

.bfl-foot { margin: 18px 0 0; text-align: center; color: var(--bf-ink-2); }
.bfl-legal { max-width: 440px; text-align: center; color: var(--bf-muted); font-size: .84rem; margin: 18px 0 0; }
.bfl-legal a { color: var(--bf-ink-2); }
