/* Käpylä Player Stats Table Styles */
.kapyla-stats-container {
    max-width: 100%;
    overflow-x: auto;
    margin: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.kapyla-stats-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #003366;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.kapyla-table-wrapper {
    overflow-x: auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.kapyla-stats-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}

.kapyla-stats-table th {
    background: #003366;
    color: #fff;
    padding: 12px 8px;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;
}

.kapyla-stats-table td {
    padding: 8px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.kapyla-stats-table tr:hover {
    background: #f5f5f5;
}

.kapyla-stats-table .rank {
    font-weight: bold;
    color: #003366;
    width: 50px;
}

.kapyla-stats-table .name {
    text-align: left;
    font-weight: 500;
}

.kapyla-stats-table .gp,
.kapyla-stats-table .goals,
.kapyla-stats-table .assists,
.kapyla-stats-table .points,
.kapyla-stats-table .pim,
.kapyla-stats-table .saves,
.kapyla-stats-table .ga,
.kapyla-stats-table .save-pct,
.kapyla-stats-table .gaa {
    text-align: center;
    width: 60px;
}

.kapyla-stats-table .points {
    font-weight: bold;
    background: #f0f7ff;
}

.kapyla-updated {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: right;
}

.kapyla-error {
    background: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .kapyla-stats-table {
        font-size: 12px;
    }
    
    .kapyla-stats-table th,
    .kapyla-stats-table td {
        padding: 6px 4px;
    }
}