/* tournament_cera/static/src/css/teams_page.css */
.teams-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.teams-title {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
    color: #2c3e50;
}
.group-header {
    margin: 30px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #2c3e50;
}
.team-table {
    margin-top: 10px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    font-size: 0.9rem;
}
.team-table th {
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    padding: 12px 8px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.team-table td {
    padding: 12px 8px;
    vertical-align: middle;
    border-top: 1px solid #f1f1f1;
}
.team-info {
    display: flex;
    align-items: center;
}
.team-details {
    display: flex;
    flex-direction: column;
}
.team-name {
    font-weight: 500;
    color: #2c3e50;
}
.team-institution {
    font-size: 0.8rem;
    color: #7f8c8d;
}
.position-col {
    width: 40px;
    font-weight: 600;
    color: #2c3e50;
}
.team-col {
    min-width: 50px;
}
.stat-col {
    min-width: 50px;
}
.points-col {
    width: 60px;
    font-weight: 600;
    color: #e74c3c;
}
.group-select {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .teams-container {
        padding: 15px;
    }
    .teams-title {
        font-size: 1.5rem;
    }
    .team-table th, .team-table td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }
    .team-name {
        font-size: 0.9rem;
    }
    .team-institution {
        font-size: 0.7rem;
    }
    .position-col, .stat-col, .points-col {
        width: auto;
    }
}
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner.d-none {
    display: none;
}
.category-header {
    margin-top: 30px;
    padding-bottom: 5px;
    border-bottom: 2px solid #3498db;
    color: #2c3e50;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}

.category-select, .group-select {
    border-radius: 20px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 15px;
    background: white;
    transition: all 0.3s ease;
}

.category-select:hover, .group-select:hover {
    border-color: #3498db;
}
