/* =============================================================
 * Navalshore 2026 - Imprensa
 * Estilo limpo, fundo branco, mobile-first (Bootstrap 5)
 * Reaproveita o mesmo padrao visual do sistema de Inscricao.
 * ============================================================= */

:root {
  --ns-azul: #0b3d91;
  --ns-azul-claro: #1565c0;
  --ns-cinza: #6c757d;
  --ns-bg: #ffffff;
}

html, body { height: 100%; }
body {
  background: var(--ns-bg);
  color: #212529;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main { flex: 1 0 auto; }

/* ---- Navbar ---- */
.ns-navbar {
  background: #ffffff;
  border-bottom: 1px solid #e9ecef;
}
.ns-navbar img.logo { height: 40px; width: auto; }

/* ---- Card do formulario ---- */
.ns-card {
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(11, 61, 145, 0.07);
}
.ns-card .card-header {
  background: #ffffff;
  border-bottom: 2px solid #eef2f7;
  border-radius: 14px 14px 0 0 !important;
}

/* ---- Form controls ---- */
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .25rem; }
.form-label .req { color: #dc3545; }
.form-text { font-size: .78rem; }

/* ---- Radios em grade (cargo / editoria) ---- */
.ns-radio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .35rem .75rem;
}
.ns-radio-grid .form-check { margin-bottom: 0; }

/* ---- Caixa de termos ---- */
.ns-terms-box {
  background: #f1f8ff;
  border: 1px solid #cfe8ff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
}
.ns-terms-box ul { margin-bottom: 0; }

/* ---- Botoes ---- */
.btn-primary {
  background: var(--ns-azul);
  border-color: var(--ns-azul);
}
.btn-primary:hover { background: var(--ns-azul-claro); border-color: var(--ns-azul-claro); }
.btn-outline-secondary { color: var(--ns-cinza); }

/* ---- Sucesso ---- */
.ns-confirm-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2e7d32;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem; margin: 0 auto;
}
.ns-confirm-box {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 12px;
}

/* ---- Footer (fundo branco - a logo e um JPG de fundo branco) ---- */
.ns-footer {
  flex-shrink: 0;
  background: #ffffff;
  color: #212529;
  padding: 1.25rem 0 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid #e9ecef;
}
.ns-footer-logo-wrap {
  text-align: center;
  margin-bottom: .5rem;
}
.ns-footer .ns-footer-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.ns-footer .ns-footer-msg {
  font-size: .82rem;
  color: #6c757d;
}

/* ---- Small screens ---- */
@media (max-width: 575.98px) {
  .ns-radio-grid { grid-template-columns: 1fr; }
}
