/* =========================================================
   VIP Crossing - Coupe du monde 2026
   Fichier : worldcup-groups.css
   ========================================================= */


/* =========================================================
   Isolation globale
   ========================================================= */

.vpx-wc2026-groups,
.vpx-wc2026-groups *,
.vpx-wc2026-results,
.vpx-wc2026-results *,
.vpx-wc2026-match-list,
.vpx-wc2026-match-list *,
.vpx-wc2026-countdown,
.vpx-wc2026-countdown * {
  box-sizing: border-box;
}


/* =========================================================
   Bloc des groupes
   ========================================================= */

.vpx-wc2026-groups {
  width: 100%;
  max-width: 900px;
  margin: 24px auto;
  padding: 18px;
  font-family: Arial, Helvetica, sans-serif;
  color: #ffffff;
  background: linear-gradient(135deg, #06111f 0%, #0a1726 55%, #02060c 100%);
  border: 1px solid rgba(214, 166, 63, 0.45);
  overflow: hidden;
}

.vpx-wc2026-header {
  text-align: center;
  margin: 0 0 18px 0;
}

.vpx-wc2026-title {
  margin: 0;
  padding: 0;
  font-size: clamp(22px, 4vw, 38px);
  line-height: 1.1;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
}

.vpx-wc2026-title-accent {
  color: #d8a437;
}

.vpx-wc2026-subtitle {
  margin: 8px 0 0 0;
  font-size: clamp(15px, 2.3vw, 22px);
  line-height: 1.2;
  font-weight: 700;
  color: #f2c15c;
}


/* =========================================================
   Grille des groupes
   ========================================================= */

.vpx-wc2026-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.vpx-wc2026-card {
  min-width: 0;
  overflow: hidden;
  background: #07111d;
  border: 1px solid rgba(230, 174, 60, 0.85);
  border-radius: 6px;
}

.vpx-wc2026-card-title {
  margin: 0;
  padding: 9px 8px;
  font-size: 19px;
  line-height: 1.15;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
  border-bottom: 1px solid rgba(230, 174, 60, 0.5);
}


/* Couleurs par groupe */

.vpx-wc2026-a {
  background: linear-gradient(135deg, #0b5d2a, #092d19);
}

.vpx-wc2026-b {
  background: linear-gradient(135deg, #b7121b, #4c070b);
}

.vpx-wc2026-c {
  background: linear-gradient(135deg, #d4a300, #604600);
}

.vpx-wc2026-d {
  background: linear-gradient(135deg, #0054b8, #062a5d);
}

.vpx-wc2026-e {
  background: linear-gradient(135deg, #8a8a8a, #3a3a3a);
}

.vpx-wc2026-f {
  background: linear-gradient(135deg, #e36b08, #6a2a00);
}

.vpx-wc2026-g {
  background: linear-gradient(135deg, #7d22a8, #371047);
}

.vpx-wc2026-h {
  background: linear-gradient(135deg, #15a6a6, #075858);
}

.vpx-wc2026-i {
  background: linear-gradient(135deg, #004db8, #06275a);
}

.vpx-wc2026-j {
  background: linear-gradient(135deg, #d81766, #5e0a2b);
}

.vpx-wc2026-k {
  background: linear-gradient(135deg, #49a63a, #164d17);
}

.vpx-wc2026-l {
  background: linear-gradient(135deg, #c9151c, #5a090d);
}


/* =========================================================
   Équipes dans les groupes
   ========================================================= */

.vpx-wc2026-teams {
  display: flex;
  flex-direction: column;
  padding: 8px 10px 10px 10px;
}

.vpx-wc2026-team {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: inherit;
  text-decoration: none;
}

.vpx-wc2026-team:last-child {
  border-bottom: 0;
}


/* Liens équipes */

a.vpx-wc2026-team,
a.vpx-wc2026-team:visited,
a.vpx-wc2026-team:hover,
a.vpx-wc2026-team:focus {
  color: inherit;
  text-decoration: none;
}

a.vpx-wc2026-team {
  cursor: pointer;
}

.vpx-wc2026-team:hover {
  background: rgba(255, 255, 255, 0.07);
}


/* Drapeaux */

.vpx-wc2026-flag {
  width: 30px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #ffffff;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.vpx-wc2026-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Nom équipe */

.vpx-wc2026-name {
  min-width: 0;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Points */

.vpx-wc2026-points {
  justify-self: end;
  min-width: 36px;
  padding: 4px 5px;
  text-align: center;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 700;
  color: #06111f;
  background: #f2c15c;
  border-radius: 3px;
  white-space: nowrap;
}


/* =========================================================
   Matchs - affichage 1 colonne
   ========================================================= */

.vpx-wc2026-match-list {
  width: 100%;
  max-width: 360px;
  min-width: 266px;
  margin: 25px auto;
  font-family: Arial, Helvetica, sans-serif;
}

.vpx-wc2026-match-list-title {
  background: #111827;
  color: #ffffff;
  padding: 12px 10px;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  border: 1px solid #333b48;
  border-bottom: none;
}

.vpx-wc2026-match-card {
  width: 100%;
  margin: 0 0 18px 0;
  background: #24272d;
  border: 1px solid #3c424c;
  color: #ffffff;
  overflow: hidden;
}


/* Bandeau rouge du match */

.vpx-wc2026-match-header {
  background: #e10600;
  color: #ffffff;
  padding: 14px 10px 10px 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}


/* Nom du match */

.vpx-wc2026-match-name {
  display: block;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}


/* Score dans le bandeau rouge */

.vpx-wc2026-score-inline {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  background: #111827;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.1;
  font-weight: 700;
  border-radius: 0;
  letter-spacing: 0.5px;
}


/* Date et heure */

.vpx-wc2026-match-date {
  background: #22262c;
  color: #ffffff;
  padding: 14px 10px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #3c424c;
}

.vpx-wc2026-match-date span {
  color: #f4b400;
}


/* Lieu du match */

.vpx-wc2026-match-place {
  background: #24272d;
  color: #ffffff;
  padding: 14px 8px;
  font-size: 14px;
  line-height: 1.25;
  text-align: left;
}

.vpx-wc2026-match-place strong {
  font-weight: 500;
}

.vpx-wc2026-match-place small {
  display: block;
  margin-top: 4px;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.25;
}


/* Statut si pas de dateIso */

.vpx-wc2026-match-status {
  width: calc(100% - 16px);
  margin: 0 auto 12px auto;
  padding: 10px 8px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
  text-align: center;
}


/* =========================================================
   Compte à rebours
   ========================================================= */

.vpx-wc2026-countdown {
  width: calc(100% - 16px);
  margin: 0 auto 12px auto;
  padding: 12px 10px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  text-align: center;
}

.vpx-wc2026-countdown-title {
  margin-bottom: 10px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
}

.vpx-wc2026-countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.vpx-wc2026-countdown-box {
  background: #172033;
  border-radius: 6px;
  padding: 7px 4px;
}

.vpx-wc2026-countdown-main {
  background: #e10600;
}

.vpx-wc2026-countdown-number {
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
  color: #ffffff;
}

.vpx-wc2026-countdown-label {
  margin-top: 3px;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
}

.vpx-wc2026-countdown-end {
  display: none;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}


/* =========================================================
   Ancien bloc score séparé, conservé au cas où
   ========================================================= */

.vpx-wc2026-match-score {
  width: calc(100% - 16px);
  margin: 0 auto 12px auto;
  padding: 10px 8px;
  background: #f4b400;
  color: #111827;
  border-radius: 8px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
}


/* =========================================================
   Compatibilité ancien tableau résultats
   ========================================================= */

.vpx-wc2026-results {
  width: 100%;
  max-width: 760px;
  margin: 25px auto;
  font-family: Arial, Helvetica, sans-serif;
}

.vpx-wc2026-results-card {
  width: 100%;
  min-width: 266px;
  background: #24272d;
  border: 1px solid #4a4f58;
  overflow-x: auto;
}

.vpx-wc2026-results-title {
  background: #1b1e24;
  color: #ffffff;
  padding: 14px 16px;
  font-size: 18px;
  font-weight: 700;
  border-bottom: 1px solid #4a4f58;
}

.vpx-wc2026-results-table {
  width: 100%;
  min-width: 266px;
  border-collapse: collapse;
  table-layout: fixed;
}

.vpx-wc2026-results-table thead th {
  background: #5b626c;
  color: #ffffff;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  text-align: left;
  border-right: 1px solid #444a53;
}

.vpx-wc2026-results-table thead th:last-child {
  border-right: none;
}

.vpx-wc2026-results-table tbody td {
  background: #252930;
  color: #e6e8ec;
  padding: 13px 12px;
  font-size: 13px;
  line-height: 1.35;
  border-top: 1px solid #3c424c;
  border-right: 1px solid #3c424c;
  vertical-align: top;
}

.vpx-wc2026-results-table tbody td:last-child {
  border-right: none;
}

.vpx-wc2026-results-table tbody tr:hover td {
  background: #2f3540;
}

.vpx-wc2026-date {
  display: block;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 4px;
}

.vpx-wc2026-time {
  color: #f4b400;
  font-weight: 700;
}

.vpx-wc2026-score {
  display: inline-block;
  min-width: 52px;
  padding: 5px 7px;
  text-align: center;
  color: #06111f;
  background: #f2c15c;
  border-radius: 3px;
  font-weight: 800;
  white-space: nowrap;
}

.vpx-wc2026-stadium {
  display: block;
  color: #ffffff;
  font-weight: 700;
}

.vpx-wc2026-location {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  margin-top: 3px;
}


/* =========================================================
   Responsive tablette
   ========================================================= */

@media (max-width: 900px) {
  .vpx-wc2026-groups {
    padding: 14px;
  }

  .vpx-wc2026-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .vpx-wc2026-card-title {
    font-size: 18px;
  }

  .vpx-wc2026-name {
    font-size: 13px;
  }
}


/* =========================================================
   Responsive mobile
   ========================================================= */

@media (max-width: 520px) {
  .vpx-wc2026-groups {
    padding: 12px;
    margin: 18px auto;
  }

  .vpx-wc2026-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .vpx-wc2026-card-title {
    font-size: 18px;
  }

  .vpx-wc2026-team {
    grid-template-columns: 32px minmax(0, 1fr) 38px;
    min-height: 34px;
  }

  .vpx-wc2026-name {
    font-size: 14px;
  }

  .vpx-wc2026-match-list {
    max-width: 100%;
  }

  .vpx-wc2026-match-header {
    font-size: 13px;
    padding: 14px 8px 10px 8px;
  }

  .vpx-wc2026-match-name {
    font-size: 13px;
  }

  .vpx-wc2026-score-inline {
    font-size: 12px;
    padding: 2px 8px;
  }

  .vpx-wc2026-match-date,
  .vpx-wc2026-match-place {
    font-size: 13px;
  }

  .vpx-wc2026-countdown {
    padding: 10px 8px;
  }

  .vpx-wc2026-countdown-title {
    font-size: 11px;
  }

  .vpx-wc2026-countdown-number {
    font-size: 15px;
  }

  .vpx-wc2026-countdown-label {
    font-size: 8px;
  }

  .vpx-wc2026-results-table {
    table-layout: auto;
  }

  .vpx-wc2026-results-table thead th,
  .vpx-wc2026-results-table tbody td {
    padding: 10px 8px;
    font-size: 12px;
  }
}
.vpx-wc2026-match-card .vpx-wc2026-countdown {
  width: calc(100% - 18px);
  margin: 0 auto 12px auto;
  padding: 12px 10px;
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  text-align: center;
  display: block;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-title {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  width: 100%;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-box {
  background: #172033;
  border-radius: 6px;
  padding: 7px 4px;
  text-align: center;
  min-width: 0;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-main {
  background: #e10600;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-number {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 17px;
  line-height: 1.1;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-label {
  display: block;
  margin: 3px 0 0 0;
  padding: 0;
  font-size: 9px;
  line-height: 1;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}

.vpx-wc2026-match-card .vpx-wc2026-countdown-end {
  display: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
}