.cpe-app{--p:#0f766e;--pe:#115e59;--b:#d1d5db;--t:#111827;--ok:#16a34a;--er:#dc2626;--al:#ca8a04;font-family:Arial,Helvetica,sans-serif;color:var(--t)}
.cpe-topo{background:var(--p);color:#fff;border-radius:14px;padding:22px;margin-bottom:18px}.cpe-topo h2{margin:0 0 6px;color:#fff}.cpe-topo p{margin:0}
.cpe-card{background:#fff;border:1px solid var(--b);border-radius:14px;padding:18px;margin-bottom:18px;box-shadow:0 4px 12px rgba(0,0,0,.05)}.cpe-card h3{margin-top:0;color:var(--pe)}
.cpe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}@media(max-width:850px){.cpe-grid{grid-template-columns:1fr}}
.cpe-card label{display:block;font-weight:700;margin:12px 0 5px}.cpe-card input,.cpe-card select,.cpe-card textarea,.cpe-card button{width:100%;padding:11px;border-radius:8px;border:1px solid var(--b);font-size:15px}.cpe-card textarea{min-height:90px}
.cpe-card button{border:0;background:var(--p);color:#fff;font-weight:700;cursor:pointer;margin-top:12px}.cpe-card button:hover{background:var(--pe)}.cpe-card button.cpe-sec{background:#374151}.cpe-card button.cpe-perigo,.cpe-perigo{background:var(--er)!important}.cpe-card button.cpe-alerta-btn{background:var(--al)}
.cpe-botoes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.cpe-check{display:flex!important;gap:8px;align-items:center}.cpe-check input{width:auto}
.cpe-msg{display:none;margin-top:12px;padding:10px;border-radius:8px;font-weight:700}.cpe-msg.sucesso{display:block;background:#dcfce7;color:#166534;border:1px solid #86efac}.cpe-msg.erro{display:block;background:#fee2e2;color:#991b1b;border:1px solid #fecaca}.cpe-msg.info{display:block;background:#dbeafe;color:#1e40af;border:1px solid #93c5fd}
.cpe-alerta{background:#fffbeb;border:1px solid #fcd34d;color:#92400e;padding:12px;border-radius:8px}.cpe-ajuda{color:#4b5563;font-size:14px}
.cpe-resumo{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}@media(max-width:700px){.cpe-resumo{grid-template-columns:repeat(2,1fr)}}.cpe-resumo div{background:#f9fafb;border:1px solid var(--b);border-radius:10px;padding:12px;text-align:center}.cpe-resumo strong{display:block;color:var(--pe);font-size:26px}.cpe-resumo span{font-size:13px}
.cpe-tabela-wrap{overflow-x:auto}.cpe-tabela{width:100%;border-collapse:collapse}.cpe-tabela th,.cpe-tabela td{border-bottom:1px solid var(--b);padding:9px;text-align:left;vertical-align:top}.cpe-tabela th{background:#f9fafb}.cpe-mini{padding:7px 9px!important;margin:2px 0!important;font-size:13px!important}.cpe-presente{color:var(--ok)}.cpe-ausente{color:var(--er)}
.cpe-info{background:#f9fafb;border:1px solid var(--b);border-radius:10px;padding:12px;margin-top:12px}.cpe-info b,.cpe-info span{display:block;margin-bottom:5px}.cpe-login-area{margin-top:12px}


/* ===== Ajustes visuais profissionais - v4 ===== */
.cpe-app{
  max-width:1180px;
  margin:0 auto;
}

.cpe-topo-profissional,
.cpe-topo{
  background:linear-gradient(135deg,#0f766e,#083f3a)!important;
  border-radius:22px!important;
  padding:34px!important;
  box-shadow:0 14px 34px rgba(15,118,110,.16);
}

.cpe-topo h2{
  font-size:clamp(28px,4vw,40px);
  line-height:1.05;
}

.cpe-selo{
  display:inline-block;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.25);
  color:#fff;
  border-radius:999px;
  padding:7px 13px;
  font-size:13px;
  font-weight:700;
  margin-bottom:10px;
}

.cpe-card{
  border-radius:18px!important;
  box-shadow:0 10px 26px rgba(16,32,29,.07)!important;
}

.cpe-card-acesso{
  max-width:620px;
  margin-left:auto;
  margin-right:auto;
}

.cpe-auth-header{
  text-align:center;
  margin-bottom:18px;
}

.cpe-auth-header h3{
  font-size:26px;
}

.cpe-auth-header p{
  color:#5b6b67;
  margin-top:5px;
}

.cpe-auth-panel{
  background:#f8fafc;
  border:1px solid #d8e0df;
  border-radius:18px;
  padding:20px;
}

.cpe-presenca-panel{
  background:#f0fdfa;
  border:1px solid #99f6e4;
  border-radius:18px;
  padding:20px;
}

.cpe-status-logado{
  background:#fff;
  border:1px solid #ccfbf1;
  border-radius:14px;
  padding:14px;
  margin-bottom:10px;
}

.cpe-status-logado strong,
.cpe-status-logado span{
  display:block;
}

.cpe-status-logado span{
  color:#5b6b67;
  font-size:14px;
  margin-top:4px;
}

.cpe-link-btn{
  background:transparent!important;
  color:#0f766e!important;
  border:1px solid #d8e0df!important;
  box-shadow:none!important;
}

.cpe-link-btn:hover{
  background:#ecfdf5!important;
  color:#115e59!important;
}

.cpe-oculto{
  display:none!important;
}

.cpe-card input,
.cpe-card select,
.cpe-card textarea,
.cpe-card button{
  border-radius:12px!important;
}

.cpe-card button{
  font-weight:800!important;
}

.cpe-info{
  border-radius:16px!important;
  background:#f8fafc!important;
}


/* ===== Pagina inicial do sistema - v5 ===== */
.cpe-home{
  max-width:1180px;
  margin:0 auto;
}

.cpe-home-hero{
  background:
    radial-gradient(circle at top right, rgba(20,184,166,.35), transparent 32%),
    linear-gradient(135deg,#0f766e,#083f3a);
  border-radius:28px;
  padding:46px;
  color:#fff;
  box-shadow:0 18px 42px rgba(15,118,110,.18);
  margin-bottom:24px;
}

.cpe-home-hero h1{
  color:#fff;
  font-size:clamp(32px,5vw,54px);
  line-height:1.02;
  margin:12px 0;
  max-width:850px;
}

.cpe-home-hero p{
  color:rgba(255,255,255,.92);
  font-size:18px;
  max-width:760px;
  margin:0;
}

.cpe-home-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.cpe-home-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:13px 18px;
  border-radius:999px;
  font-weight:800;
  text-decoration:none!important;
}

.cpe-home-btn-primary{
  background:#fff;
  color:#0f766e!important;
}

.cpe-home-btn-secondary{
  background:rgba(255,255,255,.14);
  color:#fff!important;
  border:1px solid rgba(255,255,255,.28);
}

.cpe-home-menu{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-bottom:24px;
}

.cpe-home-card{
  display:block;
  background:#fff;
  border:1px solid #d8e0df;
  border-radius:22px;
  padding:24px;
  box-shadow:0 10px 26px rgba(16,32,29,.07);
  text-decoration:none!important;
  color:#10201d!important;
  transition:.18s ease;
}

.cpe-home-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(16,32,29,.12);
  border-color:#0f766e;
}

.cpe-home-icon{
  display:inline-flex;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#ecfdf5;
  color:#0f766e;
  font-weight:900;
  margin-bottom:14px;
}

.cpe-home-card h2{
  color:#115e59;
  font-size:22px;
  margin:0 0 8px;
}

.cpe-home-card p{
  color:#5b6b67;
  margin:0 0 14px;
  line-height:1.55;
}

.cpe-home-card strong{
  color:#0f766e;
}

.cpe-home-info{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  background:#f8fafc;
  border:1px solid #d8e0df;
  border-radius:24px;
  padding:28px;
  margin-bottom:24px;
}

.cpe-home-info h2{
  color:#115e59;
  margin-top:0;
}

.cpe-home-info p{
  color:#5b6b67;
  line-height:1.65;
}

.cpe-home-feature-list{
  display:grid;
  gap:12px;
}

.cpe-home-feature-list div{
  background:#fff;
  border:1px solid #d8e0df;
  border-radius:16px;
  padding:14px;
}

.cpe-home-feature-list strong,
.cpe-home-feature-list span{
  display:block;
}

.cpe-home-feature-list strong{
  color:#115e59;
}

.cpe-home-feature-list span{
  color:#5b6b67;
  margin-top:3px;
  font-size:14px;
}

@media(max-width:900px){
  .cpe-home-menu,
  .cpe-home-info{
    grid-template-columns:1fr;
  }

  .cpe-home-hero{
    padding:30px;
  }
}


/* Ajustes v7 - usuarios, entrada e saida */
.cpe-status-logado{
  background:#f0fdfa;
  border:1px solid #99f6e4;
  border-radius:14px;
  padding:14px;
  margin-bottom:12px;
}
.cpe-status-logado strong,
.cpe-status-logado span{display:block}
.cpe-status-logado span{color:#5b6b67;font-size:14px;margin-top:4px}
#cpe_btn_confirmar_saida{
  background:#334155;
}


/* Ajustes v8 - administração limpa e edição de usuário */
.cpe-editor-usuario{
  margin-top:20px;
  background:#f8fafc;
  border:1px solid #d8e0df;
  border-radius:18px;
  padding:20px;
}
.cpe-subtitulo{
  color:#115e59;
  margin:18px 0 4px;
}
.cpe-oculto{
  display:none!important;
}


/* QR Code do evento - v9 */
.cpe-qr-layout{
  display:grid;
  grid-template-columns:1fr 320px;
  gap:22px;
  align-items:center;
}
.cpe-qr-box{
  display:flex;
  align-items:center;
  justify-content:center;
}
.cpe-qrcode-placeholder{
  width:280px;
  min-height:280px;
  border:2px dashed #d8e0df;
  border-radius:18px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#5b6b67;
  padding:18px;
}
.cpe-qr-img{
  width:260px;
  height:260px;
  display:block;
}
.cpe-qrcode-placeholder small{
  display:block;
  margin-top:8px;
  color:#5b6b67;
}
@media(max-width:850px){
  .cpe-qr-layout{grid-template-columns:1fr}
}

.cpe-obrigatorio{
  color:#dc2626;
  font-weight:900;
}


/* Recuperação de senha e mensagem central de cadastro - v14 */
.cpe-recuperar-senha-box{
  margin-top:22px;
  background:#f8fafc;
  border:1px solid #d8e0df;
  border-radius:18px;
  padding:20px;
}
.cpe-recuperar-senha-box h3{
  margin-top:0;
  color:#115e59;
}
.cpe-recuperar-senha-box p{
  color:#5b6b67;
  margin-top:4px;
}
.cpe-modal-sucesso{
  position:fixed;
  inset:0;
  z-index:99999;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,23,42,.58);
  padding:20px;
}
.cpe-modal-card{
  width:min(520px,100%);
  background:#fff;
  border-radius:24px;
  padding:32px;
  text-align:center;
  box-shadow:0 24px 70px rgba(0,0,0,.24);
  border:1px solid #d8e0df;
}
.cpe-modal-icone{
  width:70px;
  height:70px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 16px;
  border-radius:999px;
  background:#dcfce7;
  color:#166534;
  font-size:38px;
  font-weight:900;
}
.cpe-modal-card h2{
  color:#115e59;
  margin:0 0 12px;
}
.cpe-modal-card p{
  color:#4b5563;
  font-size:17px;
  line-height:1.55;
}
.cpe-modal-card button{
  margin-top:14px;
}


/* Usuários cadastrados recolhível - v16 */
.cpe-area-usuarios{
  margin-top:14px;
}
.cpe-busca-usuarios{
  max-width:520px;
  margin-bottom:16px;
}
.cpe-modal-usuario{
  text-align:left;
}
.cpe-modal-usuario h2{
  text-align:center;
}
.cpe-modal-usuario label{
  display:block;
  font-weight:700;
  margin:12px 0 5px;
}
.cpe-modal-usuario input{
  width:100%;
  padding:12px;
  border:1px solid #d8e0df;
  border-radius:12px;
}

/* Página dedicada de usuários cadastrados - v17 */
.cpe-usuarios-page .cpe-busca-usuarios{max-width:560px;margin-bottom:18px}
.cpe-usuarios-page .cpe-busca-usuarios label{display:block;font-weight:700;margin-bottom:6px}
.cpe-usuarios-page .cpe-busca-usuarios input{width:100%;padding:12px;border:1px solid #d8e0df;border-radius:12px}
.cpe-modal-usuario{text-align:left}
.cpe-modal-usuario h2{text-align:center}
.cpe-modal-usuario label{display:block;font-weight:700;margin:12px 0 5px}
.cpe-modal-usuario input{width:100%;padding:12px;border:1px solid #d8e0df;border-radius:12px}


/* Página de declarações por e-mail - v18 */
.cpe-declaracoes-page input[type="file"]{
  background:#f8fafc;
}
.cpe-decl-acoes{
  margin-top:14px;
}
.cpe-decl-log{
  margin-top:18px;
  max-height:420px;
  overflow:auto;
  border-radius:14px;
}
.cpe-decl-log:empty{
  display:none;
}


/* Solicitação pública de declaração - v21 */
.cpe-solicitar-declaracao-page .cpe-card-acesso label,
.cpe-solicitar-declaracao-page #cpe_decl_solicitacao_box label{
  display:block;
  font-weight:700;
  margin:12px 0 5px;
}
.cpe-solicitar-declaracao-page input{
  width:100%;
  padding:12px;
  border:1px solid #d8e0df;
  border-radius:12px;
}
.cpe-solicitar-declaracao-page .cpe-recuperar-senha-box{
  margin-top:22px;
}


/* Relatório persistente de declarações - v22 */
.cpe-declaracoes-relatorio{
  margin-top:22px;
}
.cpe-declaracoes-relatorio .cpe-botoes{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}


/* Página Eventos / Presença de Eventos - v23 */
.cpe-eventos-presenca-page{
  max-width:1400px;
}
.cpe-eventos-hero-azul{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  padding:34px 34px;
  margin-bottom:22px;
  color:#fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(96,165,250,.55), transparent 28%),
    radial-gradient(circle at 85% 5%, rgba(34,211,238,.35), transparent 26%),
    linear-gradient(135deg, #0f3b82 0%, #1357b8 48%, #04245c 100%);
  box-shadow:0 24px 60px rgba(15,59,130,.28);
}
.cpe-eventos-hero-azul::after{
  content:"";
  position:absolute;
  inset:auto -80px -120px auto;
  width:320px;
  height:320px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
}
.cpe-eventos-hero-azul .cpe-selo{
  background:rgba(255,255,255,.18);
  color:#fff;
  border:1px solid rgba(255,255,255,.24);
}
.cpe-eventos-hero-azul h2{
  margin:12px 0 8px;
  color:#fff;
  font-size:34px;
  letter-spacing:-.04em;
}
.cpe-eventos-hero-azul p{
  max-width:820px;
  font-size:16px;
  line-height:1.55;
  color:rgba(255,255,255,.86);
}
.cpe-eventos-presenca-card{
  border:1px solid #dbeafe;
  box-shadow:0 18px 46px rgba(15,59,130,.08);
}
.cpe-tabela-eventos-presenca td{
  vertical-align:middle;
}
.cpe-evento-carga{
  display:block;
  margin-top:5px;
  color:#64748b;
}
.cpe-status-evento{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 10px;
  border-radius:999px;
  font-weight:800;
  font-size:12px;
  white-space:nowrap;
}
.cpe-status-vai-abrir{
  color:#1d4ed8;
  background:#dbeafe;
}
.cpe-status-aberto{
  color:#166534;
  background:#dcfce7;
}
.cpe-status-aguardando{
  color:#92400e;
  background:#fef3c7;
}
.cpe-status-encerrado{
  color:#991b1b;
  background:#fee2e2;
}
.cpe-status-oculto{
  color:#475569;
  background:#e2e8f0;
}
.cpe-status-cadastrado{
  color:#3730a3;
  background:#e0e7ff;
}
.cpe-mini-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 10px;
  border-radius:10px;
  background:#1357b8;
  color:#fff !important;
  text-decoration:none !important;
  font-size:12px;
  font-weight:800;
}
.cpe-mini-link:hover{
  filter:brightness(.95);
}
.cpe-status-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:12px;
}
.cpe-status-grid span{
  display:block;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:16px;
  padding:14px;
  color:#475569;
}
.cpe-status-grid b{
  margin-right:7px;
}
@media(max-width:760px){
  .cpe-eventos-hero-azul{
    padding:26px 20px;
    border-radius:22px;
  }
  .cpe-eventos-hero-azul h2{
    font-size:27px;
  }
}


/* Página inicial premium azul - v24 */
.cpe-home-azul-v24{
  max-width:1320px;
  margin:0 auto;
}
.cpe-home-hero-blue{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(280px,.6fr);
  gap:26px;
  align-items:center;
  background:
    radial-gradient(circle at 12% 12%, rgba(96,165,250,.55), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(45,212,191,.30), transparent 24%),
    linear-gradient(135deg,#082f72 0%,#1357b8 45%,#041b48 100%);
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 26px 70px rgba(15,59,130,.28);
  padding:44px;
}
.cpe-home-hero-blue::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(90deg,rgba(0,0,0,.35),transparent 75%);
  pointer-events:none;
}
.cpe-home-hero-glow{
  position:absolute;
  right:-120px;
  bottom:-160px;
  width:420px;
  height:420px;
  border-radius:999px;
  background:rgba(147,197,253,.20);
  filter:blur(2px);
}
.cpe-home-hero-blue .cpe-home-hero-content{
  position:relative;
  z-index:2;
}
.cpe-home-hero-blue h1{
  max-width:900px;
  font-size:clamp(34px,5vw,62px);
  letter-spacing:-.055em;
  line-height:.98;
}
.cpe-home-hero-blue p{
  max-width:780px;
  font-size:18px;
  line-height:1.65;
}
.cpe-selo-blue,
.cpe-selo-claro{
  background:rgba(255,255,255,.16)!important;
  color:#fff!important;
  border:1px solid rgba(255,255,255,.24)!important;
}
.cpe-home-hero-panel{
  position:relative;
  z-index:2;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14);
  backdrop-filter:blur(14px);
  border-radius:24px;
  padding:24px;
  color:#fff;
}
.cpe-home-hero-panel strong{
  display:block;
  font-size:18px;
  margin-bottom:14px;
}
.cpe-home-hero-panel span{
  display:block;
  padding:10px 0;
  color:rgba(255,255,255,.88);
  border-top:1px solid rgba(255,255,255,.14);
}
.cpe-home-hero-blue .cpe-home-btn-primary{
  background:#fff;
  color:#0f3b82!important;
  box-shadow:0 12px 30px rgba(255,255,255,.15);
}
.cpe-home-hero-blue .cpe-home-btn-secondary{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.28);
}
.cpe-home-metricas{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin:-6px 0 24px;
}
.cpe-home-metricas div{
  background:#fff;
  border:1px solid #dbeafe;
  box-shadow:0 12px 34px rgba(15,59,130,.07);
  border-radius:18px;
  padding:18px;
}
.cpe-home-metricas strong{
  display:block;
  color:#1357b8;
  font-size:18px;
}
.cpe-home-metricas span{
  display:block;
  margin-top:4px;
  color:#64748b;
  font-size:13px;
}
.cpe-home-menu-v24{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
.cpe-home-card-blue{
  position:relative;
  overflow:hidden;
  border-color:#dbeafe;
  box-shadow:0 14px 38px rgba(15,59,130,.08);
}
.cpe-home-card-blue::after{
  content:"";
  position:absolute;
  right:-42px;
  top:-42px;
  width:120px;
  height:120px;
  border-radius:999px;
  background:#eff6ff;
  z-index:0;
}
.cpe-home-card-blue>*{
  position:relative;
  z-index:1;
}
.cpe-home-card-blue:hover{
  border-color:#2563eb;
  box-shadow:0 22px 46px rgba(37,99,235,.15);
}
.cpe-home-card-blue .cpe-home-icon{
  background:#dbeafe;
  color:#1d4ed8;
}
.cpe-home-card-blue h2{
  color:#0f3b82;
}
.cpe-home-card-blue strong{
  color:#1357b8;
}
.cpe-home-info-blue{
  background:
    linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%);
  border-color:#dbeafe;
  box-shadow:0 18px 42px rgba(15,59,130,.08);
}
.cpe-home-info-blue h2{
  color:#0f3b82;
  font-size:clamp(26px,3vw,38px);
  letter-spacing:-.04em;
}
.cpe-home-info-blue .cpe-selo-claro{
  background:#dbeafe!important;
  color:#1d4ed8!important;
  border-color:#bfdbfe!important;
}
.cpe-home-feature-list-blue div{
  border-color:#dbeafe;
}
.cpe-home-feature-list-blue strong{
  color:#0f3b82;
}
@media(max-width:1100px){
  .cpe-home-hero-blue{
    grid-template-columns:1fr;
  }
  .cpe-home-menu-v24,
  .cpe-home-metricas{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .cpe-home-hero-blue{
    padding:28px 20px;
    border-radius:22px;
  }
  .cpe-home-menu-v24,
  .cpe-home-metricas{
    grid-template-columns:1fr;
  }
  .cpe-home-hero-panel{
    padding:18px;
  }
}


/* Home real do sistema com login - v25 */
.cpe-home-v25{
  max-width:1360px;
  margin:0 auto;
}
.cpe-home-nav-v25{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin:0 0 18px;
}
.cpe-home-nav-v25 a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#0f3b82!important;
  text-decoration:none!important;
  font-weight:800;
  font-size:13px;
}
.cpe-home-nav-v25 a:hover{
  background:#dbeafe;
}
.cpe-home-hero-v25{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:26px;
  align-items:stretch;
  border-radius:32px;
  padding:36px;
  background:
    radial-gradient(circle at 14% 18%, rgba(96,165,250,.58), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(45,212,191,.30), transparent 24%),
    linear-gradient(135deg,#082f72 0%,#1357b8 46%,#041b48 100%);
  box-shadow:0 28px 80px rgba(15,59,130,.28);
}
.cpe-home-hero-v25::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:48px 48px;
  opacity:.55;
}
.cpe-home-hero-texto-v25,
.cpe-home-login-v25{
  position:relative;
  z-index:2;
}
.cpe-home-hero-texto-v25{
  display:flex;
  flex-direction:column;
  justify-content:center;
}
.cpe-home-hero-texto-v25 h1{
  color:#fff;
  margin:14px 0;
  font-size:clamp(34px,5vw,62px);
  line-height:.98;
  letter-spacing:-.055em;
}
.cpe-home-hero-texto-v25 p{
  max-width:780px;
  color:rgba(255,255,255,.88);
  font-size:18px;
  line-height:1.65;
}
.cpe-home-actions-v25{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}
.cpe-home-btn-v25{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none!important;
}
.cpe-home-btn-v25-primary{
  background:#fff;
  color:#0f3b82!important;
}
.cpe-home-btn-v25-secondary{
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.28);
  color:#fff!important;
}
.cpe-home-login-v25{
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.62);
  box-shadow:0 22px 58px rgba(0,0,0,.18);
  border-radius:26px;
  padding:24px;
}
.cpe-home-login-v25 h2{
  color:#0f3b82;
  font-size:24px;
  line-height:1.15;
  margin:0 0 8px;
  letter-spacing:-.035em;
}
.cpe-home-login-v25 p{
  color:#475569;
  margin:0 0 16px;
}
.cpe-home-login-v25 label{
  display:block;
  margin:12px 0 6px;
  font-weight:800;
  color:#0f172a;
}
.cpe-home-login-v25 input{
  width:100%;
  padding:12px;
  border:1px solid #cbd5e1;
  border-radius:13px;
  background:#fff;
}
.cpe-home-login-v25 button:not(.cpe-sec){
  width:100%;
  margin-top:14px;
  background:#1357b8;
  color:#fff;
  border:0;
  border-radius:13px;
  padding:13px;
  font-weight:900;
}
.cpe-home-recuperar-v25{
  margin-top:18px;
  padding-top:16px;
  border-top:1px solid #e2e8f0;
}
.cpe-home-recuperar-v25 strong{
  display:block;
  color:#0f3b82;
}
.cpe-home-recuperar-v25 span{
  display:block;
  margin:4px 0 10px;
  font-size:13px;
  color:#64748b;
}
.cpe-home-dashboard-grid{
  display:grid;
  gap:10px;
  margin:16px 0;
}
.cpe-home-dashboard-grid a{
  display:block;
  padding:14px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  text-decoration:none!important;
}
.cpe-home-dashboard-grid strong{
  display:block;
  color:#0f3b82;
}
.cpe-home-dashboard-grid span{
  display:block;
  color:#64748b;
  font-size:13px;
  margin-top:4px;
}
.cpe-home-atalhos-v25{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-top:24px;
}
.cpe-home-atalhos-v25 a{
  position:relative;
  overflow:hidden;
  display:block;
  min-height:210px;
  border-radius:24px;
  background:#fff;
  border:1px solid #dbeafe;
  box-shadow:0 16px 42px rgba(15,59,130,.08);
  padding:24px;
  text-decoration:none!important;
}
.cpe-home-atalhos-v25 a::after{
  content:"";
  position:absolute;
  right:-48px;
  top:-48px;
  width:130px;
  height:130px;
  border-radius:999px;
  background:#eff6ff;
}
.cpe-home-atalhos-v25 span{
  position:relative;
  z-index:1;
  display:inline-flex;
  width:46px;
  height:46px;
  align-items:center;
  justify-content:center;
  border-radius:15px;
  background:#dbeafe;
  color:#1d4ed8;
  font-weight:900;
}
.cpe-home-atalhos-v25 h2{
  position:relative;
  z-index:1;
  margin:16px 0 8px;
  color:#0f3b82;
  font-size:22px;
  letter-spacing:-.035em;
}
.cpe-home-atalhos-v25 p{
  position:relative;
  z-index:1;
  color:#64748b;
  line-height:1.55;
}
.cpe-home-como-funciona-v25{
  display:grid;
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:24px;
  margin-top:24px;
  padding:28px;
  border-radius:26px;
  background:linear-gradient(135deg,#f8fbff 0%,#eef6ff 100%);
  border:1px solid #dbeafe;
}
.cpe-home-como-funciona-v25 h2{
  color:#0f3b82;
  margin:12px 0;
  font-size:clamp(28px,3vw,40px);
  letter-spacing:-.04em;
}
.cpe-home-como-funciona-v25 p{
  color:#475569;
  line-height:1.65;
}
.cpe-home-passos-v25{
  display:grid;
  gap:12px;
}
.cpe-home-passos-v25 div{
  background:#fff;
  border:1px solid #dbeafe;
  border-radius:18px;
  padding:16px;
}
.cpe-home-passos-v25 strong{
  display:block;
  color:#0f3b82;
}
.cpe-home-passos-v25 span{
  display:block;
  margin-top:4px;
  color:#64748b;
}
@media(max-width:1100px){
  .cpe-home-hero-v25,
  .cpe-home-como-funciona-v25{
    grid-template-columns:1fr;
  }
  .cpe-home-atalhos-v25{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .cpe-home-hero-v25{
    padding:22px;
    border-radius:24px;
  }
  .cpe-home-atalhos-v25{
    grid-template-columns:1fr;
  }
}


/* Layout integrado ao tema Sistema Presença Guaraí - v26 */
/* Aplica o visual azul/mobile nas páginas públicas do plugin: inscrição, login, check-in, check-out e solicitação de declaração. */

.cpe-plugin-shell-v26,
.cpe-publico-v26{
  --cpe-v26-blue-950:#041b48;
  --cpe-v26-blue-900:#082f72;
  --cpe-v26-blue-800:#0f3b82;
  --cpe-v26-blue-700:#1357b8;
  --cpe-v26-blue-600:#1d6eea;
  --cpe-v26-blue-100:#dbeafe;
  --cpe-v26-blue-50:#eff6ff;
  --cpe-v26-cyan:#22d3ee;
  --cpe-v26-green:#16a34a;
  --cpe-v26-text:#0f172a;
  --cpe-v26-muted:#64748b;
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0;
}

.cpe-plugin-shell-v26::before,
.cpe-publico-v26::before{
  content:"";
  position:fixed;
  inset:80px auto auto -120px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:rgba(29,110,234,.10);
  pointer-events:none;
  z-index:-1;
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26,
.cpe-publico-v26 .cpe-plugin-hero-v26{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  padding:34px;
  margin-bottom:22px;
  color:#fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(96,165,250,.58), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(45,212,191,.30), transparent 24%),
    linear-gradient(135deg,#082f72 0%,#1357b8 48%,#041b48 100%) !important;
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 26px 70px rgba(15,59,130,.24);
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26::before,
.cpe-publico-v26 .cpe-plugin-hero-v26::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px),
    linear-gradient(0deg,rgba(255,255,255,.06) 1px,transparent 1px);
  background-size:46px 46px;
  opacity:.55;
  pointer-events:none;
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26 > *,
.cpe-publico-v26 .cpe-plugin-hero-v26 > *{
  position:relative;
  z-index:1;
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26 .cpe-selo,
.cpe-publico-v26 .cpe-plugin-hero-v26 .cpe-selo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  color:#fff;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.24);
  font-weight:900;
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26 h2,
.cpe-publico-v26 .cpe-plugin-hero-v26 h2{
  color:#fff;
  margin:14px 0 8px;
  font-size:clamp(30px,5vw,48px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.cpe-plugin-shell-v26 .cpe-plugin-hero-v26 p,
.cpe-publico-v26 .cpe-plugin-hero-v26 p{
  max-width:820px;
  color:rgba(255,255,255,.86);
  font-size:17px;
  line-height:1.6;
  margin:0;
}

.cpe-plugin-shell-v26 .cpe-card,
.cpe-publico-v26 .cpe-card{
  border:1px solid #dbeafe;
  border-radius:26px;
  background:rgba(255,255,255,.96);
  box-shadow:0 18px 48px rgba(15,59,130,.10);
  padding:24px;
}

.cpe-plugin-shell-v26 .cpe-card + .cpe-card,
.cpe-publico-v26 .cpe-card + .cpe-card{
  margin-top:18px;
}

.cpe-plugin-shell-v26 .cpe-auth-header,
.cpe-publico-v26 .cpe-auth-header{
  padding-bottom:16px;
  margin-bottom:16px;
  border-bottom:1px solid #e2e8f0;
}

.cpe-plugin-shell-v26 .cpe-auth-header h3,
.cpe-publico-v26 .cpe-auth-header h3,
.cpe-publico-v26 .cpe-card-evento h3{
  margin:0 0 6px;
  color:#0f3b82;
  font-size:24px;
  line-height:1.15;
  letter-spacing:-.035em;
}

.cpe-plugin-shell-v26 .cpe-auth-header p,
.cpe-publico-v26 .cpe-auth-header p{
  color:#64748b;
  margin:0;
  line-height:1.5;
}

.cpe-plugin-shell-v26 label,
.cpe-publico-v26 label{
  display:block;
  margin:14px 0 7px;
  font-weight:900;
  color:#0f172a;
}

.cpe-plugin-shell-v26 input,
.cpe-publico-v26 input,
.cpe-plugin-shell-v26 select,
.cpe-publico-v26 select,
.cpe-plugin-shell-v26 textarea,
.cpe-publico-v26 textarea{
  width:100%;
  min-height:48px;
  border:1px solid #cbd5e1;
  border-radius:14px;
  background:#fff;
  color:#0f172a;
  padding:12px 14px;
  font-size:16px;
  outline:none;
  transition:border-color .18s ease, box-shadow .18s ease;
}

.cpe-plugin-shell-v26 input:focus,
.cpe-publico-v26 input:focus,
.cpe-plugin-shell-v26 select:focus,
.cpe-publico-v26 select:focus,
.cpe-plugin-shell-v26 textarea:focus,
.cpe-publico-v26 textarea:focus{
  border-color:#1d6eea;
  box-shadow:0 0 0 4px rgba(29,110,234,.14);
}

.cpe-plugin-shell-v26 button,
.cpe-publico-v26 button,
.cpe-plugin-shell-v26 .cpe-botao-link,
.cpe-publico-v26 .cpe-botao-link{
  min-height:48px;
  border-radius:14px;
  font-weight:950;
  letter-spacing:-.01em;
  box-shadow:0 12px 30px rgba(19,87,184,.15);
}

.cpe-plugin-shell-v26 button:not(.cpe-sec):not(.cpe-perigo),
.cpe-publico-v26 button:not(.cpe-sec):not(.cpe-perigo){
  background:linear-gradient(135deg,#1357b8,#1d6eea);
  color:#fff;
  border:0;
}

.cpe-plugin-shell-v26 button:not(.cpe-sec):not(.cpe-perigo):hover,
.cpe-publico-v26 button:not(.cpe-sec):not(.cpe-perigo):hover{
  filter:brightness(.96);
  transform:translateY(-1px);
}

.cpe-plugin-shell-v26 .cpe-sec,
.cpe-publico-v26 .cpe-sec{
  background:#eff6ff;
  color:#0f3b82;
  border:1px solid #bfdbfe;
  box-shadow:none;
}

.cpe-plugin-shell-v26 .cpe-recuperar-senha-box,
.cpe-publico-v26 .cpe-recuperar-senha-box{
  margin-top:22px;
  padding:18px;
  border-radius:20px;
  background:#f8fbff;
  border:1px solid #dbeafe;
}

.cpe-plugin-shell-v26 .cpe-recuperar-senha-box h3,
.cpe-publico-v26 .cpe-recuperar-senha-box h3{
  color:#0f3b82;
  margin-top:0;
}

.cpe-publico-v26 .cpe-card-evento{
  background:
    radial-gradient(circle at 10% 20%, rgba(219,234,254,.85), transparent 25%),
    #fff;
}

.cpe-publico-v26 .cpe-info{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.cpe-publico-v26 .cpe-info b{
  grid-column:1/-1;
  display:block;
  padding:18px;
  border-radius:20px;
  color:#0f3b82;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  font-size:clamp(21px,4vw,30px);
  line-height:1.15;
  letter-spacing:-.035em;
}

.cpe-publico-v26 .cpe-info span{
  display:flex;
  align-items:center;
  min-height:48px;
  padding:12px 14px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#334155;
  font-weight:750;
  line-height:1.35;
}

.cpe-publico-v26 .cpe-info p{
  grid-column:1/-1;
  margin:0;
  padding:14px;
  border-radius:16px;
  background:#fff;
  color:#475569;
  border:1px solid #e2e8f0;
  line-height:1.55;
}

.cpe-publico-v26 .cpe-presenca-panel{
  margin-top:18px;
  padding:20px;
  border-radius:22px;
  background:
    radial-gradient(circle at 15% 12%, rgba(96,165,250,.22), transparent 30%),
    linear-gradient(135deg,#f8fbff,#eff6ff);
  border:1px solid #bfdbfe;
}

.cpe-publico-v26 .cpe-status-logado{
  display:flex;
  flex-direction:column;
  gap:5px;
  padding:16px;
  margin-bottom:16px;
  border-radius:18px;
  background:#fff;
  border:1px solid #dbeafe;
}

.cpe-publico-v26 .cpe-status-logado strong{
  color:#0f3b82;
  font-size:18px;
}

.cpe-publico-v26 .cpe-status-logado span{
  color:#64748b;
}

.cpe-publico-v26 #cpe_btn_confirmar_presenca{
  width:100%;
  background:linear-gradient(135deg,#1357b8,#1d6eea)!important;
  margin-bottom:10px;
}

.cpe-publico-v26 #cpe_btn_confirmar_saida{
  width:100%;
  background:linear-gradient(135deg,#15803d,#16a34a)!important;
  margin-bottom:10px;
}

.cpe-publico-v26 #cpe_btn_logout{
  width:100%;
}

.cpe-plugin-shell-v26 .cpe-msg,
.cpe-publico-v26 .cpe-msg{
  border-radius:14px;
  margin-top:14px;
  font-weight:800;
}

.cpe-plugin-shell-v26 .cpe-msg.sucesso,
.cpe-publico-v26 .cpe-msg.sucesso{
  background:#dcfce7;
  border:1px solid #bbf7d0;
  color:#166534;
}

.cpe-plugin-shell-v26 .cpe-msg.erro,
.cpe-publico-v26 .cpe-msg.erro{
  background:#fee2e2;
  border:1px solid #fecaca;
  color:#991b1b;
}

.cpe-plugin-shell-v26 .cpe-msg.info,
.cpe-publico-v26 .cpe-msg.info{
  background:#dbeafe;
  border:1px solid #bfdbfe;
  color:#1d4ed8;
}

.cpe-plugin-shell-v26 .cpe-modal-card,
.cpe-publico-v26 .cpe-modal-card{
  border-radius:26px;
  border:1px solid #dbeafe;
  box-shadow:0 26px 80px rgba(15,59,130,.24);
}

@media(max-width:760px){
  .cpe-plugin-shell-v26,
  .cpe-publico-v26{
    padding:0 2px;
  }

  .cpe-plugin-shell-v26 .cpe-plugin-hero-v26,
  .cpe-publico-v26 .cpe-plugin-hero-v26{
    border-radius:22px;
    padding:24px 20px;
    margin-bottom:14px;
  }

  .cpe-plugin-shell-v26 .cpe-plugin-hero-v26 h2,
  .cpe-publico-v26 .cpe-plugin-hero-v26 h2{
    font-size:30px;
  }

  .cpe-plugin-shell-v26 .cpe-card,
  .cpe-publico-v26 .cpe-card{
    border-radius:20px;
    padding:18px;
  }

  .cpe-publico-v26 .cpe-info{
    grid-template-columns:1fr;
  }

  .cpe-publico-v26 .cpe-info b,
  .cpe-publico-v26 .cpe-info p{
    grid-column:auto;
  }

  .cpe-plugin-shell-v26 input,
  .cpe-publico-v26 input,
  .cpe-plugin-shell-v26 button,
  .cpe-publico-v26 button{
    min-height:52px;
    font-size:16px;
  }

  .cpe-plugin-shell-v26 .cpe-recuperar-senha-box,
  .cpe-publico-v26 .cpe-recuperar-senha-box{
    padding:16px;
  }

  .cpe-publico-v26 .cpe-presenca-panel{
    padding:16px;
  }
}

@media(max-width:420px){
  .cpe-plugin-shell-v26 .cpe-plugin-hero-v26,
  .cpe-publico-v26 .cpe-plugin-hero-v26{
    padding:22px 16px;
  }

  .cpe-plugin-shell-v26 .cpe-card,
  .cpe-publico-v26 .cpe-card{
    padding:16px;
  }
}


/* Sessão curta de presença - v28 */
.cpe-sessao-curta-aviso{
  margin:12px 0 16px;
  border-radius:16px;
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#0f3b82;
  font-weight:800;
}
