/* ==========================================================
   FutstatsBR — Times (detalhe do time)
   UI Revamp • dark • responsivo • consistente com Matches
   Substitua o arquivo: public/assets/teams/times.css
   ========================================================== */

:root{
  --t-bg0:#050505;
  --t-bg1:#0c0c0c;

  --t-card: rgba(16,16,16,.72);
  --t-card2: rgba(20,20,20,.72);
  --t-border: rgba(255,255,255,.10);

  --t-text: rgba(255,255,255,.92);
  --t-muted: rgba(255,255,255,.62);

  --t-blue:#3b82f6;
  --t-blue2:#1d4ed8;

  --t-radius: 0px;
  --t-radius-sm: 0px;

  --t-maxw: 1240px;
  --t-gutter: clamp(12px, 2.2vw, 28px);

  /* ajuste se seu header for fixo */
  --t-header-offset: 60px;
}

html, body{ width:100%; height:100%; overflow-x:hidden; }

body{
  margin: 0;
  min-height: 100vh;
  color: var(--t-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  background:
    radial-gradient(900px 420px at 78% 0%, rgba(59,130,246,.16), transparent 60%),
    radial-gradient(900px 520px at 18% -12%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, var(--t-bg0), var(--t-bg1));
  background-attachment: fixed;

  padding-top: var(--t-header-offset);
}

/* Correção para o header no mobile */
@media (max-width: 768px){
  body{ padding-top: 0 !important; }
}

.main-content-wrapper{
  width: 100%;
  padding: 0; /* removido: padding do wrapper */
  box-sizing: border-box;
}

.teams-container,
.tab-content{
  width: min(100%, var(--t-maxw));
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

/* Conteúdos (estatísticas / partidas / formação) */
.tab-content{
  margin-top: 14px;
  margin-bottom: 28px;
  padding: clamp(14px, 2.4vw, 22px);
  border: 1px solid var(--t-border);
  background: rgba(16,16,16,.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  border-radius: var(--t-radius);
  min-height: 320px;
}

@media (max-width: 768px){
  .main-content-wrapper{ padding: 18px var(--t-gutter) 36px; }
  .tab-content{ min-height: 240px; }
}

.is-hidden{ display:none !important; }
