/* ANI — Página de recuperação de senha (mesma identidade das telas de login) */
body { margin: 0; min-height: 100vh; }

.rs-container { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; background: var(--branco); }

/* ── Lado da marca ── */
.rs-brand {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-escuro) 100%);
  color: #fff; padding: 3rem 4rem; display: flex; flex-direction: column;
  justify-content: space-between; position: relative; overflow: hidden;
}
.rs-brand::before { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,255,255,.06); pointer-events: none; }
.rs-brand::after { content: ''; position: absolute; left: -100px; bottom: -100px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.04); pointer-events: none; }
.rs-brand > * { position: relative; z-index: 1; }

.rs-brand-logo { display: inline-flex; align-items: center; gap: .85rem; color: #fff; text-decoration: none; align-self: flex-start; }
.rs-brand-logo img { width: 52px; height: 52px; object-fit: contain; background: #fff; border-radius: 50%; padding: 6px; flex-shrink: 0; }
.rs-brand-logo strong { display: block; font-size: 1.35rem; font-weight: 900; letter-spacing: .5px; line-height: 1; }
.rs-brand-logo small { display: block; font-size: .72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,.75); margin-top: 4px; }

.rs-brand-miolo { max-width: 480px; padding-block: 2rem; }
.rs-brand-tag { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: rgba(255,255,255,.15); padding: .35rem .85rem; border-radius: 4px; margin-bottom: 1.25rem; }
.rs-brand-miolo h1 { font-size: 2.4rem; font-weight: 900; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .85rem; }
.rs-brand-miolo > p { font-size: 1rem; color: rgba(255,255,255,.85); line-height: 1.6; margin: 0 0 2rem; }
.rs-brand-recursos { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .85rem; }
.rs-brand-recursos li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; color: rgba(255,255,255,.92); }
.rs-brand-recursos i { font-size: 1.15rem; color: #4ADE80; flex-shrink: 0; }
.rs-brand-rodape { font-size: .78rem; color: rgba(255,255,255,.6); }
.rs-brand-rodape p { margin: 0; }

/* ── Lado do formulário ── */
.rs-form-wrap { background: var(--branco); padding: 2rem; display: flex; align-items: center; justify-content: center; transition: background-color .3s ease; }
html[data-tema="escuro"] .rs-form-wrap { background: #0F1115; }

.rs-form-inner { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 1.5rem; }
.rs-form-topo { display: flex; justify-content: space-between; align-items: center; }
.rs-voltar { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: var(--cinza-500); text-decoration: none; transition: color .2s, gap .2s; }
.rs-voltar:hover { color: var(--azul); gap: .6rem; }

.rs-form-header { text-align: center; }
.rs-form-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--azul-claro); color: var(--azul); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto 1.25rem; transition: background-color .3s ease; }
html[data-tema="escuro"] .rs-form-avatar { background: #1A1F4A; color: #8C97E8; }
.rs-form-header h2 { font-size: 1.5rem; font-weight: 800; color: var(--preto); letter-spacing: -.01em; margin: 0 0 .35rem; }
.rs-form-header p { font-size: .9rem; color: var(--cinza-500); margin: 0; }

.rs-form { display: flex; flex-direction: column; gap: 1.15rem; }
.rs-campo { display: flex; flex-direction: column; gap: .4rem; }
.rs-campo label { display: flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 700; color: var(--preto); }
.rs-campo label i { font-size: 1rem; color: var(--azul); flex-shrink: 0; }
.rs-campo input { width: 100%; box-sizing: border-box; font-family: inherit; font-size: .95rem; color: var(--preto); background: var(--branco); border: 1.5px solid var(--cinza-200); border-radius: 4px; padding: .85rem 1rem; transition: border-color .2s, box-shadow .2s, background .2s; }
html[data-tema="escuro"] .rs-campo input { background: #14171E; }
.rs-campo input::placeholder { color: var(--cinza-500); opacity: .7; }
.rs-campo input:hover { border-color: var(--azul); }
.rs-campo input:focus { outline: none; border-color: var(--azul); box-shadow: 0 0 0 4px rgba(44,56,150,.12); }

.rs-senha-wrap { position: relative; }
.rs-senha-wrap input { padding-right: 3rem; }
.rs-senha-toggle { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 4px; color: var(--cinza-500); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; cursor: pointer; border: 0; background: transparent; transition: color .2s, background .2s; }
.rs-senha-toggle:hover { color: var(--azul); background: var(--azul-claro); }
html[data-tema="escuro"] .rs-senha-toggle:hover { background: #1A1F4A; }

.rs-dica { font-size: .78rem; font-weight: 600; }
.rs-dica.ok { color: #1f7a3d; }
.rs-dica.erro { color: #b3261e; }

.rs-regras { list-style: none; margin: -.25rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .75rem; }
.rs-regras li { display: flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--cinza-500); }
.rs-regras li i { font-size: 1rem; }
.rs-regras li.ok { color: #1f7a3d; font-weight: 600; }

.rs-btn { width: 100%; justify-content: center; padding: .95rem 1.25rem; font-size: .95rem; }
.rs-btn-secundario { width: 100%; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.25rem; font-size: .88rem; font-weight: 700; color: var(--cinza-700); background: transparent; border: 1.5px solid var(--cinza-200); border-radius: 4px; text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.rs-btn-secundario:hover { border-color: var(--azul); color: var(--azul); background: var(--azul-claro); }
html[data-tema="escuro"] .rs-btn-secundario:hover { background: #1A1F4A; color: #8C97E8; }

.rs-aviso, .rs-alerta { padding: 1rem 1.15rem; border-radius: 4px; font-size: .85rem; line-height: 1.55; display: flex; align-items: flex-start; gap: .65rem; }
.rs-aviso { background: var(--azul-claro); border-left: 3px solid var(--azul); color: var(--cinza-700); }
html[data-tema="escuro"] .rs-aviso { background: #1A1F4A; }
.rs-aviso i { color: var(--azul); font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
.rs-aviso-ok { background: #e8f5ec; border-left-color: #1f7a3d; }
.rs-aviso-ok i { color: #1f7a3d; }
html[data-tema="escuro"] .rs-aviso-ok { background: #12301d; }
.rs-alerta-erro { background: #fdecea; border-left: 3px solid #b3261e; color: #7a1a14; }
.rs-alerta-erro i { color: #b3261e; font-size: 1.15rem; flex-shrink: 0; margin-top: 2px; }
html[data-tema="escuro"] .rs-alerta-erro { background: #3a1512; color: #f5c6c2; }

.rs-form-rodape { text-align: center; font-size: .82rem; color: var(--cinza-500); padding-top: 1rem; border-top: 1px solid var(--cinza-200); }
.rs-form-rodape p { margin: 0; }
.rs-form-rodape a { color: var(--azul); font-weight: 700; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.rs-form-rodape a:hover { border-bottom-color: var(--azul); }

/* Campo-armadilha para robôs: fora da tela, invisível para pessoas */
.rs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 992px) {
  .rs-container { grid-template-columns: 1fr; }
  .rs-brand { padding: 2rem 1.75rem; min-height: auto; }
  .rs-brand-miolo { padding-block: 1rem; }
  .rs-brand-miolo h1 { font-size: 1.75rem; }
  .rs-brand-miolo > p { font-size: .92rem; margin-bottom: 1.25rem; }
  .rs-brand-recursos, .rs-brand-rodape { display: none; }
  .rs-form-wrap { padding: 2.5rem 1.75rem; }
}
@media (max-width: 480px) {
  .rs-brand { padding: 1.5rem 1.25rem; }
  .rs-brand-logo img { width: 44px; height: 44px; }
  .rs-brand-logo strong { font-size: 1.15rem; }
  .rs-brand-miolo h1 { font-size: 1.5rem; }
  .rs-brand-tag { font-size: .62rem; padding: .3rem .7rem; }
  .rs-form-wrap { padding: 1.75rem 1.25rem; }
  .rs-form-avatar { width: 54px; height: 54px; font-size: 1.7rem; }
  .rs-form-header h2 { font-size: 1.3rem; }
  .rs-regras { grid-template-columns: 1fr; }
  .rs-campo input { padding: .75rem .85rem; font-size: .9rem; }
}

/* ── Sem barras de rolagem visíveis (a página continua rolando normalmente: roda do mouse, toque, teclado) ── */
html, body, * { scrollbar-width: none !important; -ms-overflow-style: none !important; }
html::-webkit-scrollbar, body::-webkit-scrollbar, *::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; background: transparent !important; }
