/* Afegir a la PRIMERA línia de tot del teu CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&amp;display=swap');

.tarjeta-clasificacion {
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.tarjeta-liga {
    min-height: 220px;
    box-sizing: border-box;
}

.tarjeta-liga h2 {
    min-height: 2.4em;
}

/* --- Estils per al Dashboard de la Lliga 
.liga-dashboard-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: #1a2533;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
*/

.liga-dashboard-wrapper {
    font-family: 'Inter', sans-serif;
    color: #1a2533;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.liga-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #111827;
}

.liga-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 40px;
}

.liga-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.liga-card {
    background-color: #f0f4f8;
    padding: 24px;
    border-radius: 4px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.liga-card h3 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 0;
    margin-bottom: 20px;
    color: #1a2533;
    text-transform: uppercase;
}

.liga-card p {
    margin: 0 0 12px 0;
    font-size: 14px;
    line-height: 1.4;
    color: #374151;
}

.liga-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 900px) {
    .liga-grid {
        grid-template-columns: 1fr;
    }
}

/* Estils de la capçalera i el selector */
.liga-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.liga-selector-container {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f4f8;
    padding: 8px 16px;
    border-radius: 6px;
}

.liga-select-box {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    outline: none;
    cursor: pointer;
}

.liga-select-box:focus {
    border-color: #2563eb;
}