/* Nexus License — avisos de mensalidade (prefixo nxl-, não colide com o CSS do sistema) */
#nxl-bar, #nxl-pub, #nxl-block, #nxl-pop { font: 500 14px/1.4 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; box-sizing: border-box; }
#nxl-bar *, #nxl-pub *, #nxl-block *, #nxl-pop * { box-sizing: border-box; }

/* faixa amarela do painel (vencida) */
#nxl-bar {
  position: fixed; left: 0; right: 0; top: 0; z-index: 2147483000;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 14px; min-height: 48px; background: #f2b33d; color: #1d1403;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
html.nxl-has-bar body { padding-top: 48px !important; }
#nxl-bar .nxl-ico {
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  background: #1d1403; color: #f2b33d; font-weight: 800; font-size: 13px;
}
#nxl-bar .nxl-txt { flex: 1 1 220px; font-weight: 600; }
#nxl-bar .nxl-x { background: none; border: 0; color: #1d1403; font-size: 16px; cursor: pointer; padding: 6px; opacity: .7; }
#nxl-bar .nxl-x:hover { opacity: 1; }

.nxl-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 16px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer;
  background: #1d1403; color: #fff; white-space: nowrap;
}
.nxl-btn:disabled { opacity: .6; cursor: wait; }

/* tela de suspenso (painel) */
html.nxl-locked, html.nxl-locked body { overflow: hidden !important; }
#nxl-block {
  position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 9, 10, .92); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
#nxl-block .nxl-card {
  width: min(440px, 100%); background: #fff; color: #16181a; border-radius: 20px; padding: 28px 24px; text-align: center;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
}
#nxl-block .nxl-lock {
  width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center;
  background: #fde8e8; color: #c62828; font-size: 24px;
}
#nxl-block h2 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; font-weight: 800; color: #16181a; }
#nxl-block p { margin: 0 0 16px; color: #4a4f55; }
#nxl-block .nxl-actions { display: grid; gap: 10px; }
#nxl-block .nxl-btn--main { background: #1f9d55; color: #fff; min-height: 46px; font-size: 15px; }
#nxl-block .nxl-btn--ghost { background: #fff; color: #16181a; border-color: #cfd4d9; min-height: 44px; }
#nxl-block .nxl-status { margin: 12px 0 0; font-size: 13px; color: #8a5a00; min-height: 1em; }
#nxl-block .nxl-link { display: inline-block; margin-top: 6px; color: #4a4f55; font-size: 13px; }

/* site público (suspenso) */
#nxl-pub {
  position: relative; z-index: 2147483000; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
  padding: 12px 16px; background: #fff4e5; color: #4a2c00; border-bottom: 2px solid #f2b33d; text-align: center;
}
#nxl-pub .nxl-txt { font-weight: 600; }
#nxl-pub .nxl-btn--wa { background: #1f9d55; color: #fff; }
.nxl-off { opacity: .5 !important; cursor: not-allowed !important; }

/* fase 9: pop-up de vencimento (azul = lembrete, amarelo = vence hoje, vermelho = vai suspender) */
#nxl-pop {
  position: fixed; inset: 0; z-index: 2147483001; display: grid; place-items: center; padding: 16px;
  background: rgba(8, 9, 10, .55); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
#nxl-pop .nxl-card {
  width: min(400px, 100%); background: #fff; color: #16181a; border-radius: 20px; padding: 24px 22px 20px; text-align: center;
  border-top: 6px solid var(--nxl-c); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6);
}
#nxl-pop.nxl-pop--blue { --nxl-c: #2f6fdb; --nxl-soft: #e8f0fd; }
#nxl-pop.nxl-pop--yellow { --nxl-c: #d99a1e; --nxl-soft: #fff4e0; }
#nxl-pop.nxl-pop--red { --nxl-c: #d64545; --nxl-soft: #fdeaea; }
#nxl-pop .nxl-badge {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center;
  background: var(--nxl-soft); color: var(--nxl-c); font-weight: 800; font-size: 22px;
}
#nxl-pop h2 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; font-weight: 800; color: #16181a; }
#nxl-pop p { margin: 0 0 16px; color: #3d4247; font-size: 15px; }
#nxl-pop .nxl-actions { display: grid; gap: 10px; }
#nxl-pop .nxl-btn--main, #nxl-block .nxl-btn--main { background: #84e040; color: #0b1404; min-height: 46px; font-size: 15px; }
#nxl-pop .nxl-btn--ghost { background: #fff; color: #16181a; border-color: #cfd4d9; min-height: 44px; }
#nxl-pop .nxl-hint { margin: 10px 0 0; font-size: 12px; color: #6b7177; }
#nxl-pop .nxl-btn:focus-visible, #nxl-block .nxl-btn:focus-visible, #nxl-bar .nxl-btn:focus-visible { outline: 3px solid #2f6fdb; outline-offset: 2px; }
