
/* ==========================================================================
   Intercamp Nordeste v1.7.4 — mobile sem corte + logo com fundo laranja
   Carregado depois do app.css / intercamp-admin-fix.css.
   ========================================================================== */

:root{
  --inter-forest:#0F1F14;
  --inter-ink:#0A1410;
  --inter-orange:#FF6A21;
  --inter-beige:#E7DCC3;
  --inter-paper:#FAF7F2;
}

/* Zera qualquer largura maior que o viewport */
html,
body,
body.admin-body{
  width:100%!important;
  max-width:100%!important;
  overflow-x:hidden!important;
}

/* O admin inteiro fica dentro do viewport real */
body.admin-body .container,
body.admin-body .admin-nav-wrap,
body.admin-body .admin-shell{
  width:calc(100vw - 16px)!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Header */
body.admin-body .admin-topbar{
  width:100%!important;
  max-width:100%!important;
  overflow:hidden!important;
}

/* Logo: fundo laranja como na identidade visual */
body.admin-body .brand-mark-img,
body.admin-body .admin-brand .brand-mark-img{
  background:#FF6A21!important;
  border:1px solid rgba(255,255,255,.18)!important;
  box-shadow:
    0 16px 34px rgba(255,106,33,.26),
    0 0 0 4px rgba(255,106,33,.12)!important;
}

body.admin-body .brand-mark-img img,
body.admin-body .admin-brand .brand-mark-img img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  padding:4px!important;
  border-radius:13px!important;
}

/* Menu rola internamente, mas não cria largura na página */
body.admin-body .admin-tabs-shell{
  width:100%!important;
  max-width:100%!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  box-sizing:border-box!important;
}

body.admin-body .admin-tabs{
  width:max-content!important;
  min-width:100%!important;
  max-width:none!important;
  overflow:visible!important;
}

/* Hero e todos os cards ficam travados no viewport */
body.admin-body .admin-hero,
body.admin-body .admin-mini-grid,
body.admin-body .dashboard-stats,
body.admin-body .premium-stats,
body.admin-body .admin-dashboard-grid,
body.admin-body .admin-card,
body.admin-body .premium-card,
body.admin-body .admin-kpi{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
}

/* Título não pode empurrar a largura da tela */
body.admin-body .admin-hero h1,
body.admin-body .admin-card h1,
body.admin-body .admin-card h2,
body.admin-body .premium-card h2{
  max-width:100%!important;
  overflow-wrap:anywhere!important;
  word-break:break-word!important;
  hyphens:auto!important;
}

/* Desktop/tablet */
body.admin-body .admin-hero{
  grid-template-columns:minmax(0,1fr) auto!important;
}

body.admin-body .admin-dashboard-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(0,.92fr)!important;
}

/* Mobile real */
@media(max-width:760px){
  body.admin-body .container,
  body.admin-body .admin-nav-wrap,
  body.admin-body .admin-shell{
    width:calc(100vw - 14px)!important;
    max-width:calc(100vw - 14px)!important;
  }

  body.admin-body .admin-topbar .container.nav,
  body.admin-body .admin-nav-wrap{
    height:74px!important;
    min-height:74px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
  }

  body.admin-body .admin-brand{
    max-width:calc(100vw - 120px)!important;
    overflow:hidden!important;
  }

  body.admin-body .admin-brand .brand-copy{
    min-width:0!important;
    overflow:hidden!important;
  }

  body.admin-body .admin-brand .brand-copy strong,
  body.admin-body .admin-brand .brand-copy small{
    white-space:nowrap!important;
  }

  body.admin-body .admin-brand .brand-copy strong{
    font-size:15px!important;
  }

  body.admin-body .admin-brand .brand-copy small{
    font-size:10px!important;
  }

  body.admin-body .admin-brand .brand-mark-img{
    width:48px!important;
    height:48px!important;
    min-width:48px!important;
  }

  body.admin-body .admin-tabs-shell{
    position:sticky!important;
    top:76px!important;
    z-index:25!important;
  }

  body.admin-body .admin-hero{
    display:grid!important;
    grid-template-columns:1fr!important;
    padding:20px!important;
    border-radius:24px!important;
  }

  body.admin-body .admin-hero h1{
    font-size:clamp(24px,8.2vw,32px)!important;
    line-height:.95!important;
    letter-spacing:.01em!important;
  }

  body.admin-body .admin-hero p{
    font-size:13px!important;
    line-height:1.45!important;
  }

  body.admin-body .admin-actions{
    display:grid!important;
    grid-template-columns:1fr!important;
    width:100%!important;
    max-width:100%!important;
    gap:10px!important;
  }

  body.admin-body .admin-actions .btn{
    width:100%!important;
    max-width:100%!important;
    justify-content:center!important;
    white-space:normal!important;
    min-height:54px!important;
    overflow:hidden!important;
  }

  body.admin-body .admin-mini-grid{
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.admin-body .admin-kpi.premium{
    min-height:auto!important;
  }

  body.admin-body .admin-dashboard-grid{
    grid-template-columns:1fr!important;
  }

  body.admin-body .admin-revenue-card,
  body.admin-body .admin-mode-card{
    min-height:auto!important;
  }

  body.admin-body .admin-card-head{
    grid-template-columns:1fr!important;
  }

  body.admin-body .admin-card-head .btn{
    width:100%!important;
    max-width:100%!important;
  }

  /* Tabelas rolam só dentro do card */
  body.admin-body .table-wrap,
  body.admin-body .premium-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
  }

  body.admin-body .admin-table{
    width:max-content!important;
    min-width:720px!important;
    max-width:none!important;
  }
}

@media(max-width:390px){
  body.admin-body .container,
  body.admin-body .admin-nav-wrap,
  body.admin-body .admin-shell{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
  }

  body.admin-body .admin-hero{
    padding:18px!important;
  }

  body.admin-body .admin-hero h1{
    font-size:28px!important;
  }
}


/* ==========================================================================
   Intercamp Nordeste v1.7.5 — HARD FIX anti-corte horizontal no mobile
   Usa pointer:coarse para pegar celulares mesmo quando o browser abre viewport maior.
   ========================================================================== */

/* aplica em celulares/tablets/telas estreitas */
@media (max-width:900px), (pointer:coarse){
  html,
  body,
  body.admin-body{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
    position:relative!important;
  }

  /* O shell não pode ser grid com conteúdo maior. Vira bloco com padding interno. */
  body.admin-body .container.admin-shell,
  body.admin-body .admin-shell{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 10px 42px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  /* Cada bloco principal recebe largura baseada no viewport, ignorando qualquer herança antiga. */
  body.admin-body .admin-shell > .admin-tabs-shell,
  body.admin-body .admin-shell > .admin-hero,
  body.admin-body .admin-shell > .admin-mini-grid,
  body.admin-body .admin-shell > .premium-stats,
  body.admin-body .admin-shell > .dashboard-stats,
  body.admin-body .admin-shell > .admin-dashboard-grid,
  body.admin-body .admin-shell > .admin-card,
  body.admin-body .admin-shell > .premium-card,
  body.admin-body .admin-shell > .alert{
    width:calc(100vw - 20px)!important;
    max-width:calc(100vw - 20px)!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.admin-body .admin-shell > * + *{
    margin-top:14px!important;
  }

  /* Menu pode rolar por dentro, mas o container não empurra a página. */
  body.admin-body .admin-tabs-shell{
    overflow-x:auto!important;
    overflow-y:hidden!important;
    padding:8px!important;
    border-radius:20px!important;
  }

  body.admin-body .admin-tabs{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:8px!important;
    width:max-content!important;
    min-width:max-content!important;
    max-width:none!important;
    overflow:visible!important;
  }

  body.admin-body .admin-tabs a{
    flex:0 0 auto!important;
    white-space:nowrap!important;
  }

  /* Hero 100% mobile */
  body.admin-body .admin-hero{
    display:block!important;
    padding:20px!important;
    border-radius:24px!important;
    overflow:hidden!important;
  }

  body.admin-body .admin-hero h1{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    font-size:clamp(24px,7.4vw,32px)!important;
    line-height:.96!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:break-word!important;
    hyphens:auto!important;
  }

  body.admin-body .admin-hero p{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    font-size:13px!important;
    line-height:1.45!important;
    overflow-wrap:anywhere!important;
  }

  body.admin-body .admin-actions{
    width:100%!important;
    max-width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    margin-top:18px!important;
  }

  body.admin-body .admin-actions .btn{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
    min-height:54px!important;
    padding-left:12px!important;
    padding-right:12px!important;
    overflow:hidden!important;
  }

  /* Métricas 1 por linha no mobile para não cortar */
  body.admin-body .admin-mini-grid,
  body.admin-body .premium-stats,
  body.admin-body .dashboard-stats{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.admin-body .admin-mini-grid > *,
  body.admin-body .premium-stats > *,
  body.admin-body .dashboard-stats > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.admin-body .admin-kpi.premium{
    width:100%!important;
    max-width:100%!important;
    min-height:auto!important;
    padding:17px 18px!important;
  }

  body.admin-body .admin-dashboard-grid{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:12px!important;
  }

  body.admin-body .admin-dashboard-grid > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.admin-body .premium-card,
  body.admin-body .admin-card{
    padding:20px!important;
    border-radius:24px!important;
  }

  body.admin-body .admin-revenue-card,
  body.admin-body .admin-mode-card{
    min-height:auto!important;
  }

  body.admin-body .admin-card-head{
    display:block!important;
  }

  body.admin-body .admin-card-head .btn{
    width:100%!important;
    max-width:100%!important;
    margin-top:12px!important;
  }

  /* Tabelas não podem aumentar a página, só rolar dentro do card */
  body.admin-body .table-wrap,
  body.admin-body .premium-table-wrap{
    width:100%!important;
    max-width:100%!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
  }

  body.admin-body .admin-table{
    width:max-content!important;
    min-width:700px!important;
    max-width:none!important;
  }

  /* Header dentro do viewport */
  body.admin-body .admin-topbar .container.nav,
  body.admin-body .admin-nav-wrap{
    width:100%!important;
    max-width:100%!important;
    padding:0 10px!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  body.admin-body .admin-brand{
    max-width:calc(100vw - 126px)!important;
  }
}

/* Uma trava final: nenhum elemento comum do admin pode passar do viewport */
@media (max-width:900px), (pointer:coarse){
  body.admin-body .admin-hero *,
  body.admin-body .admin-card *,
  body.admin-body .premium-card *,
  body.admin-body .admin-kpi *{
    max-width:100%!important;
  }
}


/* ==========================================================================
   Intercamp Nordeste v1.7.6 — correção do background bugado
   Mantém o corte horizontal corrigido e escurece definitivamente o fundo.
   ========================================================================== */

/* Fundo oficial: sempre verde escuro, sem área branca lavada */
body.admin-body{
  background:
    radial-gradient(circle at 0% 0%, rgba(255,106,33,.16), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(255,106,33,.10), transparent 28%),
    linear-gradient(180deg,#06100A 0%,#07130D 34%,#0B1B11 66%,#07130D 100%)!important;
  background-attachment:fixed!important;
}

/* A imagem de fundo fica escura, não branca/lavada */
body.admin-body::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-2!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    linear-gradient(180deg,
      rgba(6,16,10,.86) 0%,
      rgba(6,16,10,.92) 38%,
      rgba(8,22,13,.94) 68%,
      rgba(6,16,10,.96) 100%),
    url('../img/intercamp/intercamp-bg.png') center top/cover no-repeat!important;
  filter:contrast(1.06) saturate(.88)!important;
}

/* Camada de textura premium verde por cima, sem clarear */
body.admin-body::after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:-1!important;
  pointer-events:none!important;
  opacity:1!important;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,106,33,.11), transparent 24%),
    radial-gradient(circle at 92% 10%, rgba(231,220,195,.04), transparent 24%),
    linear-gradient(90deg, rgba(255,106,33,.035), transparent 18%, transparent 82%, rgba(255,106,33,.035)),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(231,220,195,.018) 12px 13px)!important;
  mix-blend-mode:normal!important;
}

/* Remove qualquer fundo claro que esteja vazando por wrappers antigos */
body.admin-body,
body.admin-body .admin-shell,
body.admin-body .container.admin-shell,
body.admin-body main,
body.admin-body .admin-shell > section{
  background-color:transparent!important;
}

/* Se algum bloco grande sem classe estiver criando branco, força transparente no nível externo */
body.admin-body > main,
body.admin-body > div:not(.container):not(.admin-card):not(.premium-card){
  background:transparent!important;
}

/* Cards continuam claros por dentro, mas a página ao redor continua verde */
body.admin-body .admin-kpi.premium,
body.admin-body .admin-card,
body.admin-body .premium-card{
  background:
    radial-gradient(circle at 100% 0%, rgba(255,106,33,.075), transparent 34%),
    linear-gradient(180deg, rgba(250,247,242,.98), rgba(232,222,201,.96))!important;
}

/* Hero mais integrado ao fundo verde */
body.admin-body .admin-hero{
  background:
    radial-gradient(circle at 92% 10%,rgba(255,106,33,.28),transparent 34%),
    linear-gradient(135deg,rgba(5,18,9,.98),rgba(12,29,17,.96)),
    url('../img/intercamp/intercamp-bg.png') center/cover no-repeat!important;
}

/* Mobile: fundo fixo verde e imagem mais discreta para não lavar */
@media(max-width:900px), (pointer:coarse){
  body.admin-body{
    background:
      radial-gradient(circle at 0% 0%, rgba(255,106,33,.14), transparent 25%),
      linear-gradient(180deg,#06100A 0%,#07130D 42%,#0B1B11 100%)!important;
    background-attachment:fixed!important;
  }

  body.admin-body::before{
    opacity:1!important;
    background:
      linear-gradient(180deg,
        rgba(6,16,10,.88) 0%,
        rgba(6,16,10,.94) 40%,
        rgba(8,22,13,.96) 100%),
      url('../img/intercamp/intercamp-bg.png') center top/cover no-repeat!important;
  }

  body.admin-body::after{
    background:
      radial-gradient(circle at 0% 0%, rgba(255,106,33,.10), transparent 25%),
      linear-gradient(90deg, rgba(255,106,33,.025), transparent 22%, transparent 78%, rgba(255,106,33,.025))!important;
  }
}


/* ==========================================================================
   Intercamp Nordeste v1.7.8 — bottom nav compacta + sidebar lateral premium
   ========================================================================== */

.admin-desktop-tabs{
  display:none!important;
}

.mobile-bottom-nav-wrap,
.mobile-side-nav,
.mobile-side-backdrop{
  display:none;
}

@media (min-width: 980px) and (hover:hover){
  .admin-desktop-tabs{
    display:flex!important;
  }
}

/* Mobile/tablet touch */
@media (max-width:979px), (pointer:coarse){
  html,
  body,
  body.admin-body{
    overflow-x:hidden!important;
    max-width:100%!important;
  }

  .admin-shell{
    padding-top:14px!important;
    padding-bottom:88px!important;
  }

  .admin-tabs-shell:not(.admin-desktop-tabs),
  .admin-desktop-tabs{
    display:none!important;
  }

  .admin-topbar .admin-logout{
    display:none!important;
  }

  .mobile-bottom-nav-wrap{
    display:block!important;
    position:fixed!important;
    left:0!important;
    right:0!important;
    bottom:max(8px, env(safe-area-inset-bottom))!important;
    z-index:80!important;
    pointer-events:none!important;
  }

  .mobile-bottom-nav{
    pointer-events:auto!important;
    width:min(calc(100vw - 26px), 390px)!important;
    height:68px!important;
    margin:0 auto!important;
    display:grid!important;
    grid-template-columns:repeat(5,1fr)!important;
    align-items:center!important;
    gap:2px!important;
    padding:7px 8px 8px!important;
    border-radius:24px!important;
    background:
      linear-gradient(180deg, rgba(12,29,17,.985), rgba(5,14,8,.985))!important;
    border:1px solid rgba(231,220,195,.14)!important;
    box-shadow:
      0 15px 34px rgba(0,0,0,.38),
      inset 0 1px 0 rgba(255,255,255,.05)!important;
    backdrop-filter: blur(16px)!important;
    -webkit-backdrop-filter: blur(16px)!important;
  }

  .mobile-tab{
    appearance:none!important;
    border:0!important;
    background:transparent!important;
    color:rgba(250,247,242,.70)!important;
    text-decoration:none!important;
    padding:4px 2px!important;
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:4px!important;
    font:inherit!important;
    cursor:pointer!important;
    border-radius:18px!important;
  }

  .mobile-tab-icon{
    width:20px!important;
    height:20px!important;
    display:grid!important;
    place-items:center!important;
  }

  .mobile-tab-icon svg{
    width:20px!important;
    height:20px!important;
    display:block!important;
  }

  .mobile-tab-label{
    font-size:9px!important;
    line-height:1!important;
    font-weight:900!important;
    letter-spacing:.02em!important;
    white-space:nowrap!important;
  }

  .mobile-tab.active{
    color:#FFF6EC!important;
  }

  .mobile-tab.active .mobile-tab-icon{
    color:var(--inter-orange)!important;
  }

  .mobile-tab-center{
    transform:translateY(-9px)!important;
  }

  .mobile-center-badge{
    width:48px!important;
    height:48px!important;
    border-radius:50%!important;
    display:grid!important;
    place-items:center!important;
    background:
      radial-gradient(circle at 30% 25%, rgba(255,255,255,.15), transparent 35%),
      linear-gradient(180deg, #FF7A32, #FF6A21)!important;
    border:3px solid rgba(8,22,13,.98)!important;
    box-shadow:
      0 12px 24px rgba(255,106,33,.34),
      0 0 0 4px rgba(255,106,33,.10)!important;
  }

  .mobile-center-badge img{
    width:30px!important;
    height:30px!important;
    object-fit:contain!important;
    display:block!important;
  }

  .mobile-tab-center .mobile-tab-label{
    margin-top:0!important;
    color:#FFF6EC!important;
  }

  /* Sidebar lateral premium */
  .mobile-side-backdrop{
    display:block!important;
    position:fixed!important;
    inset:0!important;
    z-index:88!important;
    background:rgba(1,7,4,.60)!important;
    opacity:0!important;
    visibility:hidden!important;
    transition:opacity .24s ease, visibility .24s ease!important;
  }

  .mobile-side-nav{
    display:block!important;
    position:fixed!important;
    top:0!important;
    left:0!important;
    bottom:0!important;
    width:min(84vw, 340px)!important;
    z-index:89!important;
    transform:translateX(-104%)!important;
    transition:transform .28s cubic-bezier(.2,.8,.2,1)!important;
    background:
      radial-gradient(circle at 0% 0%, rgba(255,106,33,.20), transparent 30%),
      linear-gradient(180deg, rgba(12,29,17,.995), rgba(5,14,8,.995))!important;
    border-right:1px solid rgba(231,220,195,.14)!important;
    box-shadow:26px 0 70px rgba(0,0,0,.45)!important;
    padding:18px 16px calc(22px + env(safe-area-inset-bottom))!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
  }

  .mobile-side-backdrop.is-open{
    opacity:1!important;
    visibility:visible!important;
  }

  .mobile-side-nav.is-open{
    transform:translateX(0)!important;
  }

  .mobile-side-head{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    padding-bottom:18px!important;
    border-bottom:1px solid rgba(231,220,195,.12)!important;
  }

  .mobile-side-brand{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-width:0!important;
  }

  .mobile-side-brand-mark{
    width:46px!important;
    height:46px!important;
    border-radius:16px!important;
    overflow:hidden!important;
    background:#FF6A21!important;
    display:grid!important;
    place-items:center!important;
    box-shadow:0 12px 26px rgba(255,106,33,.24)!important;
    flex:0 0 auto!important;
  }

  .mobile-side-brand-mark img{
    width:32px!important;
    height:32px!important;
    object-fit:contain!important;
  }

  .mobile-side-brand strong{
    display:block!important;
    color:#FFF6EC!important;
    font-size:17px!important;
    line-height:1!important;
    letter-spacing:.02em!important;
  }

  .mobile-side-brand small{
    display:block!important;
    margin-top:4px!important;
    color:rgba(231,220,195,.72)!important;
    font-size:11px!important;
    letter-spacing:.08em!important;
    text-transform:uppercase!important;
  }

  .mobile-side-close{
    appearance:none!important;
    border:1px solid rgba(231,220,195,.14)!important;
    background:rgba(255,255,255,.05)!important;
    color:#FFF6EC!important;
    width:40px!important;
    height:40px!important;
    border-radius:14px!important;
    font-size:26px!important;
    line-height:1!important;
    cursor:pointer!important;
  }

  .mobile-side-section{
    display:grid!important;
    gap:9px!important;
    padding:18px 0 0!important;
  }

  .mobile-side-title{
    display:block!important;
    color:rgba(231,220,195,.62)!important;
    font-size:11px!important;
    text-transform:uppercase!important;
    letter-spacing:.12em!important;
    font-weight:900!important;
    margin:0 0 2px!important;
  }

  .mobile-side-link{
    min-height:50px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    padding:14px 15px!important;
    border-radius:18px!important;
    text-decoration:none!important;
    color:#FFF6EC!important;
    background:rgba(255,255,255,.045)!important;
    border:1px solid rgba(231,220,195,.10)!important;
    font-weight:900!important;
    font-size:14px!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }

  .mobile-side-link::after{
    content:"›"!important;
    font-size:20px!important;
    color:rgba(255,106,33,.75)!important;
  }

  .mobile-side-link.active{
    background:rgba(255,106,33,.14)!important;
    border-color:rgba(255,106,33,.26)!important;
    color:#FFD9C3!important;
  }

  .mobile-side-footer{
    margin-top:18px!important;
    padding-top:16px!important;
    border-top:1px solid rgba(231,220,195,.12)!important;
  }

  .mobile-side-logout{
    display:flex!important;
    min-height:50px!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:18px!important;
    text-decoration:none!important;
    color:#FFF6EC!important;
    background:rgba(255,255,255,.055)!important;
    border:1px solid rgba(231,220,195,.12)!important;
    font-weight:900!important;
  }

  body.mobile-nav-panel-open{
    overflow:hidden!important;
  }
}


/* ==========================================================================
   Intercamp Nordeste v1.7.9 — remove navbar superior mobile + cards 2x2
   ========================================================================== */

/* A navbar superior de páginas NÃO aparece no mobile */
html.admin-mobile-ui body.admin-body .admin-tabs-shell,
html.admin-mobile-ui body.admin-body .admin-desktop-tabs,
html.admin-mobile-ui body.admin-body nav.admin-tabs,
@media (max-width:979px){
  body.admin-body .admin-tabs-shell,
  body.admin-body .admin-desktop-tabs,
  body.admin-body nav.admin-tabs{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
}

@media (pointer:coarse){
  body.admin-body .admin-tabs-shell,
  body.admin-body .admin-desktop-tabs,
  body.admin-body nav.admin-tabs{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
}

/* Cards principais em 2 colunas no mobile: 2x2 */
html.admin-mobile-ui body.admin-body .admin-mini-grid,
html.admin-mobile-ui body.admin-body .premium-stats,
html.admin-mobile-ui body.admin-body .dashboard-stats{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:100%!important;
}

@media (max-width:979px), (pointer:coarse){
  body.admin-body .admin-mini-grid,
  body.admin-body .premium-stats,
  body.admin-body .dashboard-stats{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
  }

  body.admin-body .admin-mini-grid > *,
  body.admin-body .premium-stats > *,
  body.admin-body .dashboard-stats > *{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
  }

  body.admin-body .admin-kpi.premium{
    min-height:112px!important;
    padding:14px 12px!important;
    border-radius:20px!important;
  }

  body.admin-body .admin-kpi.premium span{
    font-size:10px!important;
    line-height:1.1!important;
    letter-spacing:.04em!important;
  }

  body.admin-body .admin-kpi.premium strong{
    font-size:30px!important;
    line-height:1!important;
    margin-top:9px!important;
  }

  body.admin-body .admin-kpi.premium small{
    font-size:10px!important;
    line-height:1.25!important;
    margin-top:10px!important;
  }

  /* compensa a remoção da nav superior */
  body.admin-body .admin-shell{
    padding-top:10px!important;
  }

  body.admin-body .admin-hero{
    margin-top:0!important;
  }

  /* navbar inferior ainda mais compacta */
  body.admin-body .mobile-bottom-nav{
    height:64px!important;
    width:min(calc(100vw - 26px), 384px)!important;
    border-radius:22px!important;
    padding:6px 8px 7px!important;
  }

  body.admin-body .mobile-center-badge{
    width:46px!important;
    height:46px!important;
  }

  body.admin-body .mobile-tab{
    min-height:50px!important;
  }

  body.admin-body .mobile-tab-icon,
  body.admin-body .mobile-tab-icon svg{
    width:19px!important;
    height:19px!important;
  }

  body.admin-body .mobile-tab-label{
    font-size:9px!important;
  }
}

/* Celulares muito estreitos continuam em 2 colunas, com texto menor */
@media(max-width:360px){
  body.admin-body .admin-mini-grid,
  body.admin-body .premium-stats,
  body.admin-body .dashboard-stats{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
  }

  body.admin-body .admin-kpi.premium{
    padding:13px 10px!important;
  }

  body.admin-body .admin-kpi.premium strong{
    font-size:27px!important;
  }

  body.admin-body .admin-kpi.premium small{
    font-size:9px!important;
  }
}

/* Intercamp v1.8.0 — eventos, regiões, filiais e gênero */
body.admin-body .intercamp-collapsible .collapsible-body{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .28s ease, opacity .22s ease, margin-top .22s ease;
  opacity:0;
  margin-top:0;
}
body.admin-body .intercamp-collapsible.is-open .collapsible-body{
  grid-template-rows:1fr;
  opacity:1;
  margin-top:16px;
}
body.admin-body .intercamp-collapsible .collapsible-body > *{overflow:hidden;}
body.admin-body .intercamp-admin-split{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
body.admin-body .intercamp-card-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
body.admin-body .intercamp-card-grid.single{grid-template-columns:1fr;}
body.admin-body .intercamp-management-card{
  border:1px solid rgba(223,178,91,.32);
  background:linear-gradient(180deg,rgba(255,251,238,.98),rgba(252,244,225,.92));
  border-radius:22px;
  padding:15px;
  box-shadow:0 14px 34px rgba(21,55,44,.08);
  display:grid;
  gap:10px;
}
body.admin-body .intercamp-card-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
}
body.admin-body .intercamp-card-top strong{font-size:16px;color:#17382f;line-height:1.25;}
body.admin-body .intercamp-card-metrics{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
body.admin-body .intercamp-card-metrics span,
body.admin-body .admin-badge-row .mini-badge{
  width:max-content;
}
body.admin-body .intercamp-card-metrics span{
  border:1px solid rgba(24,74,58,.12);
  background:rgba(24,74,58,.07);
  color:#21483d;
  border-radius:999px;
  padding:7px 10px;
  font-weight:850;
  font-size:12px;
}
body.admin-body .admin-badge-row{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:8px;
}
body.admin-body .mini-badge.gender-masculino,
body.admin-body .mini-badge.gender-feminino,
body.admin-body .mini-badge.gender-misto{
  border-color:rgba(244,145,49,.32);
  background:rgba(244,145,49,.12);
  color:#8a4310;
}
body.admin-body .premium-table .muted{font-size:12px;}
@media(min-width:980px){
  body.admin-body .intercamp-admin-split{grid-template-columns:repeat(3,minmax(0,1fr));}
  body.admin-body .intercamp-admin-split.two-cols{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:760px){
  body.admin-body .intercamp-collapsible:not(.is-open){padding-bottom:14px;}
  body.admin-body .intercamp-card-grid{grid-template-columns:1fr;}
  body.admin-body .intercamp-management-card{border-radius:20px;padding:14px;}
}

/* Intercamp v1.8.1 — organização premium em módulos separados */
body.admin-body .intercamp-module-nav{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 0 18px;
}
body.admin-body .intercamp-module-card{
  display:grid;
  gap:5px;
  text-decoration:none;
  border:1px solid rgba(223,178,91,.30);
  background:linear-gradient(180deg,rgba(255,251,238,.98),rgba(252,244,225,.92));
  color:#17382f;
  border-radius:20px;
  padding:14px 15px;
  box-shadow:0 14px 30px rgba(21,55,44,.08);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body.admin-body .intercamp-module-card strong{
  font-size:15px;
  line-height:1.15;
}
body.admin-body .intercamp-module-card span{
  color:rgba(23,56,47,.68);
  font-size:12px;
  font-weight:760;
}
body.admin-body .intercamp-module-card:hover,
body.admin-body .intercamp-module-card.active{
  transform:translateY(-1px);
  border-color:rgba(244,145,49,.56);
  box-shadow:0 18px 38px rgba(21,55,44,.12);
}
body.admin-body .intercamp-module-card.active{
  background:linear-gradient(135deg,rgba(244,145,49,.22),rgba(255,251,238,.98));
}
body.admin-body .compact-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:2px;
}
body.admin-body .compact-actions .btn,
body.admin-body .compact-actions button.btn{
  padding:10px 12px!important;
  min-height:38px;
}
body.admin-body .intercamp-management-card .muted{
  margin:0;
}
@media(max-width:900px){
  body.admin-body .intercamp-module-nav{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:420px){
  body.admin-body .intercamp-module-nav{
    gap:9px;
  }
  body.admin-body .intercamp-module-card{
    border-radius:17px;
    padding:12px 11px;
  }
  body.admin-body .intercamp-module-card strong{font-size:14px;}
  body.admin-body .intercamp-module-card span{font-size:10.5px;}
}

/* ========================================================================== 
   Intercamp Nordeste v1.8.2 — sidebar lateral premium somente no desktop
   Remove a navegação horizontal superior no desktop e mantém mobile intacto.
   ========================================================================== */

.desktop-side-nav{
  display:none;
}

@media (min-width:980px) and (hover:hover){
  body.admin-body{
    overflow-x:hidden!important;
  }

  /* No desktop o topo sai de cena; a navegação principal passa para a lateral. */
  body.admin-body .admin-topbar,
  body.admin-body .admin-tabs-shell,
  body.admin-body .admin-desktop-tabs,
  body.admin-body nav.admin-tabs{
    display:none!important;
    visibility:hidden!important;
    height:0!important;
    min-height:0!important;
    max-height:0!important;
    padding:0!important;
    margin:0!important;
    border:0!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }

  body.admin-body .desktop-side-nav{
    display:flex!important;
    flex-direction:column!important;
    position:fixed!important;
    left:18px!important;
    top:18px!important;
    bottom:18px!important;
    width:268px!important;
    z-index:70!important;
    padding:16px!important;
    box-sizing:border-box!important;
    border-radius:30px!important;
    overflow:hidden!important;
    background:
      radial-gradient(circle at 0% 0%, rgba(255,106,33,.24), transparent 34%),
      radial-gradient(circle at 100% 8%, rgba(231,220,195,.09), transparent 30%),
      linear-gradient(180deg, rgba(11,28,17,.985), rgba(4,14,8,.992))!important;
    border:1px solid rgba(231,220,195,.15)!important;
    box-shadow:
      0 28px 70px rgba(0,0,0,.42),
      inset 0 1px 0 rgba(255,255,255,.055)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }

  body.admin-body .desktop-side-nav::before{
    content:"";
    position:absolute;
    right:-82px;
    bottom:-78px;
    width:210px;
    height:210px;
    pointer-events:none;
    background:url('../img/intercamp/intercamp-mark.png') center/contain no-repeat;
    opacity:.075;
    transform:rotate(-12deg);
  }

  body.admin-body .desktop-side-nav > *{
    position:relative;
    z-index:1;
  }

  body.admin-body .desktop-side-brand{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-height:70px!important;
    padding:10px 10px 16px!important;
    color:#FFF6EC!important;
    text-decoration:none!important;
    border-bottom:1px solid rgba(231,220,195,.13)!important;
  }

  body.admin-body .desktop-side-brand-mark{
    width:50px!important;
    height:50px!important;
    min-width:50px!important;
    display:grid!important;
    place-items:center!important;
    border-radius:18px!important;
    overflow:hidden!important;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,.16), transparent 34%),
      linear-gradient(180deg,#FF7A32,#FF6A21)!important;
    border:1px solid rgba(255,255,255,.16)!important;
    box-shadow:0 18px 34px rgba(255,106,33,.25)!important;
  }

  body.admin-body .desktop-side-brand-mark img{
    width:36px!important;
    height:36px!important;
    object-fit:contain!important;
    display:block!important;
  }

  body.admin-body .desktop-side-brand-copy{
    min-width:0!important;
    display:block!important;
  }

  body.admin-body .desktop-side-brand-copy strong{
    display:block!important;
    font-size:20px!important;
    line-height:1!important;
    color:#FFF6EC!important;
    letter-spacing:.02em!important;
  }

  body.admin-body .desktop-side-brand-copy small{
    display:block!important;
    margin-top:5px!important;
    font-size:10px!important;
    line-height:1!important;
    color:rgba(231,220,195,.70)!important;
    text-transform:uppercase!important;
    letter-spacing:.13em!important;
    font-weight:900!important;
  }

  body.admin-body .desktop-side-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    overflow:auto!important;
    -webkit-overflow-scrolling:touch!important;
    padding:14px 3px 12px!important;
    scrollbar-width:thin;
    scrollbar-color:rgba(255,106,33,.46) transparent;
  }

  body.admin-body .desktop-side-scroll::-webkit-scrollbar{width:6px!important;}
  body.admin-body .desktop-side-scroll::-webkit-scrollbar-thumb{
    background:rgba(255,106,33,.42)!important;
    border-radius:999px!important;
  }

  body.admin-body .desktop-side-section{
    display:grid!important;
    gap:8px!important;
    margin-bottom:18px!important;
  }

  body.admin-body .desktop-side-title{
    display:block!important;
    padding:0 10px 2px!important;
    color:rgba(231,220,195,.58)!important;
    font-size:10px!important;
    line-height:1!important;
    font-weight:950!important;
    letter-spacing:.15em!important;
    text-transform:uppercase!important;
  }

  body.admin-body .desktop-side-link{
    min-height:45px!important;
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    padding:12px 13px!important;
    border-radius:17px!important;
    text-decoration:none!important;
    color:rgba(250,247,242,.82)!important;
    background:rgba(250,247,242,.045)!important;
    border:1px solid rgba(231,220,195,.08)!important;
    font-size:13px!important;
    line-height:1.1!important;
    font-weight:950!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.035)!important;
    transition:transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease!important;
  }

  body.admin-body .desktop-side-link:hover{
    transform:translateX(2px)!important;
    background:rgba(255,106,33,.10)!important;
    border-color:rgba(255,106,33,.22)!important;
    color:#FFF6EC!important;
  }

  body.admin-body .desktop-side-link.active{
    color:#FFF6EC!important;
    background:
      radial-gradient(circle at 100% 0%, rgba(255,255,255,.10), transparent 36%),
      linear-gradient(135deg, rgba(255,106,33,.92), rgba(255,128,54,.80))!important;
    border-color:rgba(255,164,106,.46)!important;
    box-shadow:
      0 16px 28px rgba(255,106,33,.20),
      inset 0 1px 0 rgba(255,255,255,.16)!important;
  }

  body.admin-body .desktop-side-bullet{
    width:9px!important;
    height:9px!important;
    min-width:9px!important;
    border-radius:999px!important;
    display:block!important;
    background:rgba(231,220,195,.30)!important;
    box-shadow:0 0 0 4px rgba(231,220,195,.045)!important;
  }

  body.admin-body .desktop-side-link.active .desktop-side-bullet{
    background:#FFF6EC!important;
    box-shadow:0 0 0 4px rgba(255,246,236,.16)!important;
  }

  body.admin-body .desktop-side-footer{
    flex:0 0 auto!important;
    padding:14px 3px 0!important;
    border-top:1px solid rgba(231,220,195,.13)!important;
  }

  body.admin-body .desktop-side-logout{
    min-height:46px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:17px!important;
    text-decoration:none!important;
    color:#FFF6EC!important;
    background:rgba(250,247,242,.06)!important;
    border:1px solid rgba(231,220,195,.12)!important;
    font-size:13px!important;
    font-weight:950!important;
  }

  body.admin-body .desktop-side-logout:hover{
    border-color:rgba(255,106,33,.28)!important;
    background:rgba(255,106,33,.11)!important;
  }

  /* Shell com espaço reservado para a sidebar, impedindo corte horizontal no desktop. */
  body.admin-body .container.admin-shell,
  body.admin-body .admin-shell{
    width:min(1180px, calc(100vw - 328px))!important;
    max-width:calc(100vw - 328px)!important;
    margin-left:304px!important;
    margin-right:24px!important;
    padding-top:22px!important;
    padding-bottom:46px!important;
    box-sizing:border-box!important;
  }

  body.admin-body .admin-hero{
    margin-top:0!important;
  }

  body.admin-body .admin-alert{
    margin-top:0!important;
  }
}

@media (min-width:980px) and (max-width:1180px) and (hover:hover){
  body.admin-body .desktop-side-nav{
    left:14px!important;
    top:14px!important;
    bottom:14px!important;
    width:250px!important;
    border-radius:26px!important;
    padding:14px!important;
  }

  body.admin-body .container.admin-shell,
  body.admin-body .admin-shell{
    width:calc(100vw - 292px)!important;
    max-width:calc(100vw - 292px)!important;
    margin-left:278px!important;
    margin-right:14px!important;
  }

  body.admin-body .desktop-side-link{
    min-height:43px!important;
    padding:11px 12px!important;
    font-size:12px!important;
  }

  body.admin-body .desktop-side-brand-copy strong{
    font-size:18px!important;
  }
}


/* ==========================================================================
   Intercamp Nordeste v1.8.3 — correção do fundo branco no login mobile
   Mantém o mobile escuro/premium e não altera o admin logado.
   ========================================================================== */

html.intercamp-auth-html{
  min-height:100%;
  background:#06100A!important;
  overflow-x:hidden!important;
}

body.intercamp-auth-body{
  width:100%!important;
  min-height:100vh!important;
  min-height:100svh!important;
  margin:0!important;
  overflow-x:hidden!important;
  position:relative!important;
  isolation:isolate!important;
  background:#06100A!important;
  color:var(--inter-paper,#FAF7F2)!important;
}

body.intercamp-auth-body::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    linear-gradient(180deg,
      rgba(6,16,10,.90) 0%,
      rgba(6,16,10,.94) 42%,
      rgba(8,22,13,.97) 100%),
    url('../img/intercamp/intercamp-bg.png') center top/cover no-repeat!important;
  filter:contrast(1.06) saturate(.88)!important;
}

body.intercamp-auth-body::after{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,106,33,.18), transparent 28%),
    radial-gradient(circle at 100% 8%, rgba(255,106,33,.10), transparent 30%),
    linear-gradient(90deg, rgba(255,106,33,.035), transparent 18%, transparent 82%, rgba(255,106,33,.035)),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(231,220,195,.018) 12px 13px)!important;
}

body.intercamp-auth-body .intercamp-auth-section{
  position:relative!important;
  z-index:1!important;
  min-height:100vh!important;
  min-height:100svh!important;
  background:transparent!important;
}

body.intercamp-auth-body .intercamp-auth-section .container{
  position:relative!important;
  z-index:1!important;
}

body.intercamp-auth-body .intercamp-auth-card{
  background:
    radial-gradient(circle at 100% 0%, rgba(255,106,33,.10), transparent 36%),
    linear-gradient(180deg, rgba(15,31,20,.88), rgba(10,24,15,.92))!important;
}

@media(max-width:760px), (pointer:coarse){
  html.intercamp-auth-html,
  body.intercamp-auth-body{
    min-height:100dvh!important;
    background:#06100A!important;
  }

  body.intercamp-auth-body::before{
    background:
      linear-gradient(180deg,
        rgba(6,16,10,.91) 0%,
        rgba(6,16,10,.95) 44%,
        rgba(7,19,12,.98) 100%),
      url('../img/intercamp/intercamp-bg.png') center top/cover no-repeat!important;
  }

  body.intercamp-auth-body .intercamp-auth-section{
    min-height:100dvh!important;
    padding:20px 0 24px!important;
    display:grid!important;
    place-items:center!important;
  }

  body.intercamp-auth-body .intercamp-auth-section .container{
    width:calc(100vw - 24px)!important;
    max-width:460px!important;
    margin-left:auto!important;
    margin-right:auto!important;
  }

  body.intercamp-auth-body .intercamp-auth-card{
    width:100%!important;
    max-width:100%!important;
    border-radius:30px!important;
    background:
      radial-gradient(circle at 100% 0%, rgba(255,106,33,.11), transparent 36%),
      linear-gradient(180deg, rgba(15,31,20,.90), rgba(10,24,15,.94))!important;
  }
}

/* v1.8.4 - botões de exclusão segura no admin */
.btn.danger,
button.btn.danger,
a.btn.danger{
  background:linear-gradient(135deg,#8f1d12,#d93b22)!important;
  color:#fff7ef!important;
  border-color:rgba(255,186,150,.38)!important;
  box-shadow:0 12px 24px rgba(112,21,12,.20)!important;
}

.btn.danger:hover,
button.btn.danger:hover,
a.btn.danger:hover{
  filter:brightness(1.05)!important;
  transform:translateY(-1px);
}

.admin-actions .btn.danger,
.compact-actions .btn.danger{
  min-width:auto;
}

@media(max-width:760px){
  .admin-actions,
  .compact-actions{
    gap:8px;
  }
  .admin-actions .btn.danger,
  .compact-actions .btn.danger{
    width:100%;
  }
}

/* v1.8.7 - Lotes: check-in opcional */
.admin-form-grid .field.is-muted{opacity:.62}
.admin-form-grid .field.is-muted input{cursor:not-allowed}


/* v1.8.8 — ajuste visual do checkbox de check-in na edição da inscrição */
.admin-checkbox-line{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:48px!important;
  padding:12px 14px!important;
  border-radius:16px!important;
  border:1px solid rgba(15,31,20,.12)!important;
  background:rgba(250,247,242,.72)!important;
  color:#0A1410!important;
  font-weight:850!important;
}
.admin-checkbox-line input{
  width:18px!important;
  height:18px!important;
  accent-color:var(--inter-orange)!important;
}
.admin-checkbox-line span{
  color:#0A1410!important;
}
