/* ==========================================================================
   Oxton Journals (ZBR) — portal de submissão: Entrar, Cadastro e Concluir cadastro em página avulsa
   (sem cabeçalho e rodapé do site). Independente do tema; cor da revista em --oxj-primary.
   Minimalista: sem sombra, transição ou animação; pouco negrito (títulos 600, rótulos 500).
   ========================================================================== */

.oxj-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Página avulsa: fundo claro, marca da revista no topo (volta ao site). */
body.oxj-standalone { margin: 0; min-height: 100vh; background: #F6F5F4; color: #1F2430; font-family: Inter, Arial, Helvetica, sans-serif; }
.oxj-standalone__wrap { max-width: 1160px; margin: 0 auto; padding: 32px 20px 48px; box-sizing: border-box; }
.oxj-standalone__brand { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 26px; width: max-content; max-width: 100%; color: #1F2430 !important; text-decoration: none !important; font-size: 16px; font-weight: 600; }
.oxj-standalone__brand img { height: 36px; width: auto; display: block; }
.oxj-standalone__brand .oxj-standalone__logo { height: 44px; max-width: 260px; object-fit: contain; }
.oxj-standalone__brand:hover span { color: var(--oxj-primary, #0030DA); }
.oxj-standalone__flash { max-width: 1120px; margin: 0 auto 16px; }

/* Mensagens: sucesso e erro como linha discreta (sem faixa). */
.oxj-standalone .oxj-alert { margin: 0 0 14px; padding: 0 0 0 24px; border: 0; background: none; position: relative; font-size: 14px; line-height: 20px; color: #1F2430; }
.oxj-standalone .oxj-alert::before { content: ""; position: absolute; left: 0; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--oxj-primary, #0030DA); }
.oxj-standalone .oxj-alert--success { color: #1E7A4F; }
.oxj-standalone .oxj-alert--success::before { background: #1E7A4F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.6 2.4L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.oxj-standalone .oxj-alert--error { color: #B42318; }
.oxj-standalone .oxj-alert--error::before { background: #B42318 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.2v4.6' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='8' cy='11.6' r='1.15' fill='%23fff'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* Portal: título, cartão com acesso (esquerda) e atalhos (direita); uma coluna no celular. */
.oxj-portal { --pp: var(--oxj-primary, #0030DA); max-width: 1120px; margin: 0 auto 28px; font-family: Inter, Arial, Helvetica, sans-serif; color: #1F2430; }
.oxj-portal *, .oxj-portal *::before, .oxj-portal *::after { box-sizing: border-box; }
.oxj-portal__head { text-align: center; margin: 0 0 22px; }
.oxj-portal__title { margin: 0; font-size: 28px; line-height: 1.2; font-weight: 600; color: #1F2430; }
.oxj-portal__sub { margin: 8px 0 0; font-size: 16px; color: #5F6577; }
.oxj-portal__card { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid #E3E1DE; border-radius: 10px; }
.oxj-portal__login { padding: 32px 44px 30px; border-right: 1px dashed #D9D7D3; min-width: 0; }
.oxj-portal__h2 { margin: 0 0 22px; text-align: center; font-size: 20px; font-weight: 500; color: #1F2430; }
.oxj-portal__form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.oxj-portal__field { position: relative; display: block; margin: 0; }
.oxj-portal span.oxj-portal__field--pass { position: relative; display: block; }
.oxj-portal__input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #C9CCD3; border-radius: 8px; background: #fff; font: inherit; font-size: 15px; color: #1F2430; }
.oxj-portal__input::placeholder { color: #7A8091; }
.oxj-portal__input:focus { outline: 2px solid var(--pp); outline-offset: -1px; border-color: var(--pp); }
.oxj-portal__input[readonly] { background: #F6F5F4; color: #4B5060; }
.oxj-portal__field--pass .oxj-portal__input { padding-right: 50px; }
.oxj-portal__reveal { position: absolute; top: 50%; right: 8px; width: 36px; height: 36px; margin-top: -18px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; background: none; color: #5F6577; cursor: pointer; }
.oxj-portal__reveal:hover { color: var(--pp); background: #F4F6FE; }
.oxj-portal__reveal[aria-pressed="true"] .oxj-portal__slash { display: none; }
.oxj-portal__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.oxj-portal .oxj-check { display: flex; gap: 8px; align-items: flex-start; margin: 0; font-size: 14px; color: #3A4050; cursor: pointer; }
.oxj-portal .oxj-check input { margin-top: 3px; flex: 0 0 auto; accent-color: var(--pp); }
.oxj-portal__remember { align-items: center !important; }
.oxj-portal__remember input { margin-top: 0 !important; }
.oxj-portal__forgot { color: var(--pp) !important; font-weight: 500; text-decoration: none; }
.oxj-portal__forgot:hover { text-decoration: underline; }
.oxj-portal__submit { height: 48px; margin-top: 4px; border: 0; border-radius: 8px; background: var(--pp); color: #fff; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .02em; cursor: pointer; }
.oxj-portal__submit:hover { background: #1F2430; }
.oxj-portal__register { margin: 20px 0 0; text-align: center; font-size: 14.5px; color: #3A4050; }
.oxj-portal__register a { color: var(--pp); font-weight: 500; text-decoration: none; }
.oxj-portal__register a:hover { text-decoration: underline; }

/* ORCID e Google abaixo do formulário (partial social-buttons): lado a lado; empilham se não couberem. */
.oxj-portal .oxj-social { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.oxj-portal .oxj-social__or { flex-basis: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; color: #5F6577; font-size: 13px; }
.oxj-portal .oxj-social__or::before, .oxj-portal .oxj-social__or::after { content: ""; flex: 1; border-top: 1px solid #E3E1DE; }
.oxj-portal .oxj-social__btn { flex: 1 1 auto; white-space: nowrap; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 8px 14px; border: 1px solid #C9CCD3; border-radius: 8px; background: #fff; color: #1F2430 !important; font-size: 14px; font-weight: 500; text-decoration: none !important; }
.oxj-portal .oxj-social__btn:hover { border-color: #8D93A1; background: #FAFAF9; }
.oxj-portal .oxj-social__btn svg { flex: none; }
.oxj-portal .oxj-social__done { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #E3E1DE; border-radius: 9px; background: #FAFAF9; font-size: 14px; }

/* Atalhos do portal. */
.oxj-portal__tasks { padding: 40px 44px; display: flex; flex-direction: column; gap: 14px; }
.oxj-portal__task { display: flex; align-items: stretch; min-height: 86px; border-radius: 8px; background: #F3F5FD; color: #1F2430 !important; text-decoration: none !important; overflow: hidden; }
.oxj-portal__task:hover { background: #E9EDFC; }
.oxj-portal__ticon { flex: 0 0 60px; display: flex; align-items: center; justify-content: center; background: #E1E7FB; color: var(--pp); }
.oxj-portal__ttext { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 18px; }
.oxj-portal__ttitle { font-size: 17px; font-weight: 500; }
.oxj-portal__tdesc { font-size: 14.5px; color: #3A4050; }

/* Cadastro e Concluir cadastro: cartão único, formulário em duas colunas. */
.oxj-portal__card--single { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.oxj-portal__card--single .oxj-portal__login { border-right: 0; }
.oxj-portal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.oxj-portal__field--label { display: flex; flex-direction: column; gap: 6px; }
.oxj-portal__field--label[hidden] { display: none; }
.oxj-portal__flabel { font-size: 14px; font-weight: 500; color: #3A4050; }
.oxj-portal__req { color: #C0362C; }
.oxj-portal__help { font-size: 12.5px; color: #5F6577; line-height: 1.45; }
.oxj-portal__checks { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: 1.5; color: #3A4050; }
.oxj-portal__checks a { color: var(--pp); }

@media (max-width: 860px) {
  .oxj-portal__card { grid-template-columns: 1fr; }
  .oxj-portal__login { border-right: 0; border-bottom: 1px dashed #D9D7D3; padding: 26px 20px; }
  .oxj-portal__card--single .oxj-portal__login { border-bottom: 0; }
  .oxj-portal__tasks { padding: 22px 20px; }
  .oxj-portal__title { font-size: 24px; }
}
@media (max-width: 640px) {
  .oxj-portal__grid { grid-template-columns: 1fr; }
  .oxj-standalone__wrap { padding: 22px 16px 36px; }
}
