﻿.tituloGTT {
    font-size: 1.5vw;
    font-weight: bold;
    padding: 1vh;
}

.descripcionGTT {
    font-size: 1vw;
    padding: 1vh;
}

.tabs {
    display: flex;
    padding-left: 1vh;
    padding-top: 1vh;
}

.tab {
    padding: 2vh 2vh;
    cursor: pointer;
    border: solid #CCC7A9;
    border-bottom: none;
    margin-right: 5px;
    border-top-left-radius: 1vh;
    border-top-right-radius: 1vh;
    font-size: 1.1vw;
}

    .tab:hover {
        background-color: #D8D3BE;
    }

    .tab.active {
        font-weight: bold;
    }

.tab-content-wrapper {
    border: 1px solid #ccc;
    border-top: none;
    padding: 15px;
    background-color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    margin-left: 1vh;
    margin-right: 1vh;
    border: solid #CCC7A9;
    padding: 1vh 2vh 1vh 2vh;
    border-radius: 0vh 1vh 1vh 1vh;
    min-height: 49vh;
}

.tabpos-content {
    display: block;
    margin-left: 0vh;
    margin-right: 1vh;
    border: solid #CCC7A9;
    padding: 1vh 1vh 1vh 1vh;
    border-radius: 1vh 1vh 1vh 1vh;
}

.HeaderEquipos {
}

.tituloEquipos {
    font-size: 1.5vw;
    font-weight: bold;
    padding-bottom: 1vh;
}

.ContenedorGTT {
    overflow-y: auto;
    max-height: 65vh;
}

.equipos-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.equipo-box {
    font-size: 1.2vw;
    font-weight: normal;
}

.nombreEquipoGTT {
    padding-bottom: 1vh;
}

.nombreJugadorGTT {
    font-size: 1.1vw;
}

.tagJugadorGTT {
    cursor: pointer;
    display: inline-block;
    color: #492dff;
}

    .tagJugadorGTT:hover {
        text-decoration: underline;
    }

.subtabs {
    display: flex;
    margin-bottom: 10px;
}

.subtab {
    margin-right: 1vw;
    padding: 1vh 1vw;
    cursor: pointer;
    border: solid #CCC7A9;
    border-radius: 0.3vw;
    font-size: 1vw;
}

    .subtab:hover {
        background-color: #D8D3BE;
    }

    .subtab.active {
        background: #D8D3BE;
        font-weight: bold;
    }

.subtabsPos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
}

.contenedor-liga {
    height: 100%;
}

.subtabPos {
    margin-right: 1vw;
    padding: 1vh 1vw;
    font-size: 1vw;
    font-weight: bold;
}

.equipo-box {
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
}

#fechas-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.7vw;
}

.partida {
    border: 1px solid #aaa;
    padding: 10px;
    text-align: center;
    background: #f9f9f9;
}

.fila-partida {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.jugadores {
    justify-items: center;
    width: 50%;
    padding: 5px;
    margin: 0 5px 0 5px;
    display: table;
    box-sizing:border-box;
    border: solid transparent;
    border-radius: 1vh;
}

.panelJugadores {
    display: table-cell;
    width: 80%;
}

.jugador, .jugador-b {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 25px;
}

.texto-jugador-b{
    padding-left:5px;
}

.jugador {
    justify-content: space-between;
    margin-left: 0.4vw;
}

    .jugador img {
        padding-right: 0.4vw;
        /*margin-right: 0.4vw;
        margin-left: 0.4vw;*/
    }

.jugador-b {
    /*flex-direction: row-reverse;*/
}

    .jugador-b img {
        /*
        margin-right: 0.4vw;
        margin-left: 0.4vw;*/
    }

.mapa {
    width: 30%;
    font-weight: bold;
}

.civ {
    width: 25px;
    height: 25px;
    object-fit: cover;
}

.resultado-text {
    font-size: 1vw;
    font-weight: bold;
    /*margin: 0 0 0 0.4vw;*/
    display: flex;
    align-items: center;
}

.resultado-label {
    font-weight: bold;
    align-self: center;
    display: table-cell;
    vertical-align: middle;
    position:relative;
}

.left {
    /*margin-left: auto;*/
}

.right {
    /*margin-left: auto;*/
    position:absolute;
    right:0;
    bottom:0;
}

.contenido-jugadores {
    display: table-cell;
    flex-direction: column;
    /*width: 80%;*/
}

.ganador {
    border: solid green;
    border-radius: 1vh;
}

.perdedor {
    border: solid red;
    border-radius: 1vh;
}

.panelDraft {
    text-align: center;
    width: 100%;    
}

.labelDraft {
    box-sizing: border-box;
    font-weight: bold;
    padding: 2% 2% 2% 5%;
    width: 50%;
    text-align: right;
}

.enlaceDraft {
    width: 50%;
    padding: 2% 0 2% 0;
    text-align: left;
}

.botonDraft {
    text-align: center;
    width: 50%;
    border: solid #888888;
    border-width: 0.2vh;
    border-radius: 0.3vw;
    box-sizing:border-box;    
    margin: 1vh 0 0 24%;
    padding:0.4vh 0 0.4vh 0;
}

.botonActivo {
    cursor: pointer;
}

.botonActivo:hover {
    background-color: #EEEEEE;
}

.contenedorHandbook {
    width: 95%;
    padding: 1% 2% 1% 2%;
    text-align: center;
    height: 60vh;
}

.visorHandbook {
    width: 100%;
    height: 100%;
}

.participantesList {
    width: 25%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}

.participante-box {
    font-size: 1vw;
    font-weight: normal;
    border: 1px solid #ccc;
    margin-bottom: 5px;
    padding: 5px;
    padding-left: 1vw;
    border: solid #CCC7A9;
    border-radius: 0.3vw;
    cursor: pointer;
}

.participante-box:hover {
    background-color: #D8D3BE;
}

.participante-box.active {
    background: #D8D3BE;
    font-weight: bold;
}

.participanteDetalle {
    width: 75%;
    box-sizing:border-box;
    padding:0vh 1vw 1vh 1vw;
    height:100%;
}

.bordeDetalleJugador {
    border: solid #CCC7A9;
    border-radius: 0.3vw;
    padding: 1vh 1vw 1vh 1vw;
    display: flex;
}

.panelParticipanteKOTD {
    display: flex;
    width: 100%;
    align-items: stretch;
}

.contenedorDetalleJugador {
    width:45%;
}

.nombreJugador {

}

.contenedorFotoJugador {
    width: 55%;
   
}

.bordeColorFoto {
    border: 10px solid;
    border-image-source: linear-gradient(45deg, #8b5a2b, #ffcc33, #8b5a2b); /* Degradado imitación oro */
    border-image-slice: 1;
    border-radius: 1vw;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 20px rgba(255, 204, 51, 0.2); /* Brillo sutil */
}

.fotoJugador{
    width:100%;
    display:block;
}

.nombreJugador {
    padding-top: 1vh;
    text-align: center;
    font-size: 1.8vw;
    font-weight: bold;
    font-family: Seagram;
}

.categoriaJugador {
    padding-top: 1vh;
    text-align: center;
    font-size: 1.5vw;
    font-family: Seagram;
}

.descripcionJugador {
    padding: 2vh 2vw 1vh 1vw;
    text-align: justify;
    font-size: 1.2vw;
    font-family: Seagram;
}

@font-face {
    font-family: Seagram;
    src: url("./Fonts/Seagramtfb.ttf");
}

.civisJugador {
    padding: 1vh 2vw 1vh 2vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1vw;
}

.contenedorImgCiv
{
    width:100%;
}

.imagenCiv {
    width: 100%;
    display: block;
}



.contenedorEstadisticas {
    width:100%;
    padding:1% 1% 1% 1%;
    box-sizing:border-box;
}

.tituloEstadisticas{
    font-weight: bold;
    font-size: 1.3vw;
}

.contenedorEstBase {
    padding: 1vh 2vw 1vh 0vw;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.estadisticaBase {
    display: flex;
    width: 100%;
    align-items: stretch;
    font-size: 1.1vw;
}

.labelEstadistica {
    padding: 0.5vw 0.5vh 0.5vw 1vh;
    width: 45%;
    font-weight: bold;
    border: solid #CCC7A9;
    border-width: 0.15vw 0.15vw 0.15vw 0.15vw;
}

.valorEstadistica {
    padding: 0.5vw 0.5vh 0.5vw 1vh;
    width: 55%;
    border: solid #CCC7A9;
    border-width: 0.15vw 0.15vw 0.15vw 0vw;
}

.contenedor-stats {
    padding-top: 1vw;
    width: 100%;
    box-sizing: border-box;
}

.contTablaEst {
    margin-top: 1vh;
    border: solid #CCC7A9 0.15vw;
    box-sizing: border-box;
}

.tablaEstadisticas {
    /*border: solid #CCC7A9 0.15vw;*/
    width: 100%;
    border-collapse: collapse;
    box-sizing: border-box;
    border-spacing: 0;
}

.headEstadisticas {
    border: solid #CCC7A9;
    box-sizing: border-box;
    border-width: 0.15vw;
}

.headerIcono {
    background-color: #CCC7A9;
    border: solid white;
    border-width: 0.15vw;
    box-sizing: border-box;
}

.headerEstadistica {
    background-color: #CCC7A9;
    padding: 0.5vw;
    cursor: pointer;
    font-size: 1vw;
    border: solid white;
    border-width: 0.15vw;
    box-sizing: border-box;
}

.headerEstadistica:hover {
    background-color: #BBB6A1;
}

.filaIcono{
    width:2vw;
}

.filaEstadisticas:not(:last-child) {
    border: solid #CCC7A9;
    border-width: 0vw 0vw 0.15vw 0vw;
    width: 100%;
}

.celdaEstadistica {
    text-align: center;
    font-size: 1vw;
    
}

celdaEstadistica:hover {
    background-color: #3d3d3d;
}

.icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

th.asc .icon {
    background-color: #000000; /* Color del triángulo */
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

th.desc .icon {
    background-color: #000000;
    clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
}

.modalOverlayDraft {
    display:flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.contenedorDraftBoton {
    background-color: #ffffff;
    width: 70%;
    padding: 2vw 2vw 1.5vw 2vw;
    border-radius: 1vw;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border: 1px solid #ddd;
}

.botonCierreDraft {
    position: absolute;
    top: 0.8vh;
    right: 0.8vw;
    font-size: 2vw;
    font-weight:bold;
    cursor: pointer;
    color: #333;
}

.panelPicksJugadores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1vw;
}

.contenedorHost {
    text-align: right;
    
}

.contenedorHost, .contenedorGuest {
    background-color: #EEEEEE;
    padding: 1vw;
    border-radius: 0.8vw;
}

.contenedorIconosPicsHost {
    display:grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4vw;
    direction:rtl;
}

.contenedorIconosBansHost {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4vw;
    direction: rtl;
}

.contenedorIconosPicsGuest {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.4vw;
}

.contenedorIconosBansGuest {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.4vw;
}

.card-item {
    position: relative;
   
    width: 100%; 
    text-align: center;
}

.pick, .ban {
    border: 0.5vw solid;
    border-radius: 0.3vw;
    box-sizing: border-box;
}

.card-item.pick {
    border-color: #4CAF50;
    background-color: #357A38;
    
}

/*.card-item.pick.opponent {
    border-image-source: linear-gradient( 135deg, #800080 25%, /* Morado hasta el 25% 
    #4CAF50 25% /* Verde desde el 25% en adelante 
);
/* Esto hace que el gradiente se estire por todo el borde *
    border-image-slice: 1;
}*/

.opponentPick {
    border-radius: 0.3vw;
    box-sizing: border-box;
    width: 100%;
    background: #800080; /* Color morado de fondo */
    position: relative;
    padding: 0.4vw; /* Este será el grosor del borde */
}

.opponentPick::before {
    border-radius: 0.3vw;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #4CAF50; /* Color verde */
    /* Cortamos el verde para que solo se vea el morado en la esquina */
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 70% 0);
}


/* Verde para picks */
.card-item.ban {
    border-color: #F44336;
    background-color: #8E2424;
}
/* Rojo para bans */

.card-item img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.iconoRandom {
    position:absolute;
    background-image: url(../images/Random.png);
    background-repeat:no-repeat;
    background-size:100% 100%;
    top:0;
    left:0;
    width:35%;
    height:35%;
}

.nombreCivDraft {
    position: absolute;
    padding:5% 0 5% 0;
    width: 100%;
    bottom: 0;
    left: 0;
    color: white;
    font-size:0.7cqw;
    background: rgba(0, 0, 0, 0.6);
}

.tituloHost {
    font-weight: bold;
    font-size: 1vw;
    padding-bottom: 1vh;
    color: #666666;
}

.nombreHost {
    font-weight: bold;
    font-size: 1vw;
    color:#00BCB2;
    padding-bottom: 1vh;
}

.nombreGuest {
    font-weight: bold;
    font-size: 1vw;
    color: #E7AE00;
    padding-bottom: 1vh;
}

.labelPicks {
    padding-bottom: 1vh;
    color: #666666;
}

.labelBans {
    padding: 2vh 0 1vh 0;
    color: #666666;
}

.panelAdminBans {
    margin-top: 2vh;
    width: 100%;
    text-align: center;
}

.containerAdminBans {
    width: 32%;
    margin-left: 34%;
    padding: 1vw;
    background-color: #EEEEEE;
    border-radius: 0.8vw;
    box-sizing: border-box;
    
}

.tituloSerie{
    margin-top:0.8vh;
    margin-bottom:0.8vh;
}

.resultadoSerie {
    margin-top: 1vh;
    margin-bottom: 2vh;
}

.wrapperAdminBans {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4vw;
}

.tituloAdmin {
    font-weight: bold;
    font-size: 1vw;
    color: #666666;
    text-align: center;
}

.FilaTablaJugadoresKOTD:hover {
    background-color: #D8D3BE;
}