/* First-login forced password reset overlay. Namespaced .flr-*. */

/* The bottom-corner photo-scroller is a public/logged-out flourish; once a
   member is signed in they get the personalised portal instead. */
body.nri-authed .nlh-corner { display: none !important; }

.flr-lock { overflow: hidden; }
.flr-overlay {
  position: fixed; inset: 0; z-index: 100060;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(18, 14, 4, .66); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  animation: flrFade .25s ease;
}
@keyframes flrFade { from { opacity: 0; } to { opacity: 1; } }

.flr-card {
  width: min(440px, 100%); background: #fff; border-radius: 22px; padding: 30px 30px 32px;
  box-shadow: 0 40px 110px -24px rgba(0, 0, 0, .55);
  animation: flrPop .32s cubic-bezier(.2, .9, .25, 1);
}
@keyframes flrPop { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }

.flr-kicker { display: block; font-family: Montserrat, sans-serif; font-size: 11px; font-weight: 800; letter-spacing: .16em; color: var(--red-primary, #E31E24); }
.flr-title { margin: 8px 0 0; font-family: Montserrat, sans-serif; font-weight: 800; font-size: 26px; color: var(--ink, #1A1A1A); }
.flr-lead { margin: 8px 0 20px; font-size: 13.5px; line-height: 1.5; color: var(--text, #565656); }

.flr-form { display: flex; flex-direction: column; gap: 14px; }
.flr-label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink, #1A1A1A); }
.flr-label input {
  padding: 12px 14px; border: 1px solid var(--line, #e4ddca); border-radius: 11px;
  font-size: 15px; background: #fdfcf7; transition: border-color .2s ease, box-shadow .2s ease;
}
.flr-label input:focus { outline: none; border-color: var(--yellow, #FFC400); box-shadow: 0 0 0 3px rgba(255, 196, 0, .25); }

.flr-error { margin: -4px 0 0; font-size: 12.5px; color: var(--red-primary, #E31E24); }

.flr-btn {
  margin-top: 4px; padding: 13px 18px; border: none; border-radius: 11px;
  background: var(--ink, #1A1A1A); color: #fff; font-family: Montserrat, sans-serif;
  font-size: 14px; font-weight: 800; cursor: pointer; transition: filter .2s ease, transform .15s ease;
}
.flr-btn:hover { filter: brightness(1.1); }
.flr-btn:active { transform: translateY(1px); }
.flr-btn:disabled { opacity: .6; cursor: default; }

@media (prefers-reduced-motion: reduce) { .flr-overlay, .flr-card { animation: none; } }
