/* =========================================================
   PlayNaVaga — shell visual (dashboard + login)
   Use com: body.app-shell + header.shell-header + main.shell-main
========================================================= */

body.app-shell{
  padding-top:0;
}

/* Cabeçalho fixo alinhado ao dashboard (.pv-header) */
.shell-header{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  background:#f3f4f6;
  backdrop-filter:blur(8px);
  padding:14px 16px 12px;
  border-bottom:1px solid rgba(226,232,240,.9);
  box-shadow:0 4px 20px rgba(15,23,42,.06);
}

.shell-header-inner{
  max-width:1100px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) minmax(0,1fr);
  align-items:center;
  gap:12px;
}

.shell-left,
.shell-right{
  display:flex;
  align-items:center;
}

.shell-left{ justify-content:flex-start; }
.shell-right{ justify-content:flex-end; }

.shell-center{
  text-align:center;
}

.shell-title{
  margin:0;
  font-size:clamp(1.05rem,2.5vw,1.35rem);
  font-weight:800;
  letter-spacing:-0.02em;
  color:#0f172a;
}

.shell-title span{
  color:#6366f1;
}

.shell-sub{
  margin:4px 0 0;
  font-size:12px;
  font-weight:600;
  color:#64748b;
}

.shell-back{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 12px;
  border-radius:10px;
  border:none;
  background:rgba(99,102,241,.1);
  color:#4338ca;
  font-size:13px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  font-family:inherit;
  transition:background .15s ease, transform .12s ease;
}

.shell-back:hover{
  background:rgba(99,102,241,.2);
  transform:translateY(-1px);
}

/* Conteúdo abaixo do header fixo */
.shell-main{
  max-width:1100px;
  margin:0 auto;
  padding:88px 16px 40px;
  min-height:60vh;
}

.shell-main.shell-main--wide{
  max-width:1200px;
}

/* Card de página (opcional) */
.shell-card{
  background:#fff;
  border:1px solid var(--border-soft, #e2e8f0);
  border-radius:16px;
  padding:20px 18px;
  box-shadow:0 12px 40px rgba(15,23,42,.08);
}

/* Rodapé leve (links institucionais) */
.shell-footer{
  max-width:1100px;
  margin:0 auto;
  padding:24px 16px 32px;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px 12px;
  font-size:12px;
  color:#64748b;
}

.shell-footer a{
  color:#6366f1;
  font-weight:600;
  text-decoration:none;
  margin:0 8px;
}

.shell-footer a:hover{
  text-decoration:underline;
}

.pnv-build-footer{
  flex:1 1 100%;
  order:-1;
  width:100%;
  margin:0 0 10px;
  padding:0 0 10px;
  border-bottom:1px solid rgba(226,232,240,.85);
  border-top:none;
  font-size:11px;
  font-weight:600;
  color:#94a3b8;
  text-align:left;
}

@media (max-width:640px){
  .shell-header-inner{
    grid-template-columns:1fr;
    text-align:center;
  }
  .shell-left{ justify-content:center; }
  .shell-right{ display:none; }
  .shell-main{ padding-top:120px; }
}
