@charset "utf-8";
/* CSS Document */


.fondo_equipo_jugador{
    position:absolute;
    width:100%;
    height:100%; 
    background-repeat:no-repeat; 
    background-position:center;
    /*background-color: rgba(253, 253, 253, 0.91) !important; */
    background-size:100%; 
    z-index:0;    
    opacity: 0.3;  
    filter: alpha(opacity=10);
    filter: blur(5px);
    -webkit-filter: blur(5px); 
    -moz-filter: blur(5px);      
    -o-filter: blur(5px); 
    -ms-filter: blur(5px); 
 }


.cuadro{
	padding: 1px;
}


.jugadorcuadro{
    margin: 0px;
    padding: 10px 0px 7px 0px;
    line-height: 12px;
    height: 55px;
	
}

.escudo_ficha_jugador{
        width: 40px;
    margin-top: -10px;
    margin-right: 5px;
    position: absolute;
    top: 15px;
    left: 10px;
}

.azul1{
	background-color: #c8dff1;
	color: #000;
}

.azul2{
	background-color: #75b5e8;
	color: #000;
}

.azul3{
	background-color: #2196f3;
	color:#fff;
}

.azul4{
	background-color: #115b96;
	color:#fff;	
}


.verde1{
	background-color: #d3f1c8;
	color: #000;
}

.verde2{
	background-color: #90ea8e;
	color: #000;
}

.verde3{
	background-color: #21923e;
	color:#fff;
}

.verde4{
	color:#fff;
	background-color: #065d1c;
}



.naranja1{
	background-color: #f5d09a;
	color: #000;
}

 .naranja2{
	background-color: #e2a13e;
	color: #000;

}

.naranja3{
	background-color: #ff9900;
		color:#fff;

}

.naranja4{
	background-color: #9c620b;
		color:#fff;

}



 .rojo1{
	background-color: #f5bdbd;
	color: #000;

}

 .rojo2{
	background-color: #fd7a7a;
}

.rojo3{
	background-color: #ff3232;
		color:#fff;

}

.rojo4{
	background-color: #b90c0c;
		color:#fff;

}

.boton_info_ficha{
	margin-right: 3px;
    position: absolute;
    right: 0px;
    bottom: 50px;
    font-size: 20px;
    background-color: #66b870;
    padding: 5px 15px;
    border-radius: 60px;
    cursor: pointer;
}

.position_GK{
	background-color: #7bff82;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.position_DC{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_DR{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.position_DL{
	background-color: #0088ff;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 10%;
    left: 15%;
    transform: translate(-50%,-50%);
}

.position_DM{
	background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 25%;
    left: 50%;
    transform: translate(-50%,-50%);
}


.position_MC{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_AM{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 55%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_ML{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left:15%;
    transform: translate(-50%,-50%);
}

.position_MR{
    background-color: #ff7600;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 40%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.position_ST{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 75%;
    left: 50%;
    transform: translate(-50%,-50%);
}

.position_LW{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 70%;
    left: 15%;
    transform: translate(-50%,-50%);
}

.position_RW{
	background-color: #ff0000;
    width: 13px;
    height: 13px;
    border-radius: 50px;
    position: absolute;
    bottom: 70%;
    left: 85%;
    transform: translate(-50%,-50%);
}

.fondo_stats{
    border-radius: 10px;
    margin-bottom: 5px;
    background-image: linear-gradient(to right, rgba(255,0,0,0), rgb(124 255 158));
}

.boton_info_jugador{
    width: 35px;
    height: 35px;
    margin-top: -10px;
    margin-right: 5px;
    position: absolute;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #fff;
    border-radius: 20px;
    box-shadow: 0px 8px 3px 3px rgba(0, 0, 0, 0.3);
}

.boton_info_jugador:hover{
	scale: 1.2;
}




.select2-container--default .select2-selection--single {
    height: auto !important; /* Usar !important */
}

.select2-container--default .select2-results__options {
    max-height: 300px !important;
    overflow-y: auto !important;
}

/* Estilos para el contenedor de Select2 */
.select2-container--default .select2-selection--single {
  height: 42px; /* Aumentamos un poco más la altura */
  line-height: 40px; /* Ajustamos el line-height */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  padding: 0 10px;
  margin-bottom: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  transition: border-color 0.3s ease;
  padding-left: 12px; /* Añadimos padding izquierdo para el logo */
}

.select2-container--default .select2-selection--single:hover {
  border-color: #aaa;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 40px; /* Asegúrate de que coincida */
  padding-left: 0; /* Removemos el padding izquierdo del rendered, ya está en el contenedor */
  color: #333;
  display: flex; /* Usamos flex para alinear el logo y el texto */
  align-items: center; /* Centramos verticalmente */
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 40px; /* Ajustamos la altura de la flecha */
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #888 transparent transparent transparent;
  border-width: 6px 6px 0 6px;
  margin-left: 2px;
}

.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent transparent #888 transparent;
  border-width: 0 6px 6px 6px;
}

/* Estilos para las opciones y la selección del dropdown */
.fantasy-option-container,
.fantasy-selection-container {
  display: flex;
  align-items: center;
}

.fantasy-option-container {
  justify-content: flex-start;
  width: 100%;
}

.select2-results__option--highlighted.select2-results__option--selectable .fantasy-option-container {
  background-color: #0a5f00;
}

.fantasy-logo {
  width: 24px;
  height: 24px;
  margin-right: 10px;
  object-fit: contain;
}

/* Logo más pequeño en la selección */
.select2-selection__rendered .fantasy-logo {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.fantasy-name {
  flex-grow: 1;
  font-weight: normal;
  font-size: 16px;
}

/* Ocultar el icono de pin en la selección principal (opcional) */
.select2-selection__rendered .fantasy-pin-icon {
  display: none;
}

.cuadro_ficha{
  margin: 0px;
    padding: 0px 0px 6px 0px;
    line-height: 16px;
    border-right: 1px solid #ccc;
    height:40px;
}


/* ===== PLAYER STATUS BAR ===== */

.player-status-bar{
    width:100%;
    max-width: 600px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:8px 12px;
    margin:0 0 10px 0;
    border-radius:10px;
    font-size:13px;
    font-weight:700;
    box-shadow:0 4px 10px rgba(0,0,0,.08);
    margin: 0 auto 10px auto;
}

/* izquierda */
.player-status-left{
    display:flex;
    align-items:center;
    gap:8px;
}

/* punto indicador */
.player-status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    background:currentColor;
    box-shadow:0 0 0 4px rgba(255,255,255,.35);
}

/* texto principal */
.player-status-title{
    text-transform:uppercase;
    letter-spacing:.3px;
}

/* info secundaria */
.player-status-right{
    font-weight:600;
    font-size:12px;
    opacity:.9;
    text-align:right;
}

/* ===== ESTADOS ===== */

/* OK */
.player-status-ok{
    color:#0f5132;
    background:linear-gradient(90deg,#bff1d7,#e9fff6);
}

/* DUDA / LEVE */
.player-status-warn{
    color:#664d03;
    background:linear-gradient(90deg,#ffe8a1,#fff6da);
}

/* BAJA */
.player-status-bad{
    color:#842029;
    background:linear-gradient(90deg,#f1b7bd,#ffe6e9);
}


/* botones modales*/

.jugador-actions-horizontal{
    top:10px;
    right:5px;
    display:flex;
    flex-direction:row;
    gap:6px;
    z-index:20;
}

/* tamaño base (mobile/tablet) */
.btn-jugador-info{
    display:flex;
    align-items:center;
    gap:4px;
    padding:4px 6px;
    background:#fff;
    border-radius:18px;
    box-shadow:0 2px 6px rgba(0,0,0,.15);
    font-size:14px;
    font-weight:700;
    color:#222;
    text-decoration:none !important;
    transition:all .2s ease;
    margin-bottom: 10px;
    cursor:pointer;
}

.btn-jugador-info img{
    width:16px;
    height:16px;
    object-fit:contain;
}

.btn-jugador-info:hover{
    background:#00c853;
    color:#fff !important;
    transform:translateY(-2px);
}

/* 🔥 DESKTOP GRANDE */
@media (min-width:992px){

    .jugador-actions-horizontal{
        gap:10px;
        top:12px;
    }

    .btn-jugador-info{
        padding:8px 16px;
        font-size:14px;
        border-radius:24px;
    }

    .btn-jugador-info img{
        width:20px;
        height:20px;
    }

}

/*proximos encuentros*/

/* =========================
   PRÓXIMOS PARTIDOS (Cards)
   Optimizado + EXTRA PRO
   Bootstrap 3 friendly
   ========================= */

.proximos-partidos .match-list{
  margin-top: 12px;
}

/* Card base */
.match-card{
  display: flex;
  align-items: center;
  justify-content: space-between;

  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;

  padding: 12px 10px;
  margin-bottom: 8px;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  -webkit-tap-highlight-color: transparent;
}

/* Hover (desktop) */
.match-card:hover{
  background: #fafafa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
  cursor: pointer;
}

/* =========================
   LAYOUT EXTRA PRO
   Más espacio al centro
   ========================= */
.match-card .team{ width: 24%; text-align: center; line-height: 1.15; }
.match-card .match-center{ width: 52%; text-align: center; }

/* Equipos: escudo + nombre */
.match-card .team img{
  height: 42px;
  width: auto;
  display: inline-block;
  margin: 0 0 4px 0;
}

.match-card .team span{
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #222;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  padding: 0 4px;
}

/* Centro */
.match-card .match-center{
  min-width: 0; /* clave para que el texto pueda hacer wrap sin “romper” flex */
}

/* Chip: logo + texto en la misma línea (y permite 2 líneas) */
.match-card .jornada-line{
  width: 100%;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  background: rgba(0,0,0,.03);
  border-radius: 20px;
  padding: 6px 10px;

  margin-bottom: 4px;
  min-width: 0; /* clave para ellipsis/clamp en flex */
}

/* Logo competición (no roba ancho) */
.match-card .comp-logo{
  height: 18px;
  width: auto;
  flex: 0 0 auto;
}

/* Nombre competición/jornada: 2 líneas, aprovecha hueco */
.match-card .jornada{
  font-size: 15px;
  font-weight: 800;
  color: #111;

  min-width: 0;
  white-space: normal !important;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;

  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.05;
}

/* Fecha/hora */
.match-card .fecha{
  font-size: 13px;
  color: #444;
  line-height: 1.2;
}

.match-card .fecha strong{
  font-weight: 800;
  color: #222;
}

.match-card .fecha .sep{
  opacity: .55;
  padding: 0 6px;
}

/* Detalle PRO: resalta si el equipo actual juega en casa/fuera */
.match-card.is-home{
  border-left: 4px solid rgba(0,160,80,.55);
  padding-left: 8px;
}

.match-card.is-away{
  border-left: 4px solid rgba(255,90,0,.55);
  padding-left: 8px;
}

/* =========================
   Responsive
   ========================= */
@media (max-width: 768px){

  .match-card{
    padding: 10px 8px;
    border-radius: 9px;
  }

  /* En móvil damos un poco más a los laterales para que el nombre no se coma */
  .match-card .team{ width: 28%; }
  .match-card .match-center{ width: 44%; }

  .match-card .team img{
    height: 34px;
    margin-bottom: 3px;
  }

  .match-card .team span{
    font-size: 11px;
    padding: 0 2px;
  }

  .match-card .comp-logo{ height: 17px; }

  .match-card .jornada{
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .match-card .jornada-line{
    padding: 5px 8px;
    gap: 5px;
  }

  .match-card .fecha{
    font-size: 12px;
  }

  /* En móvil evitamos saltos en hover */
  .match-card:hover{
    transform: none;
    box-shadow: none;
  }
}

/* Muy pequeño (320-360px) */
@media (max-width: 360px){

  .match-card .team{ width: 29%; }
  .match-card .match-center{ width: 42%; }

  .match-card .jornada-line{
    padding: 4px 7px;
    gap: 5px;
  }

  .match-card .jornada{
    font-size: 12.5px;
  }
}