/* ===========================
   PREMIUM FIFA 2026 — GLOBAL
   =========================== */

.hzp-calendar {
  margin: 20px 0;
  font-family: 'Arial', sans-serif;
  color: #111;
}

.hzp-calendar h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 900;
  color: #003366;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===========================
   BLOQUES DE FASE
   =========================== */

.hzp-phase-block {
  margin-bottom: 40px;
  padding: 20px;
  background: #ffffff;
  border-radius: 10px;
  border: 2px solid #00336622;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.hzp-phase-block h3 {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 800;
  color: #003366;
  text-transform: uppercase;
}

/* ===========================
   GRUPOS
   =========================== */

.hzp-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  background: #f7f7f7;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.hzp-group h4 {
  grid-column: 1 / -1;
  margin: 10px 0 15px;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  color: #D50032;
  text-transform: uppercase;
}

/* ===========================
   TARJETAS DE PARTIDO
   =========================== */

.hzp-match {
  border: 2px solid #00336622;
  padding: 12px 14px;
  background: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hzp-match:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.hzp-match .hzp-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.hzp-match .hzp-line strong {
  font-size: 16px;
  font-weight: 800;
  color: #003366;
}

.hzp-match .hzp-info {
  font-size: 12px;
  color: #444;
  margin-top: 4px;
}

/* Inputs */
.hzp-match input[type="number"] {
  width: 48px;
  padding: 5px;
  text-align: center;
  font-size: 15px;
  border: 2px solid #00336655;
  border-radius: 6px;
  font-weight: bold;
  color: #003366;
}

/* ===========================
   BANDERAS PREMIUM
   =========================== */

.flag-icon {
    width: 58px;
    height: 38px;
    object-fit: cover;
    border-radius: 4px;
    border: 2px solid #00336655;
    box-shadow: 0 0 4px rgba(0,0,0,0.25);
    margin: 0 6px;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.flag-icon:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ===========================
   BOTÓN PREMIUM FIFA 2026
   =========================== */

.hzp-save-btn {
    font-size: 0.80rem !important;
    padding: 6px 18px !important;
    background: #003366 !important;
    color: #ffffff !important;
    border: 2px solid #D50032 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-weight: 900 !important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s ease !important;
    margin-top: 8px !important;
    display: inline-block !important;
}

.hzp-save-btn:hover {
    background: #D50032 !important;
    border-color: #003366 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* ===========================
   TABLAS
   =========================== */

.hzp-tabla-grupo,
.hzp-ranking,
.hzp-participantes {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 14px;
}

.hzp-tabla-grupo th,
.hzp-ranking th,
.hzp-participantes th {
  background: #003366;
  color: #fff;
  padding: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.hzp-tabla-grupo td,
.hzp-ranking td,
.hzp-participantes td {
  border: 1px solid #ddd;
  padding: 8px;
}

.hzp-tabla-grupo tr:nth-child(even),
.hzp-ranking tr:nth-child(even),
.hzp-participantes tr:nth-child(even) {
  background: #f3f3f3;
}

.hzp-consent-warning {
    background: #00336611;
    border-left: 4px solid #D50032;
    padding: 10px 14px;
    margin: 0 auto 20px;
    max-width: 700px;
    font-size: 13px;
    color: #003366;
    border-radius: 6px;
}

.hzp-save-btn[disabled] {
    background: #00336655 !important;
    border-color: #D5003255 !important;
    color: #ffffffaa !important;
}

/* ===========================
   RESPONSIVE
   =========================== */

@media (max-width: 768px) {
  .hzp-group {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hzp-match {
    padding: 10px;
  }
  .hzp-match .hzp-line {
    flex-direction: column;
    align-items: flex-start;
  }
}
