/* Estilos específicos para la modal de matches de trios */


.equipos-header h4 {
    margin: 0;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.sub-enfrentamiento {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin: 10px 0;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.sub-enfrentamiento:hover {
    background: rgba(255, 255, 255, 0.1);
}

.jugador-trios h6 {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
}

.avatar-mini {
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.avatar-mini:hover {
    transform: scale(1.05);
}

.avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.avatar-mini img:hover {
    opacity: 0.9;
}

.equipo-compacto {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px;
    margin: 5px 0;
}

.pokemon-mini-container {
    transition: transform 0.2s ease;
}

.pokemon-mini-container:hover {
    transform: scale(1.05);
    z-index: 10;
    position: relative;
}

.pokemon-mini {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fila-pokemon {
    min-height: 50px; /* Asegurar espacio para nombres */
}

.shadow-pokemon {
    background: rgba(128, 0, 128, 0.3);
    border-color: #800080;
}

.shadow-icon {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #800080;
    color: white;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.codigoAmistadTemplo {
    background: rgba(0, 0, 0, 0.6);
    color: #ffd700;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8em !important;
    margin: 5px 0;
    display: inline-block;
}

/* Estilos para el botón de reportar resultado de trios */
.reportar_resultado_trios {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btnReportarResultadoTrios {
    background: linear-gradient(45deg, #28a745, #20c997);
    border: none;
    padding: 10px 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.btnReportarResultadoTrios:hover {
    background: linear-gradient(45deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btnReportarResultadoTrios i {
    margin-right: 5px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .sub-enfrentamiento {
        padding: 10px;
    }
    
    .avatar-mini {
        width: 50px !important;
        height: 50px !important;
    }
    
    .jugador-trios h6 {
        font-size: 0.8em;
    }
    
    .pokemon-mini {
        width: 28px !important;
        height: 28px !important;
    }
    
    .pokemon-mini-container span {
        font-size: 0.6em !important;
        max-width: 35px !important;
    }
    
    .equipos-header h4 {
        font-size: 1.1em;
    }
}

@media (max-width: 576px) {
    .trios-match-container {
        max-height: 80vh;
    }
    
    .sub-enfrentamiento {
        padding: 8px;
        margin: 8px 0;
    }
    
    .avatar-mini {
        width: 40px !important;
        height: 40px !important;
    }
    
    .pokemon-mini {
        width: 24px !important;
        height: 24px !important;
    }
    
    .pokemon-mini-container span {
        font-size: 0.55em !important;
        max-width: 30px !important;
    }
    
    .fila-pokemon {
        gap: 1px !important;
        min-height: 42px !important;
    }
}