/* Estilos generales */
.wp-clubpro-teams-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Encabezado de la liga */
.wp-clubpro-league-header {
    display: flex;
    align-items: center;
    padding: 20px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-radius: 6px;
}

.wp-clubpro-league-logo {
    width: 60px;
    height: 60px;
    margin-right: 15px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wp-clubpro-league-logo img {
    max-width: 50px;
    max-height: 50px;
}

.wp-clubpro-league-info h2 {
    margin: 0 0 5px 0;
    font-size: 22px;
    font-weight: 600;
}

.wp-clubpro-league-country {
    font-size: 14px;
    opacity: 0.9;
}

/* Grid de equipos */
.wp-clubpro-teams-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* Tarjeta de equipo */
.wp-clubpro-team-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.wp-clubpro-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.wp-clubpro-team-logo {
    width: 100px;
    height: 100px;
    margin: 20px auto 10px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.wp-clubpro-team-logo img {
    max-width: 80px;
    max-height: 80px;
}

.wp-clubpro-team-info {
    padding: 15px;
}

.wp-clubpro-team-name {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.wp-clubpro-team-link {
    display: inline-block;
    padding: 8px 15px;
    background: #1e3c72;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.wp-clubpro-team-link:hover {
    background: #2a5298;
}

/* Loading spinner */
.wp-clubpro-loading {
    text-align: center;
    padding: 20px;
    font-size: 16px;
    color: #555;
}

/* Mensajes de error */
.wp-clubpro-error {
    padding: 15px;
    background: #ffebee;
    color: #c62828;
    border-radius: 4px;
    margin: 10px 0;
    border-left: 4px solid #c62828;
}

/* Responsive */
@media (max-width: 900px) {
    .wp-clubpro-teams-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .wp-clubpro-teams-grid {
        grid-template-columns: 1fr;
    }
    
    .wp-clubpro-league-header {
        flex-direction: column;
        text-align: center;
    }
    
    .wp-clubpro-league-logo {
        margin-right: 0;
        margin-bottom: 15px;
    }
}