/* Tela de consentimento (login-oauth-grant.ftl). Escopado por #nsj-consent e
   por body.oauth (a tela de grant passa bodyClass="oauth"), então não vaza
   para as demais telas de login. */

body.oauth { background: #eef1f6 !important; }

#nsj-consent {
  max-width: 500px; margin: 18px auto 0; text-align: left; color: #16202e;
  font-family: "PT sans", "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #fff; border: 1px solid #e4e8f0; border-radius: 16px; padding: 30px 32px 26px;
  box-shadow: 0 1px 2px rgba(16,32,52,.05), 0 14px 34px -14px rgba(16,32,52,.22);
  position: relative; overflow: hidden;
}
/* barrinha de acabamento no topo do card */
#nsj-consent::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #00469b, #003576); }

/* cabeçalho alinhado à esquerda, coeso com o corpo */
#nsj-consent .app { display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 4px; margin-bottom: 2px; }
#nsj-consent .app h2 { margin: 0; font-size: 19px; font-weight: 700; }
#nsj-consent .app .sub { margin: 0; font-size: 14px; color: #47526a; }
#nsj-consent .app .sub b { color: #16202e; }

#nsj-consent .lead { font-size: 13px; font-weight: 700; color: #47526a; margin: 20px 0 6px; }

#nsj-consent ul.perms { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
#nsj-consent ul.perms li { display: flex; gap: 13px; align-items: flex-start; padding: 9px 2px; }
#nsj-consent ul.perms .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #00469b; }
#nsj-consent ul.perms .txt { font-size: 14.5px; line-height: 1.4; }
#nsj-consent ul.perms .txt small { display: block; color: #6b7788; font-size: 12.5px; margin-top: 1px; }

#nsj-consent .offline { margin: 12px 0 2px; display: flex; gap: 13px; align-items: flex-start; padding: 13px 14px;
  border-radius: 12px; background: #eaf6ec; border: 1px solid #c6e6ce; }
#nsj-consent .offline .ic { flex: none; width: 22px; height: 22px; margin-top: 1px; color: #0a7d2c; }
#nsj-consent .offline .txt { font-size: 14px; color: #16202e; }
#nsj-consent .offline .txt strong { display: block; margin-bottom: 2px; }
#nsj-consent .offline .txt small { color: #47526a; font-size: 12.5px; }

#nsj-consent .trust { margin-top: 16px; display: flex; gap: 10px; align-items: flex-start; padding: 12px 13px;
  border-radius: 11px; background: #f0f5fc; border: 1px solid #d7e3f5; font-size: 12.5px; color: #47526a; }
#nsj-consent .trust .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #00469b; }
#nsj-consent .trust b { color: #16202e; }

#nsj-consent form.actions { display: flex; gap: 12px; margin-top: 22px; }
#nsj-consent .btn { flex: 1; padding: 12px 16px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: inherit; border: 1px solid transparent; transition: background-color .14s ease, color .14s ease; -webkit-appearance: none; }
#nsj-consent .btn.primary { background: #00469b; color: #fff; }
#nsj-consent .btn.primary:hover { background: #003576; }
#nsj-consent .btn.ghost { background: #fff; color: #47526a; border-color: #cfd6e2; }
#nsj-consent .btn.ghost:hover { background: #f5f5f5; color: #16202e; }
#nsj-consent .btn:focus-visible { outline: 3px solid rgba(0,70,155,.4); outline-offset: 2px; }
