/* Legacy Championship Styles */

/* Hero Section */
.tournament-hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px; /* Added for containment */
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem; /* Reduced slightly from 3rem */
    font-weight: 600;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections */
.tournament-section {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.tournament-title {
    font-size: 1.8rem;
    color: #1e3c72;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

/* Tables */
.standings-table, .matches-table, .scorers-table, .cards-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.standings-table th, .matches-table th, .scorers-table th, .cards-table th {
    background: #1e3c72;
    color: white;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
}

.standings-table td, .matches-table td, .scorers-table td, .cards-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.standings-table tr:hover, .matches-table tr:hover {
    background-color: #f8f9fa;
}

/* Team Logos */
.team-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.team-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
}

.team-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 5px;
    padding: 5px;
    background-color: white;
    margin-bottom: 10px;
}

/* Category/Escolinha */
.tournament-category {
    margin-bottom: 40px;
}

.category-title {
    font-size: 1.8rem;
    color: #2e7d32;
    border-bottom: 2px solid #2e7d32;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

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

.team-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.team-players {
    list-style: none;
    padding: 0;
    margin-top: 15px;
    text-align: left;
}

.team-players li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.9em;
}

.goalkeeper {
    font-weight: bold;
    color: #d32f2f;
}
