.serie-a-table-wrapper {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin: 30px 0;
    overflow: hidden;
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.serie-a-table-wrapper {
    overflow-x: auto;
    overflow-scrolling: touch;
}

.serie-a-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 15px;
}

.serie-a-table thead tr {
    background-color: #003070;
    color: #ffffff;
    text-align: left;
}

.serie-a-table th {
    padding: 15px 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
    white-space: nowrap;
    text-align: center;
}

.serie-a-table tbody tr {
    border-bottom: 1px solid #eeeeee;
    transition: background-color 0.2s ease;
}

.serie-a-table tbody tr:last-of-type {
    border-bottom: 3px solid #003070;
}

.serie-a-table tbody tr:hover {
    background-color: #f3f8ff;
    cursor: default;
}

.serie-a-table td {
    padding: 12px 20px;
    color: #333333;
}

.serie-a-table .col-pos {
    font-weight: 700;
    color: #888888;
    text-align: center;
    width: 50px;
}
.serie-a-table tbody tr:nth-child(1) .col-pos,
.serie-a-table tbody tr:nth-child(2) .col-pos,
.serie-a-table tbody tr:nth-child(3) .col-pos {
    color: #003070;
    font-size: 1.1em;
}

.serie-a-table .col-team {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #222;
}

.serie-a-table .table-crest {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.serie-a-table .col-points {
    font-weight: 800;
    color: #003070;
    font-size: 1.1em;
    text-align: center;
}

.serie-a-table td:not(.col-team) {
    text-align: center; ]
}

.api-credit {
    text-align: right;
    font-size: 11px;
    color: #aaaaaa;
    padding: 10px 15px;
    margin: 0;
    background: #fdfdfd;
}

.team-profile-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.team-profile-logo {
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 50%;
    border: 1px solid #eee;
    padding: 20px;
}

.team-profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.info-label {
    font-weight: 600;
    color: #555;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-value {
    font-weight: 700;
    color: #003070;
    text-align: right;
}

@media (max-width: 600px) {
    .team-profile-card {
        flex-direction: column;
        text-align: center;
    }
    .info-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    .info-value {
        text-align: center;
    }
}