/* Tournament Single View */

/* Container */
.tournament-single-view {
  margin: 0 auto;
  padding: 20px;
}

/* Section Titles */
.section-title {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2e557a;
  border-left: 4px solid #2e557a;
  padding-left: 10px;
}

/* Matches Grid */
.grid.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.match-card {
  background: #2e557a;
  color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.match-card a {
  background: #2e557a;
  color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.match-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.match-card .teams {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.match-card .vs {
  margin: 0 8px;
  color: #ffcc00;
}

.match-card .date,
.match-card .status,
.match-card .result {
  font-size: 14px;
  margin: 6px 0;
}

/* Badges */
.badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
}

.badge.upcoming {
  background: #ffcc00;
  color: #000;
}

.badge.live {
  background: #ff4c4c;
  color: #fff;
}

.badge.completed {
  background: #4caf50;
  color: #fff;
}

/* Table */
.table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.styled-table {
  width: 100%;
  border-collapse: collapse;
  background: #2e557a;
  color: #ffffff;
}

.styled-table th,
.styled-table td {
  padding: 14px;
  text-align: center;
}

.styled-table th {
  background: #2e557a;
  color: #ffffff;
  text-transform: uppercase;
}

.styled-table tr:nth-child(even) {
  background: #2e557a;
}

.highlight {
  color: #ffcc00;
  font-weight: bold;
}

/* Pagination */
.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination a,
.pagination span {
  display: inline-block;
  margin: 0 5px;
  padding: 8px 12px;
  border-radius: 5px;
  background: #2e557a;
  color: #fff;
  text-decoration: none;
}

.pagination .current {
  background: #000;
  color: #fff;
}

.pagination a:hover {
  background: #000;
}

/* Empty States */
.empty {
  text-align: center;
  color: #aaa;
  margin-top: 15px;
}

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

/* Tablets */
@media (max-width: 992px) {
  .grid.grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-title {
    font-size: 20px;
  }
  .match-card {
    min-height: 220px;
    padding: 16px;
  }
  .match-card .teams {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .grid.grid-3 {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .match-card {
    min-height: auto;
    padding: 14px;
  }
  .match-card .teams {
    font-size: 15px;
  }
  .match-card .date,
  .match-card .status,
  .match-card .result {
    font-size: 13px;
  }
  .styled-table th,
  .styled-table td {
    padding: 10px;
    font-size: 13px;
  }
  .pagination a,
  .pagination span {
    padding: 6px 10px;
    font-size: 13px;
  }
}

/* ──────────────────────────────── */
/* Tournament Awards Section Styles */
/* ──────────────────────────────── */

.tournament-awards.section {
    margin: 50px 0;
}

.tournament-awards .section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #333;
    text-align: left;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.award-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.award-title {
    font-size: 16px;
    font-weight: 600;
    color: #555;
    margin-bottom: 12px;
}

.award-player a {
    font-size: 18px;
    font-weight: 700;
    color: #1e73be;
    text-decoration: none;
}

.award-player a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .tournament-awards .section-title {
        font-size: 24px;
    }
    
    .award-card {
        padding: 15px;
    }

    .award-player a {
        font-size: 16px;
    }
}