/* ============================================================
   CampeãoNet — Design inspirado no app esportivo da referência
   Paleta: Teal/verde-água, branco, cinza-claro, texto escuro
   Estilo: Cards arredondados, clean, mobile-first
   Fonte: DM Sans + DM Mono
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=DM+Mono:wght@400;500&family=Nunito:wght@700;800;900&display=swap');

:root {
  /* Paleta principal — baseada na imagem de referência */
  --teal:       #2ec4b6;       /* verde-água primário */
  --teal-esc:   #1a9e92;       /* hover/ativo */
  --teal-clr:   #e0f7f5;       /* fundo suave teal */
  --teal-dark:  #0d6e68;       /* texto sobre teal */
  --preto:      #1a1a2e;       /* quase-preto azulado */
  --cinza-esc:  #3d3d5c;
  --cinza-med:  #6b6b8a;
  --cinza-clr:  #f0f2f8;       /* fundo de página */
  --branco:     #ffffff;
  --amarelo:    #ffd166;
  --vermelho:   #ef4444;
  --laranja:    #f4845f;
  --texto:      #1a1a2e;
  --texto-sub:  #8888aa;
  --borda:      #e8eaf6;
  --shadow-sm:  0 2px 8px rgba(46,196,182,.10);
  --shadow:     0 4px 20px rgba(26,26,46,.08);
  --shadow-md:  0 8px 32px rgba(26,26,46,.13);
  --shadow-teal:0 4px 20px rgba(46,196,182,.30);
  --radius:     12px;
  --radius-lg:  18px;
  --radius-xl:  24px;
  --radius-pill:100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--texto);
  background: var(--cinza-clr);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════
   NAVBAR — limpa, branca, com sombra suave
   ═══════════════════════════════════════ */
.navbar {
  background: var(--branco);
  padding: 0 28px;
  display: flex;
  align-items: center;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(26,26,46,.07);
  border-bottom: 1px solid var(--borda);
}

.navbar-brand {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--preto);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.3px;
}

.navbar-brand span { color: var(--teal); }

.navbar-nav {
  display: flex;
  list-style: none;
  margin-left: auto;
  gap: 4px;
  align-items: center;
}

.navbar-nav a {
  color: var(--cinza-med);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 600;
  transition: all .18s;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: var(--teal-esc);
  background: var(--teal-clr);
}

.navbar-nav a.btn-admin {
  background: var(--teal);
  color: var(--branco);
  padding: 8px 20px;
  margin-left: 8px;
  box-shadow: var(--shadow-teal);
}

.navbar-nav a.btn-admin:hover {
  background: var(--teal-esc);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   HERO — gradiente teal suave
   ═══════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, var(--teal) 0%, #1a9e92 50%, #0d6e68 100%);
  padding: 52px 28px;
  text-align: center;
  color: var(--branco);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.12) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(13,110,104,.4) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--cinza-clr);
  border-radius: 32px 32px 0 0;
}

.hero h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.5px;
  position: relative;
  line-height: 1.1;
}

.hero h1 em {
  font-style: normal;
  color: var(--amarelo);
}

.hero p {
  margin-top: 10px;
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  position: relative;
}

/* ═══════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════ */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ═══════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════ */
.section {
  padding: 36px 24px;
  max-width: 1160px;
  margin: 0 auto;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--preto);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.section-title .icon { color: var(--teal); font-size: 1.1rem; }

.section-title a {
  font-size: .8rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

/* ═══════════════════════════════════════
   CARDS
   ═══════════════════════════════════════ */
.card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  border: 1px solid var(--borda);
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-esc) 100%);
  color: var(--branco);
  padding: 14px 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-body { padding: 20px; }

/* ═══════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════ */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ═══════════════════════════════════════
   MATCH CARD — estilo da referência
   ═══════════════════════════════════════ */
.match-card {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: box-shadow .2s, transform .15s;
  border: 1px solid var(--borda);
}

.match-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.match-team {
  flex: 1;
  text-align: center;
}

.match-team .team-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--preto);
  line-height: 1.2;
}

.match-center {
  text-align: center;
  min-width: 100px;
}

.match-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-family: 'DM Mono', monospace;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--preto);
}

.match-score .sep {
  color: var(--texto-sub);
  font-size: 1.2rem;
  font-weight: 400;
}

.match-meta {
  font-size: .75rem;
  color: var(--texto-sub);
  text-align: center;
  margin-top: 4px;
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   BADGES
   ═══════════════════════════════════════ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .3px;
}

.badge-green  { background: #d1fae5; color: #065f46; }
.badge-yellow { background: #fef3c7; color: #92400e; }
.badge-red    { background: #fee2e2; color: #991b1b; }
.badge-gray   { background: #f3f4f6; color: #4b5563; }
.badge-blue   { background: #dbeafe; color: #1e40af; }
.badge-teal   { background: var(--teal-clr); color: var(--teal-dark); }

/* Live badge especial */
.badge-live {
  background: #ef4444;
  color: white;
  animation: livePulse 1.5s infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .7; }
}

/* ═══════════════════════════════════════
   STANDINGS TABLE — estilo clean
   ═══════════════════════════════════════ */
.standings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .87rem;
}

.standings-table thead th {
  background: var(--cinza-clr);
  color: var(--cinza-med);
  padding: 10px 14px;
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-bottom: 2px solid var(--borda);
}

.standings-table thead th:first-child,
.standings-table thead th:nth-child(2) { text-align: left; }

.standings-table tbody tr {
  border-bottom: 1px solid var(--borda);
  transition: background .12s;
}

.standings-table tbody tr:hover { background: #f8fffe; }

.standings-table tbody tr:last-child { border-bottom: none; }

/* Destaque top 3 */
.standings-table tbody tr:nth-child(1) td:first-child { border-left: 3px solid var(--teal); }
.standings-table tbody tr:nth-child(2) td:first-child { border-left: 3px solid var(--teal); }
.standings-table tbody tr:nth-child(3) td:first-child { border-left: 3px solid var(--teal); }
.standings-table tbody tr:nth-child(4) td:first-child { border-left: 3px solid var(--amarelo); }

.standings-table td {
  padding: 11px 14px;
  text-align: center;
  color: var(--texto);
}

.standings-table td:first-child { text-align: left; }
.standings-table td:nth-child(2) { text-align: left; font-weight: 600; }

.standings-table td.pts {
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--teal-esc);
}

.pos-badge {
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 800;
  background: var(--cinza-clr);
  color: var(--cinza-med);
  margin-right: 8px;
}

.pos-1, .pos-2, .pos-3 {
  background: linear-gradient(135deg, var(--teal), var(--teal-esc));
  color: white;
}

/* ═══════════════════════════════════════
   BUTTONS — arredondados no estilo app
   ═══════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .18s;
  line-height: 1;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-esc) 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(46,196,182,.35);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(46,196,182,.45);
}

.btn-dark { background: var(--preto); color: white; }
.btn-dark:hover { background: var(--cinza-esc); }

.btn-danger {
  background: var(--vermelho);
  color: white;
  box-shadow: 0 3px 10px rgba(239,68,68,.25);
}
.btn-danger:hover { background: #dc2626; }

.btn-warning { background: var(--amarelo); color: var(--preto); }
.btn-warning:hover { background: #e6b800; }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--borda);
  color: var(--texto);
}
.btn-outline:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-clr); }

.btn-sm  { padding: 6px 14px; font-size: .8rem; }
.btn-lg  { padding: 13px 28px; font-size: 1rem; }
.btn-full{ width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   FORMS
   ═══════════════════════════════════════ */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--cinza-med);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--borda);
  border-radius: var(--radius);
  font-size: .93rem;
  font-family: 'DM Sans', sans-serif;
  color: var(--texto);
  background: white;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,.15);
}

select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 80px; }

/* ═══════════════════════════════════════
   ALERTS
   ═══════════════════════════════════════ */
.alert {
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: .9rem;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-weight: 500;
}

.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid var(--teal); }
.alert-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--vermelho); }
.alert-info    { background: var(--teal-clr); color: var(--teal-dark); border-left: 4px solid var(--teal); }

/* ═══════════════════════════════════════
   STAT BOXES — pills coloridas
   ═══════════════════════════════════════ */
.stat-box {
  background: var(--branco);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--borda);
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--teal-esc));
}

.stat-box .num {
  font-family: 'Nunito', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--teal);
  line-height: 1;
}

.stat-box .label {
  font-size: .75rem;
  color: var(--texto-sub);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-top: 6px;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   ARTILHEIROS — lista estilo app
   ═══════════════════════════════════════ */
.scorer-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--borda);
}

.scorer-row:last-child { border-bottom: none; }

.scorer-pos {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--cinza-clr);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .82rem;
  color: var(--cinza-med);
  flex-shrink: 0;
}

.scorer-pos.top {
  background: linear-gradient(135deg, var(--teal), var(--teal-esc));
  color: white;
}

.scorer-name { flex: 1; font-weight: 700; font-size: .93rem; color: var(--preto); }
.scorer-team { font-size: .78rem; color: var(--texto-sub); }

.scorer-gols {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--teal-esc);
  min-width: 40px;
  text-align: right;
}

/* ═══════════════════════════════════════
   ADMIN SIDEBAR
   ═══════════════════════════════════════ */
.admin-layout {
  display: flex;
  min-height: calc(100vh - 62px);
}

.sidebar {
  width: 240px;
  background: var(--preto);
  flex-shrink: 0;
  padding: 20px 0 20px;
}

.sidebar-section {
  padding: 16px 20px 6px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #44446a;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: #8888aa;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 600;
  transition: all .15s;
  margin: 1px 10px;
  border-radius: var(--radius);
}

.sidebar a:hover,
.sidebar a.active {
  color: var(--branco);
  background: rgba(46,196,182,.15);
  color: var(--teal);
}

.sidebar a.active {
  background: rgba(46,196,182,.2);
}

.sidebar a .ico { width: 20px; font-size: 1rem; text-align: center; }

.admin-content {
  flex: 1;
  padding: 32px;
  overflow: auto;
  background: var(--cinza-clr);
}

/* ═══════════════════════════════════════
   PAGE HEADER
   ═══════════════════════════════════════ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.page-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--preto);
  letter-spacing: -.3px;
}

/* ═══════════════════════════════════════
   DATA TABLE — estilo clean white
   ═══════════════════════════════════════ */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
}

.data-table thead th {
  background: var(--cinza-clr);
  color: var(--cinza-med);
  padding: 11px 16px;
  text-align: left;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  border-bottom: 2px solid var(--borda);
}

.data-table tbody tr {
  border-bottom: 1px solid var(--borda);
  transition: background .12s;
}

.data-table tbody tr:hover { background: #f8fffe; }
.data-table tbody tr:last-child { border-bottom: none; }

.data-table td {
  padding: 12px 16px;
  vertical-align: middle;
}

.actions { display: flex; gap: 6px; flex-wrap: wrap; }

/* ═══════════════════════════════════════
   MODAL
   ═══════════════════════════════════════ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(26,26,46,.5);
  backdrop-filter: blur(4px);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open { display: flex; }

.modal {
  background: white;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(26,26,46,.25);
  animation: modalIn .22s cubic-bezier(.34,1.56,.64,1);
}

@keyframes modalIn {
  from { transform: scale(.94) translateY(10px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}

.modal-header {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-esc) 100%);
  color: white;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  font-family: 'Nunito', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
}

.modal-close {
  cursor: pointer;
  background: rgba(255,255,255,.2);
  border: none;
  color: white;
  font-size: 1.1rem;
  line-height: 1;
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s;
}

.modal-close:hover { background: rgba(255,255,255,.35); }
.modal-body { padding: 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--borda);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

/* ═══════════════════════════════════════
   SUMULA PAGE
   ═══════════════════════════════════════ */
.sumula-header {
  background: linear-gradient(135deg, var(--teal), var(--teal-esc));
  color: white;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sumula-score-display {
  background: linear-gradient(135deg, var(--preto), #16213e);
  color: white;
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
}

.sumula-score-display .teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
}

.sumula-score-display .team-name {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
}

.sumula-score-display .placar {
  font-family: 'DM Mono', monospace;
  font-size: 3rem;
  font-weight: 500;
  display: flex;
  gap: 12px;
  align-items: center;
}

.sumula-score-display .placar .vs {
  font-size: 1.4rem;
  color: #4b5563;
  font-weight: 400;
}

/* ═══════════════════════════════════════
   ESCALAÇÃO
   ═══════════════════════════════════════ */
.escalacao-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.player-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  border: 1.5px solid var(--borda);
  cursor: pointer;
  transition: all .15s;
  background: white;
  margin-bottom: 6px;
}

.player-check-item:hover { border-color: var(--teal); background: var(--teal-clr); }
.player-check-item input[type="checkbox"] { accent-color: var(--teal); width: 17px; height: 17px; }
.player-check-item .pnum { font-weight: 800; font-size: .85rem; color: var(--texto-sub); min-width: 28px; }
.player-check-item .pname { font-weight: 600; font-size: .9rem; color: var(--preto); }

/* ═══════════════════════════════════════
   EVENT TABLES (gols/cartões)
   ═══════════════════════════════════════ */
.event-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  margin-bottom: 12px;
}

.event-table thead th {
  background: var(--cinza-clr);
  padding: 9px 12px;
  text-align: left;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--texto-sub);
  border-bottom: 1px solid var(--borda);
}

.event-table tbody td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--borda);
}

.event-table select, .event-table input {
  padding: 7px 11px;
  border: 1.5px solid var(--borda);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: .88rem;
  outline: none;
  width: 100%;
  transition: border .15s;
  color: var(--texto);
}

.event-table select:focus, .event-table input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(46,196,182,.12);
}

.btn-remove-row {
  background: #fee2e2;
  color: var(--vermelho);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 700;
  transition: background .15s;
}

.btn-remove-row:hover { background: var(--vermelho); color: white; }

/* ═══════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-esc) 40%, #0a4f4a 100%);
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.login-page::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -100px; right: -100px;
}

.login-page::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
  bottom: -80px; left: -80px;
}

.login-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 24px 64px rgba(26,26,46,.2);
  position: relative;
  z-index: 1;
}

.login-logo {
  text-align: center;
  margin-bottom: 32px;
}

.login-logo h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--preto);
  letter-spacing: -.3px;
}

.login-logo h2 span { color: var(--teal); }
.login-logo p { color: var(--texto-sub); font-size: .9rem; margin-top: 4px; }

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .escalacao-grid { grid-template-columns: 1fr; }
  .admin-layout { flex-direction: column; }
  .sidebar { width: 100%; }
  .admin-content { padding: 16px; }
  .navbar-nav { display: none; }
  .match-card { flex-wrap: wrap; }
  .sumula-score-display .teams { grid-template-columns: 1fr; text-align: center; }
  .page-header { flex-wrap: wrap; gap: 12px; }
}

/* ═══════════════════════════════════════
   UTILITIES
   ═══════════════════════════════════════ */
.mt-1 { margin-top: 6px; }
.mt-2 { margin-top: 12px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 6px; }
.mb-2 { margin-bottom: 12px; }
.mb-3 { margin-bottom: 20px; }
.mb-4 { margin-bottom: 32px; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-muted  { color: var(--texto-sub); }
.fw-bold { font-weight: 700; }
.d-flex  { display: flex; }
.align-center { align-items: center; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--texto-sub);
}

.empty-state .ico {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: .35;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--borda); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal-clr); }

/* ═══════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════ */
.pagination {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.pag-info {
  margin-left: auto;
  font-size: .8rem;
  color: var(--texto-sub);
}

/* ═══════════════════════════════════════
   TV MODE override
   ═══════════════════════════════════════ */
.tv-mode body { background: #0a0f1e; }
