.perfil-jugador-container {
    width: 100%;
    min-height: 350px;
    background: url(https://cdn.analisisfantasy.com/imagenes/cesped.webp) no-repeat center center;
    background-size: cover;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 12px;
    border: 1px solid #ccc;
    box-shadow: 0 0 10px #ccc;
    text-align: center;
}

.perfil-jugador {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.perfil-jugador .imagen-container {
    position: relative;
    display: inline-block;
    overflow: visible;
    background-color: transparent;
    border-radius: 0;
}

.perfil-jugador .imagen-jugador {
    display: block;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: #ccc;
    border: 5px solid white;
    object-fit: cover;
    box-shadow: 0 0 20px #333;
	opacity:1;
}

.perfil-jugador .escudo-equipo {
    position: absolute;
    bottom: -25px; /* Lo saca de la imagen del jugador */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    z-index: 10; /* Asegura que esté por encima */
	border-radius: 0;
    opacity: 1;
}

.perfil-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
	text-align: left;
    padding-left: 20px;
    border-left: 2px solid #fff;
    margin-left: 20px;
}

.perfil-info p {
    color: #fff;
    text-shadow: 1px 1px 5px #000;
    margin: 5px 0;
    font-size: 18px;
}

/* Línea separadora */
.perfil-jugador-container hr {
    width: 60%;
    border: none;
    height: 1px;
    background: #fff;
    margin: 15px auto;
}

/* Estilos del valor de mercado y subida */
.market-info {
    background-color: rgb(175 175 175 / 40%);
    border-radius: 5px;
    margin-top: 40px;
    width: 100%;
    max-width: 350px;
	padding: 5px;
}

.market-info p.valor {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 2px #000;
    margin: -10px 0 0 0;
}

.market-info p.cambio {
    font-size: .925rem;
    margin: -10px 0px 0px 0px;
    font-weight: bold;
    background: #fff;
    display: inline-block;
    padding: 2px 10px;
    border-radius: 3px;
}

.market-info p.texto {
    color: #fff;
    text-shadow: 1px 1px 2px #000;
    margin: 0;
}

.estado-jugador-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}

.estado-jugador-container p.mensaje_disponible {
	color:#093;
	font-size:1rem;
	font-weight: 500;
}
.estado-jugador-container p {
	margin:0;
}
.estado-jugador-container p.mensaje_disponible:before {
    display: inline-block;
    font-style: normal;
	color:#093;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f058";
}
.estado-jugador-container .estado {
	text-align:center;
}

.estado-jugador-container p.enunciado {
    font-size: .825rem;
    margin-bottom: -4px;
}

.estado-jugador-container p.mensaje_apercibido {
    color: #FFC107;
    font-size: 1rem;
    font-weight: 500;
}

.estado-jugador-container p.mensaje_apercibido:before {
    display: inline-block;
    font-style: normal;
	color:#FFC107;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f06a";
}

.estado-jugador-container p.mensaje_doubt {
    color: #ff9800;
    font-size: 1rem;
    font-weight: 500;
}

.estado-jugador-container p.mensaje_doubt:before {
    display: inline-block;
    font-style: normal;
	color:#ff9800;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f059";
}

.estado-jugador-container p.mensaje_sanctioned {
    color: #f44336;
    font-size: 1rem;
    font-weight: 500;
}

.estado-jugador-container p.mensaje_sanctioned:before {
    display: inline-block;
    font-style: normal;
	color:#f44336;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f111";
}

.estado-jugador-container p.mensaje_injured {
    color: #f44336;
    font-size: 1rem;
    font-weight: 500;
}

.estado-jugador-container p.mensaje_injured:before {
    display: inline-block;
    font-style: normal;
	color:#f44336;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f469";
}

.estado-jugador-container div.puntos_titular {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    text-align: center;
    margin-top: 10px;
}

.estado-jugador-container .mediaj, .estado-jugador-container .titularidadj, .estado-jugador-container .puntosj {
    font-size: 1.625rem;
    font-weight: bold;
}

.estado-jugador-container .titularidadj {
    display: block;
    margin-top: 5px;
    border: 2px solid;
    font-size: 1.625rem;
    padding: 2px 14px;
    line-height: 30px;
    font-weight: bold;
    text-align: center;
    border-radius: 5px;
    text-shadow: 0px 0px 3px black;
    background-color: #000;
}

.puntos-jornada-div {
    display: flex;
    gap: 5px;
    text-align: center;
    margin-top: 10px;
}

.puntos-jornada-div .pts-jornada {
    font-size: 1rem;
    min-width: 35px;
    min-height: 35px;
    line-height: 35px;
}

.forma_div {
    text-align: center;
    margin-top: 15px;
}

/* Contenedor principal de la tabla */
.tabla-puntos-jugador {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-radius: 10px;
    overflow: hidden;
    background: #f9f9f9;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-collapse: collapse;
}

/* Filas de la tabla */
.fila-jornada {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease-in-out;
}

/* Efecto hover en cada fila */
.fila-jornada:hover {
    background: #f1f1f1;
}

/* Columna de la jornada */
.columna-jornada {
    font-weight: bold;
    font-size: 14px;
    width: 15%;
    text-align: center;
    color: #555;
}

/* Columna del partido */
.columna-partido {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 30%;
}

/* Imágenes de los escudos */
.escudo-equipo {
    width: 22px;
    height: 22px;
    object-fit: cover;
}

/* Resultado del partido */
.resultado {
    font-weight: bold;
    font-size: 12px;
    color: #ff4b44;
}

/* Columna de puntos */
.columna-puntos {
    font-weight: bold;
    font-size: 1rem;
    color: #fff;
    width: 20%;
    text-align: center;
    padding: 2px 5px;
}

/* Colores según puntos */
.columna-puntos.puntos-altos {
    background: #5fe37c; /* Verde para puntos altos */
}

.columna-puntos.puntos-medios {
    background: #ffe772; /* Amarillo para puntos medios */
}

.columna-puntos.puntos-bajos {
    background: #ff6d6d; /* Rojo para puntos bajos */
}

.columna-puntos.puntos-ceros {
    background: #b6b6b6; /* Gris para jugadores no alineados */
}

.columna-puntos.sin-alinear {
    color: #5f5f5f;
    font-weight: 500;
}

.columna-puntos.sin-alinear:before {
    display: inline-block;
    font-style: normal;
	color:#5f5f5f;
    font-variant: normal;
    text-rendering: auto;
    padding-right: 6px;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f057";
}

/* Para dispositivos móviles */
@media (max-width: 400px) {
    .fila-jornada {
        flex-direction: column;
        align-items: center;
        padding: 8px;
    }

    .columna-jornada {
        width: 100%;
        text-align: center;
        font-size: 12px;
    }

    .columna-partido {
        width: 100%;
        justify-content: center;
		margin: 8px auto;
    }

    .columna-puntos {
        width: auto;
        padding: 4px 8px;
        font-size: 12px;
    }

    .escudo-equipo {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 535px) {
	.perfil-info {
    justify-content: center;
    text-align: center;
    padding-left: 0;
	padding-top:20px;
    border-left: none;
	border-top: 2px solid #fff;
    margin-left: 0;
	margin-top: 20px;
}
}
.jugadores-relacionados {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: wrap;
}

.jugador-relacionado {
    text-decoration: none;
    display: block;
    text-align: center;
    transition: transform 0.3s ease-in-out;
	width:24%;
}

.jugador-relacionado:hover {
    transform: scale(1.05);
	text-decoration:none;
}

.jugador-relacionado .jugador-contenedor {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: url(https://cdn.analisisfantasy.com/imagenes/cesped.webp) no-repeat center center;
}

.jugador-relacionado .imagen-jugador {
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #ccc;
    border: 5px solid white;
    object-fit: cover;
	margin: 0 auto;
    box-shadow: 0 0 20px #333;
}

.jugador-relacionado .nombre-jugador {
    font-size: .8rem;
    font-weight: bold;
    margin-top: 5px;
    margin-bottom: 0;
    color: #fff;
}

div.wp-block-column h2.h_relacionados {
    margin-top: 0 !important;
    margin-bottom: 0px !important;
    font-size: 1.05rem;
}

.jugadores-alternativos {
    display: flex;
    background: url(https://cdn.analisisfantasy.com/imagenes/cesped.webp);
    background-size: cover;
    border-radius: 10px;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 0 10px #ccc;
	padding: 10px;
}

.jugador-alternativo {
    text-decoration: none;
    display: block;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    width: 25%;
}

.jugador-contenedor-alt img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

a.jugador-alternativo:hover {
	text-decoration:none;
}

.probabilidad-alt {
    position: relative;
    width: 100%;
    max-width: 80px;
    border: 2px solid;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 20px;
    border-radius: 5px;
    margin: -7px auto 0px auto;
    text-shadow: 0px 0px 3px black;
    background-color: #000;
}