/* Telas de entrar e cadastrar e área do filiado; usa as variáveis de site.css */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

/* ---------- Área logada: menu lateral (300 px) + conteúdo ---------- */
.panel { display: flex; min-height: 100vh; }
.side-menu {
  width: 300px; flex-shrink: 0;
  background: var(--bg-soft);
  border-right: 1px solid var(--border);
  padding: 1.25rem 1.25rem;
  font-size: .95rem;
}
.menu-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .15rem; margin-bottom: 1.25rem; }
.menu-email { color: var(--text-soft); font-size: .75rem; word-break: break-all; }
.avatar { border-radius: 50%; object-fit: cover; margin-bottom: .4rem; }
.avatar-initials { display: inline-block; text-align: center; background: var(--brand-soft); color: var(--brand-dark); font-weight: 700; }
.status { margin-top: .3rem; padding: .1rem .6rem; border-radius: 999px; background: #e9e7df; color: var(--text-soft); font-size: .72rem; font-weight: 600; }
.status-member { background: var(--brand-soft); color: var(--brand-dark); }
.menu-items { display: flex; flex-direction: column; gap: .15rem; }
.menu-items a, .menu-sign-out { color: var(--text-soft); padding: .4rem .5rem; border-radius: 6px; background: none; border: 0; text-align: left; width: 100%; font: inherit; }
.menu-items a:hover, .menu-sign-out:hover, .menu-items a.current { color: var(--text); background: #fff; font-weight: 600; }
.panel-content { flex: 1; padding: 2rem; min-width: 0; }
.panel-toggle { position: fixed; top: .6rem; right: .6rem; z-index: 5; }
@media (max-width: 767.98px) {
  .panel { flex-direction: column; }
  .side-menu { width: 100%; border-right: 0; border-bottom: 1px solid var(--border); }
  .panel-content { padding: 4rem 1rem 1.5rem; }
}
.panel-banner { background: var(--brand-soft); border-left: 6px solid var(--accent); border-radius: var(--radius); padding: 1.5rem 2rem; }
.or-divider { display: flex; align-items: center; gap: .75rem; margin: 1.25rem 0; color: var(--text-soft); font-size: .85rem; }
.or-divider::before, .or-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }

/* ---------- Passo a passo da filiação ---------- */
.steps { list-style: none; padding: 0; margin: 1.25rem 0; display: grid; gap: .5rem; }
.steps li { display: flex; align-items: center; gap: .75rem; color: var(--text-soft); }
.steps .num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #e9e7df; font-weight: 700; font-size: .85rem; }
.steps li.current { color: var(--text); font-weight: 700; }
.steps li.current .num { background: var(--brand); color: #fff; }
.steps li.done .num { background: var(--brand-soft); color: var(--brand-dark); }
.tip-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1rem 1.25rem; height: 100%; }

/* ---------- Mensagens ---------- */
.flash-success { transition: opacity .5s ease, max-height .5s ease, margin .5s ease, padding .5s ease; max-height: 6rem; overflow: hidden; }
.flash-success.flash-leaving { opacity: 0; max-height: 0; margin: 0 !important; padding-top: 0; padding-bottom: 0; border-width: 0; }

/* ---------- Editor de texto das notícias ---------- */
trix-editor.news-editor { min-height: 18rem; background: #fff; border-radius: var(--radius); }
