.nfe-overlay { position: fixed; inset: 0; z-index: 2147483001; background: rgba(0,0,0,.72); display: none; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.nfe-overlay.nfe-open { display: flex; }
.nfe-overlay * { box-sizing: border-box; }
.nfe-box { position: relative; width: 100%; max-width: 420px; background: #fff; border-radius: 18px; padding: 30px 28px; box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.nfe-close { position: absolute; top: 14px; right: 16px; background: none; border: 0; font-size: 28px; line-height: 1; color: #a5a5a5; cursor: pointer; padding: 2px 6px; }
.nfe-close:hover { color: #111; }
.nfe-head { margin-bottom: 20px; padding-right: 20px; }
.nfe-title { font-size: 21px; font-weight: 700; color: #111; margin: 0 0 5px; letter-spacing: -.01em; }
.nfe-sub { font-size: 14px; color: #666; margin: 0; line-height: 1.45; }
.nfe-step { display: flex; flex-direction: column; gap: 12px; }
.nfe-box input { width: 100%; padding: 13px 14px; border: 1.5px solid #e2e2e5; border-radius: 12px; font-size: 15px; font-family: inherit; color: #111; outline: none; background: #fff; }
.nfe-box input:focus { border-color: #111; }
.nfe-pass-wrap { position: relative; }
.nfe-pass-wrap input { padding-right: 46px; }
.nfe-eye { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); background: none; border: 0; padding: 7px; cursor: pointer; color: #a5a5a5; line-height: 0; }
.nfe-eye:hover { color: #555; }
.nfe-eye--on { color: #111; }
.nfe-eye svg { display: block; fill: currentColor; }
.nfe-btn { width: 100%; padding: 14px; border: 0; border-radius: 12px; background: #111; color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; position: relative; transition: opacity .15s; }
.nfe-btn:hover { background: #000; }
.nfe-btn:disabled { opacity: .55; cursor: not-allowed; }
.nfe-btn.is-loading { color: transparent; }
.nfe-btn.is-loading::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: nfe-spin .7s linear infinite; }
@keyframes nfe-spin { to { transform: rotate(360deg); } }
.nfe-err { font-size: 13px; color: #b32d2e; line-height: 1.4; }
.nfe-err:empty { display: none; }
.nfe-sent { font-size: 14px; color: #444; margin: 0; line-height: 1.45; }
.nfe-link { display: inline-block; font-size: 13px; color: #666; text-decoration: underline; text-align: center; cursor: pointer; margin-top: 2px; }
.nfe-link:hover { color: #111; }

/* The injected "Continue with email" button spacing in the login popup. */
.nfe-email-group { margin-top: 10px; }

@media (max-width: 460px) { .nfe-box { padding: 24px 20px; } .nfe-title { font-size: 19px; } }
